The hardest part of creating a new Python library is coming up with a good idea.
Try to pick something useful that you've written or want to write:
Here are some signs that a piece of code is useful:
For this sprint, keep your scope as small as possible. If this is your first Python package, the less lines of code, the better.
Even a useful 3-line function is worth packaging.
See cached-property: Don't copy-paste code for a story about a time that Daniel Greenfeld turned a tiny snippet that seemed unworthy of packaging into a useful package.
If you have no idea what to work on, consider:
Remember, don't panic.
Your first Python library doesn't have to be one that changes the world.
For your first effort, it's even okay if your library is a bit silly. No one is probably even going to notice your library among the 45,000+ PyPI packages.