TL;DR
In this article, I will present 11 libraries that I had fun playing with and thought I would share them with you.
1. Taipy
Taipy is an open-source library designed for easy development for both front-end (GUI) and your ML/Data pipeline(s).
No other knowledge is required (no CSS, no JS, no nothing!). It's a simple Python app builder.
Create the application of your dreams thanks to:
- complete customization & interactivity
- multipage & multi-user
- pipeline graphical editor
- ... and so much more.
You can even use all the following libraries with Taipy and make it even more fun.
Your imagination is the limit!
We're almost at 1000 stars and couldn't do this without you🙏
2.Asciimatics
Asciimatics is a library that allows you to create full-screen text UIs. This library was crafted from nostalgia for the 80s.
Here are some of their main functions:
- Coloured/styled text
- Cursor positioning
- Keyboard input (without blocking or echoing)
3.Arcade
How can fun even make sense without any games? As the library name suggests, it allows to create 2D video games. Yes, that does seem hard, but Arcade makes it easy. So pip install arcade
and get gaming or draw inspiration with some existing games!
4.Rich
The Rich library is here to put some color in your life! Rich writes rich text (color + style) in your terminals, so they can finally reflect who you are.
Rich includes:
- Different styles
- Markdown
- Progress bars
- Asian language support
- ... and more!
5.PyEphem
PyEphem is a great tool to get lost in the sky. This library allows for astronomy calculations; here are some interesting use cases:
- Find where a planet is in the sky
- Determine the dates of equinoxes and solstices
- Compute the dates of the Moon phases
- ... and many more!
This library will definitely get in touch with your sense of wonder.
6.tqdm
Just the name of this library is already interesting. Tqdm means two things:
- is the abbreviation for “I love you so much” in Spanish (te quiero demasiado)
- derives from an Arabic word, ‘taqaddum (تقدّم)’ meaning progress, and that’s actually a good introduction to what this library does.
Tqdm is a wrapper to any loop that will track the advancement with a progress bar. You can customize it, making waiting for your task completion less boring!
7.Pygame
Pygame makes writing video games easy. This library will give you access to several multimedia elements like:
- Graphics
- Sound
- Input device
Now, get your creative juices going and create your own 2D interactive game or explore some of the available games.
8.turtle
This library is different because it is part of the Python language and so pip install is not needed. Turtle was created for educational purposes, helping new programmers to code in Python through design graphics on a canvas. A fun way to get into Python or have a little creative fun.
9.MoviePy
MoviePy, is a convenient tool to edit videos in Python. The functionalities include:
- Cutting
- Concatenating
- Filtering
- And transforming.
You can read a lot of different formats, including GIFs.
10.Emoji
Use emojis in your Python programs with this library. It simply converts unicode emojis to emoji names with the emojize() function. Other functions include joining emojis, counting them, etc…
11.Pyjokes
With pyjokes you are one pip install away from on-demand laughs. This library will give you one-liner jokes; you can even choose the language and the category.
Have fun!
Hope you enjoyed this article!
I’m a rookie writer and would welcome any suggestions for improvement!
Feel free to reach out if you have any questions.