annots
is the package that allow to use Python 3.6 variable annotations in handy way. Thanks for inspiration to attrs library.
When you wrap a class with annots
decorator
import annot @annot.s class Account: __tablename__ = 'account' username: str password: str
Annots add class attribute annotations into __init__
class Account: def __init__(self, username: str, password: str): self.username = username self.password = password
- Free software: MIT license
- Documentation: https://annots.readthedocs.io.
- TODO
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.