atpublic
Keep all y'all's __all__'s in sync
Decision gist · record as of 2026-08-14
Yes, if you want a simple, zero-dependency way to keep __all__ in sync with your public API. The package is stable and mature, installs cleanly, and solves a real friction point in module design. The aging maintenance status is not a concern for a feature-complete utility, but verify that it still works well with your Python version (requires 3.10+).AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction: pure Python wheel with no runtime dependencies.
- Maintenance status is aging—last release was 258 days ago—but the package is classified as Production/Stable and Mature, suggesting it is feature-complete rather than abandoned.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache License 2.0 (permissive). You may use, modify, and distribute this package freely in commercial and private projects, with minimal restrictions.
last release 2025-11-29 (258 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,535,644 downloads/mo, #1,608 on PyPI
Alternatives
Verify before relying
pip install atpublic
from atpublic import public
@public
def my_function():
pass- Whether the package is actively maintained or in stable maintenance mode (repo activity not provided).
- Real-world adoption patterns and whether the decorator approach scales well in large codebases.
What it is and what it does
atpublic is a lightweight library that provides two decorators—@public and @private—to explicitly mark which names in a Python module are part of its public API. Instead of manually maintaining __all__, you decorate the names you want to export, and the library keeps __all__ synchronized automatically. It also includes a function to infer all public names and populate __all__ for you if you prefer a declarative approach.
The package has no runtime dependencies and installs as a pure Python wheel, making it trivial to add to any project. It is designed for developers who want to be explicit about module boundaries and ensure their public API is clearly documented without the friction of maintaining __all__ by hand.
Use it for
- Maintain a clean public API in library modules without manually editing __all__ every time you add or remove a function.
- Document which names are intentionally public versus internal implementation details for other developers reading your code.
- Automatically generate __all__ for a module by decorating public functions and classes, then calling the inference function.
- Enforce API boundaries in large packages where multiple modules need consistent visibility rules.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you want a simple, zero-dependency way to keep __all__ in sync with your public API.
The package is stable and mature, installs cleanly, and solves a real friction point in module design. The aging maintenance status is not a concern for a feature-complete utility, but verify that it still works well with your Python version (requires 3.10+).
Install
atpublic on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Maintenance status is aging—last release was 258 days ago—but the package is classified as Production/Stable and Mature, suggesting it is feature-complete rather than abandoned.
Requires Python 3.10 or later.
License in practice
Licensed under Apache License 2.0 (permissive). You may use, modify, and distribute this package freely in commercial and private projects, with minimal restrictions.
Quickstart
pip install atpublic
from atpublic import public
@public
def my_function():
pass
Verify before relying
- Whether the package is actively maintained or in stable maintenance mode (repo activity not provided).
- Real-world adoption patterns and whether the decorator approach scales well in large codebases.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 258 days since the last release |
| First released | |
| Downloads | 8,535,644 / month, #1,608 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableDevelopment Status :: 6 - MatureIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities |
Evidence: atpublic-7.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “__all__ management”
- atpublicProvides @public and @private decorators to document module…
- publicProvides a decorator-based alternative to Python's `__all__` list for…
- publicationPublication hides private implementation details and imports from a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also public · publication · botoinator · lazy-loader · sphinx-autodoc2 · publicsuffixlist · wrapt · venusian · undecorated