😂11 Fun Python libraries to make your day better☀️
Tags: python, opensource, programming, github
Published: 2023-11-20 12:33:01

## **TL;DR**

In this article, I will present 11 libraries that I had fun playing with and thought I would share them with you.


![Introduction GIF](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e5jwsqkoegdsvksunxjk.gif)


<hr/>

## 1. [Taipy](https://github.com/Avaiga/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!


![Taipy description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g40itmwejvzgrak3vfyn.gif)

<hr/>

![QueenB stars](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bvt5qn1yadra3epnb07v.gif)

{% cta https://github.com/Avaiga/taipy %} Star ⭐ the Taipy repository {% endcta %}

We're almost at 1000 stars and couldn't do this without you🙏

<hr/>

## 2.[Asciimatics](https://github.com/peterbrittain/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)


![Asciimatics description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lnvqj0yl0k45tdqxovzv.gif)

<hr/>

## 3.[Arcade](https://github.com/pythonarcade/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](https://api.arcade.academy/en/latest/sample_games.html)!

![Arcade description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n0q7asll2jijtbs5opfh.gif)

<hr/>

## 4.[Rich](https://github.com/Textualize/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!


![Rich description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xo7ga376dr248zwvk91z.png)

<hr/>

## 5.[PyEphem](https://github.com/brandon-rhodes/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.


![PyEphem description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rxtv1assuqhip7qy2i4i.png)

<hr/>

## 6.[tqdm](https://github.com/tqdm/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!


![tqdm description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zexvoycl39mvfl0sl9rh.gif)

<hr/>

## 7.[Pygame](https://github.com/pygame/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](https://www.pygame.org/tags/all).

![Pygame description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ylzvyo099rgqbj05zxj3.png)

<hr/>

## 8.[turtle](https://docs.python.org/3/library/turtle.html)

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.


![turtle description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/afsr71qceis4pjhhbp7z.png)

<hr/>

## 9.[MoviePy](https://github.com/Zulko/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.


![MoviePy description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nqehjt9nxea75dkjci96.png)
<hr/>

## 10.[Emoji](https://github.com/carpedm20/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…

![Emoji description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r8yz3fmhxpcw49bea7m0.png)
<hr/>

## 11.[Pyjokes](https://github.com/pyjokes/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!


![Pyjokes description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dbmwu55pqu1j94r56sut.png)

<hr/>

Hope you enjoyed this article!

I’m a rookie writer and would welcome any suggestions for improvement!


![Rookie gif](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q7qr8qikry1a2rf6x9dh.gif)

Feel free to reach out if you have any questions.