annots 0.1.2

Creator: coderz1093

Last updated:

Add to Cart

Description:

annots 0.1.2

Annots




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, password):
self.username = str
self.password = str

Free software: MIT license
Documentation: https://annots.readthedocs.io.


Features

TODO



Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.



History
0.1.2 (2017-01-09)

Fix value initialization error
Add type annotation for args into __init__ function
Update test


0.1.1 (2017-01-08)

Add few tests



0.1.0 (2017-01-08)

First release on PyPI.
Working version with basic annotation support

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.