Autoregistry

Latest version: v1.1.2

Safety actively analyzes 702407 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.10.1

Bug Fixes
* Remove circular references of `Registry` in `RegistryMeta`. This results in cleaner code, and the ability to extend the `RegistryMeta` class.

0.10.0

Features
* Adds a new configuration flag `hyphen=False`, which will replace underscores `_` with hyphens `-`. Can be used in conjunction with `snake_case=True` (camelCase -> snake_case conversion will be performed prior to converting underscores to hyphens).
* Adds a new configuration parameter `transform`, where a user can provide their own string-to-string transformation function for modifying registry keys.
* Renamed `registry.py` to `_registry.py` to prevent users from accidentally `from autoregistry import registry` (instead of importing `Registry`).

0.9.2

Bug Fixes
* More improved typing:
* add `__all__` to `__init__.py`.
* add `py.typed` marker to package.

0.9.1

Bug Fixes
* Internally, an element name is now strictly a `str` (previously `Optional[str]`). This can help out typing when doing reverse-key lookups. Other typing needs to be improved, but this is a common one that was easy to fix.

0.9.0

Breaking Change
* Subclasses of `Registry` are no longer registered to the base `Registry` class. This is to prevent cross-library mingling. Shouldn't impact most use-cases.

0.8.3

Bug Fixes
* `RegistryDecorator` should not be in the `Registry` registry. Fix skips registration.

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.