{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/16"}],"enrichment":{"capability":"Provides a decorator-based alternative to Python's `__all__` list for marking which names should be exported from a module or package.","skillfed_tags":["module-metadata","abandoned"],"use_cases":["Replacing manual `__all__` lists in modules where you prefer keeping export declarations next to their definitions.","Reducing boilerplate in packages with many exported functions or classes by using decorators instead of list maintenance.","Programmatically adding names to `__all__` at module load time without editing the source list.","Teaching or documenting which names are part of a module's public API through decorator syntax."],"what_it_does":"The public package replaces Python's traditional `__all__` list with a `@public.add` decorator. Instead of manually maintaining a list of exported names at the top of a module, you decorate each function, class, or name you want to export, and the package automatically populates `__all__` for you. This can reduce boilerplate and keep export declarations close to their definitions.\n\nThe package has no runtime dependencies and works by modifying the module's `__all__` attribute as decorators are applied. It supports decorating functions and classes individually, or calling `public.add()` with string names to add arbitrary exports. However, the project is abandoned with no updates since 2020-12-03, so it may have compatibility issues with newer Python versions or lack support for modern language features.","worth_installing":"No. The package is abandoned (last release 2020-12-03), offers minimal functionality that can be replicated in a few lines of code, and provides no advantage over manually maintaining `__all__`. The decorator pattern it provides is a stylistic choice with no functional benefit, and the lack of maintenance creates risk for compatibility issues."},"id":"public","links":{"html":"https://skillfed.io/packages/public","md":"https://skillfed.io/packages/public.md","pypi":"https://pypi.org/project/public/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-12-03","license_spdx":null,"license_treatment":"permissive","name":"public","python_support":"unspecified","summary":"replace __all__ with @public.add decorator"},"popularity":{"monthly_downloads":107903,"position":12588,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2020.12.3"}
