Member-only story
Supercharge your Python projects with these hidden gems!
14 Hidden Gem Python Libraries You Can’t Afford to Miss! 🚀
Discover 14 underrated Python libraries that can save you time and boost productivity.
While exploring Python libraries for my projects, I came across some hidden gems that don’t seem to get much attention. These libraries are incredibly useful, yet underrated.
In this guide, I’ll be revealing 14 underrated Python libraries that you should definitely know about!
I’ve already covered python libraries that you should know about. Check them out!
1. PyFilesystem – Fil System Abstraction
fs library provides a virtual filesystem abstraction layer to work with local, cloud, and in-memory filesystems using the same API.
Installation
pip install fsExample
from fs.memoryfs import MemoryFS
fs = MemoryFS()
fs.writetext('hello.txt', 'Hello, PyFilesystem!')
print(fs.readtext('hello.txt')) # Output: Hello, PyFilesystem!2. PyShorteners — URL Shortening
Pyshorteners is an amazing hidden gem, that help to quick and easy url shortening. It support multiple services like TinyURL, Bitly, and others.
Installation
pip install pyshortenersExample
A simple and quick example to shortening url by using TinyURL :
import pyshorteners
s = pyshorteners.Shortener()
print(s.tinyurl.short("https://www.python.org"))A simple and quick example to shortening url by using Bitly :