avatarFarhan Tanvir

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

3901

Abstract

will provide you with profiler tools. It has more than 4.5k stars on GitHub.</p><div id="5850" class="link-block"> <a href="https://github.com/joerick/pyinstrument"> <div> <div> <h2>GitHub - joerick/pyinstrument: 🚴 Call stack profiler for Python. Shows you why your code is slow!</h2> <div><h3>Documentation Pyinstrument is a Python profiler. A profiler is a tool to help you optimize your code - make it faster…</h3></div> <div><p>github.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*qrbuWOZsTIHO-LB2)"></div> </div> </div> </a> </div><h1 id="8312">4. cryptography</h1><figure id="97be"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*AdrJoY0jLg3c1KOCqCo2Mw.png"><figcaption></figcaption></figure><p id="dcd1">This library provides cryptographic recipes and primitives. It aims to be your “cryptographic standard library”. It includes both high-level recipes and low-level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions. It has more than 5k stars on GitHub.</p><div id="4298" class="link-block"> <a href="https://github.com/pyca/cryptography"> <div> <div> <h2>GitHub - pyca/cryptography: cryptography is a package designed to expose cryptographic primitives…</h2> <div><h3>cryptography is a package which provides cryptographic recipes and primitives to Python developers. Our goal is for it…</h3></div> <div><p>github.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*pm-Nywd6fZGsGVzE)"></div> </div> </div> </a> </div><h1 id="6316">5. tokenizers</h1><figure id="2a1a"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*jZRMuhlEdnk2HwUzqfIjcw.png"><figcaption></figcaption></figure><p id="ced0">This library provides an implementation of today’s most used tokenizers, with a focus on performance and versatility. It includes lots of features like training new vocabularies and tokenizing, using today’s most used tokenizers, taking less than 20 seconds to tokenize a GB of text on a server’s CPU, normalization comes with alignments tracking, and many more. It has more than 6k stars on GitHub.</p><div id="b957" class="link-block"> <a href="https://github.com/huggingface/tokenizers"> <div> <div> <h2>GitHub — huggingface/tokenizers: 💥 Fast State-of-the-Art Tokenizers optimized for Research and…</h2> <div><h3>Provides an implementation of today’s most used tokenizers, with a focus on performance and versatility. Train new…</h3></div> <div><p>github.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*4v_E0IOAXScaTQcB)"></div> </div> </div> </a> </div><h1 id="ebde">6. m2cgen</h1><figure id="0686"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*NKbPL8VYjJofEVRqi89OIw.png"><figcaption></figcaption></figure><p id="bed6">If you want to transform ML models into native code then this is a good resource for you.m2cgen (Model 2 Code Generator) — is a lightweight library that provides an easy way to transpile trained statistical models into a native code (Python, C, Java, Go, JavaScript, Visual Basic, C#, PowerShell, R, PHP, Dart, Haskell, Ruby, F#, Rust, Elixir). It has more than 2k stars on GitHub.</p><div id="f1b2" class="link-block"> <a href="https://githu

Options

b.com/BayesWitnesses/m2cgen"> <div> <div> <h2>GitHub - BayesWitnesses/m2cgen: Transform ML models into a native code (Java, C, Python, Go…</h2> <div><h3>Transform ML models into a native code (Java, C, Python, Go, JavaScript, Visual Basic, C#, R, PowerShell, PHP, Dart…</h3></div> <div><p>github.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*p1Bh5Y6aUUfwtEmz)"></div> </div> </div> </a> </div><h1 id="a3a1">7. Coconut</h1><figure id="28d8"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*uvbN29nRIOIDt2dWmyA_5w.png"><figcaption></figcaption></figure><p id="d395">If you want to add functional programming on top of python then this is a good resource for you. This is a functional programming language that compiles to Python. It aims to enhance the repertoire of Python programmers to include the tools of modern functional programming, in such a way that those tools are easy to use and immensely powerful. This library has more than 3.5k stars on GitHub.</p><div id="86df" class="link-block"> <a href="https://github.com/evhub/coconut"> <div> <div> <h2>GitHub — evhub/coconut: Simple, elegant, Pythonic functional programming.</h2> <div><h3>Coconut ( coconut-lang.org) is a variant of Python that adds on top of Python syntax new features for simple, elegant…</h3></div> <div><p>github.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*dgeyet6A5aqV5DAP)"></div> </div> </div> </a> </div><h1 id="39e8">Where are some other awesome resources?</h1><p id="20e4">There are always new things to learn. If you want to learn more about awesome resources on Python please check out the below link.</p><div id="7220" class="link-block"> <a href="https://readmedium.com/7-best-python-tools-to-make-your-life-easier-6fc79c1a65e7"> <div> <div> <h2>7 Best Python Tools To Make Your Life Easier</h2> <div><h3>Power up your Python development</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*gjN5Bf6Twfw8QY-T)"></div> </div> </div> </a> </div><p id="8998">That’s all for today. I believe these libraries will help you a lot in your development journey.</p><p id="c366">If you know of any other beautiful Python GitHub repositories, please share them in the comments. Until we meet again. Cheers!</p><div id="c1bb"><pre>Want <span class="hljs-keyword">to</span> <span class="hljs-keyword">Connect</span>?<span class="hljs-keyword">If</span> you want <span class="hljs-keyword">to</span>,you can <span class="hljs-keyword">connect</span> <span class="hljs-keyword">with</span> me <span class="hljs-keyword">on</span> Twitter</pre></div><p id="fd29"><i>More content at <a href="https://plainenglish.io/"><b>PlainEnglish.io</b></a>. Sign up for our <a href="http://newsletter.plainenglish.io/"><b>free weekly newsletter</b></a>. Follow us on <a href="https://twitter.com/inPlainEngHQ"><b>Twitter</b></a></i>, <a href="https://www.linkedin.com/company/inplainenglish/"><b><i>LinkedIn</i></b></a><b><i>, <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw">YouTube</a>, and</i></b><i> <a href="https://discord.gg/GtDtUAvyhW"><b>Discord</b></a><b>.</b> Interested in Growth Hacking? Check out <a href="https://circuit.ooo/"><b>Circuit</b></a><b>.</b></i></p></article></body>

7 Useful Python Libraries You Should Use in Your Next Project

Power up your Python development

Photo by Riku Lu on Unsplash

There is a proverb “You don’t have to reinvent the wheel”. Libraries are the best example of that. It helps you to write complex and time-consuming functionality in an easy way. According to me, a good project uses some of the best libraries available

I do not think Python needs any introduction. It is one of the most used programming languages for almost every purpose. Here I have compiled 7 useful Python libraries that will help you in your development journey.

1. tqdm

This is one of the most-starred python libraries with more than 23k stars on GitHub. Showing a progress bar while loading data is one of the common ways to make a good user experience. This library will provide a fast, extensible progress bar for python and CLI. In addition to its low overhead, this library uses smart algorithms to predict the remaining time and to skip unnecessary iteration displays, which allows for a negligible overhead in most cases.

2. Amazing-QR

As the name suggests if you want to create a beautiful QR code then this is a great resource for you. This library will help you to generate different types of QR codes like common QR-code, artistic QR-code (black & white or colorized), animated QR-code (black & white or colorized), etc. This library has more than 9k stars on GitHub.

3. PyInstrument

If you want to know why your code is slow and where it is taking time the tool you needs is a profiler. A profiler is a tool to help you optimize your code and make it faster. As you have guessed this library will provide you with profiler tools. It has more than 4.5k stars on GitHub.

4. cryptography

This library provides cryptographic recipes and primitives. It aims to be your “cryptographic standard library”. It includes both high-level recipes and low-level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions. It has more than 5k stars on GitHub.

5. tokenizers

This library provides an implementation of today’s most used tokenizers, with a focus on performance and versatility. It includes lots of features like training new vocabularies and tokenizing, using today’s most used tokenizers, taking less than 20 seconds to tokenize a GB of text on a server’s CPU, normalization comes with alignments tracking, and many more. It has more than 6k stars on GitHub.

6. m2cgen

If you want to transform ML models into native code then this is a good resource for you.m2cgen (Model 2 Code Generator) — is a lightweight library that provides an easy way to transpile trained statistical models into a native code (Python, C, Java, Go, JavaScript, Visual Basic, C#, PowerShell, R, PHP, Dart, Haskell, Ruby, F#, Rust, Elixir). It has more than 2k stars on GitHub.

7. Coconut

If you want to add functional programming on top of python then this is a good resource for you. This is a functional programming language that compiles to Python. It aims to enhance the repertoire of Python programmers to include the tools of modern functional programming, in such a way that those tools are easy to use and immensely powerful. This library has more than 3.5k stars on GitHub.

Where are some other awesome resources?

There are always new things to learn. If you want to learn more about awesome resources on Python please check out the below link.

That’s all for today. I believe these libraries will help you a lot in your development journey.

If you know of any other beautiful Python GitHub repositories, please share them in the comments. Until we meet again. Cheers!

Want to Connect?If you want to,you can connect with me on Twitter

More content at PlainEnglish.io. Sign up for our free weekly newsletter. Follow us on Twitter, LinkedIn, YouTube, and Discord. Interested in Growth Hacking? Check out Circuit.

Python
Machine Learning
Data Science
Software Engineering
Programming
Recommended from ReadMedium