xdoctest
mkinit
xdoctest | mkinit | |
---|---|---|
3 | 2 | |
204 | 67 | |
- | - | |
8.0 | 7.1 | |
3 months ago | 8 days ago | |
Python | Python | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xdoctest
-
disallow-import-star: stop your users from using import *
How would the pytest plugin work / what would it test for? I'm no stranger to writing pytest plugins, so if the idea seems like a natural fit for the package I'm all for it.
-
If you could start your Python journey over with what you know know what practices would you force your past self to implement?
xdoctest and writing doctests whenever possible
-
[P] best-of-ml-python: A ranked list of awesome machine learning Python libraries
I have a testing library xdoctest with 87 stars and 20k downloads / month that was featured in PyCon2020
mkinit
-
disallow-import-star: stop your users from using import *
I feel like I should bring up my package: mkinit which autogenerates `__init__` files that behave like you did `import *`, but it makes everything explicit so you don't have to guess where things are coming from.
-
[D] What is some cool python magic(s) that you've learned over the years?
One thing that can help with making such a package is the mkinit package, which is what I use in ubelt to autogenerate code that explicitly exposes the entire public API at the top-level (although you can specify subsets of what to expose).
What are some alternatives?
best-of-web-python - 🏆 A ranked list of awesome python libraries for web development. Updated weekly.
utool - Useful Utility Tools For You!
best-of-python-dev - 🏆 A ranked list of awesome python developer tools and libraries. Updated weekly.
black - The uncompromising Python code formatter
ubelt - A Python utility library with a stdlib like feel and extra batteries. Paths, Progress, Dicts, Downloads, Caching, Hashing: ubelt makes it easy!
mypy - Optional static typing for Python
best-of-ml-python - 🏆 A ranked list of awesome machine learning Python libraries. Updated weekly.
bython - Python with braces. Because python is awesome, but whitespace is awful.
documented - Templated docstrings for Python classes
best-of-generator - 🏆 Generates a ranked list of awesome libraries and tools.
best-of-jupyter - 🏆 A ranked list of awesome Jupyter Notebook, Hub and Lab projects (extensions, kernels, tools). Updated weekly.
best-of - 🏆 Discover best-of lists with awesome open-source projects on all kinds of topics.