DEV Community

Cover image for 😂11 Fun Python libraries to make your day better☀️
Marine for Taipy

Posted on • Updated on

😂11 Fun Python libraries to make your day better☀️

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


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!).
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


QueenB stars

Star ⭐ the Taipy repository

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)

Asciimatics description


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!

Arcade description


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!

Rich description


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.

PyEphem description


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!

tqdm description


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.

Pygame description


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.

turtle description


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.

MoviePy description


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…

Emoji description


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!

Pyjokes description


Hope you enjoyed this article!

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

Rookie gif

Feel free to reach out if you have any questions.

Top comments (26)

Collapse
 
vladignatyev profile image
Vladimir Ignatev

Btw, PyEphem is outdated. For new astronomic projects the SkyField has been recommended by the author of PyEphem at documentation page. Check out: rhodesmill.org/skyfield/

Collapse
 
marisogo profile image
Marine

Thank you for the info!

Collapse
 
vladignatyev profile image
Vladimir Ignatev

You're welcome! Please check out my daily Python quizzes. Is it a fun or not? dev.to/vladignatyev/python-quiz-16...

Thread Thread
 
marisogo profile image
Marine

Quizzes are always fun! Will check it out!

Collapse
 
nevodavid profile image
Nevo David

Wow, great list!

Collapse
 
sarma_akondi_746f338b83b7 profile image
Sarma Akondi

Nice list 🙌

Collapse
 
anitaolsen profile image
Anita Olsen 💜 • Edited

OHMIGOSH! Thank you SO much for compiling this list for us, it is super AWESOME! ✨

Collapse
 
nathan_tarbert profile image
Nathan Tarbert

Nice list and well done!

Collapse
 
xucian profile image
xucian

never knew pygame is a thing, I can finally give my brother a reason to learn some programming (and later force him learn pytorch to offload some of my boring debugging work lol)

Collapse
 
marisogo profile image
Marine

That's a great plan!

Collapse
 
matijasos profile image
Matija Sosic

Nice one! I especially like the animated banner, how did you do it?

Collapse
 
marisogo profile image
Marine

runwayml.com/ with this!

Collapse
 
samuel_kelv profile image
Samuel Kelv

Great one

Collapse
 
gisakha profile image
Gisakha Giovanni

Rich in python is really awesome as well.

Collapse
 
pritesh80 profile image
Pritesh

Cool

Collapse
 
kehoecj profile image
Clayton Kehoe

Really fun list!

Collapse
 
docmeir profile image
Derek Armstrong

Great List!

Collapse
 
chrisoguzman916 profile image
Christian

So much fun!! #mademyday

Collapse
 
marisogo profile image
Marine

Love the energy! Thank you!

Collapse
 
xavierdev profile image
Lucille Xavier

3 is awesome hehe

Collapse
 
marisogo profile image
Marine

Agreed!

Collapse
 
annesogos profile image
Anne

Oh this is such a cool list, thank you for the share!