px
pypx

atpublic

v7.0.0

Keep all y'all's __all__'s in sync

6 KB Python 3.10+ py3-none-anyApache Software License
Diff
$ uv add atpublic

======================

@public and @private

This library provides two very simple decorators that document the public visibility of the names in your module. They keep your module's __all__ in sync so you don't have to.

Also included is a function that you can put at the bottom of your module to simply infer all the public names, and populate the __all__ for you.

Author

public is Copyright (C) 2016-2025 Barry Warsaw <[email protected]>

Licensed under the terms of the Apache License Version 2.0. See the LICENSE file for details.

Project details

  • Project home: https://gitlab.com/warsaw/public
  • Report bugs at: https://gitlab.com/warsaw/public/issues
  • Code hosting: https://gitlab.com/warsaw/public.git
  • Documentation: https://public.readthedocs.io
  • PyPI: https://pypi.python.org/pypi/atpublic

Details

Version
7.0.0
License
Apache Software License
Python
>=3.10
Maintainer
Barry Warsaw <[email protected]>

Release Cadence

3
releases in the past year
avg 145 days between releases

Maintainers