Comparison
atpublic vs expo vs namex vs public
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Keep all y'all's __all__'s in sync
Actively maintained. Last release 7 weeks ago. A safe choice.
pip install atpublicSelectively expose module functionality
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install expoA simple utility to separate the implementation of your Python package and its public API surface.
Low maintenance activity. Last release 18 months ago. Weaker on recent releases and release cadence.
pip install namexreplace __all__ with @public.add decorator
Low maintenance activity. Last release over 6 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install publicIn short
- expo looks abandoned: avoid it for new projects.
- atpublic is the most used: 9.3M downloads a month, 1.8× more than namex.
- atpublic also has the best Pythie’s Index (79).
- public is growing fastest: downloads +13% over the last month.
- Safe default for a new project: atpublic.