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
Metadata
Release files for annots 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| annots-0.1.2.tar.gz | 18.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| annots-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 23.2 kB
Release files / annots-0.1.2.tar.gz
| Download URL | annots-0.1.2.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ecdf1cdb19d5b091ab740deee63809ca1045553b51c4dbb42b7d9edfd5529e5
|
|
BLAKE2b-256 checksum How to use checksums |
0229e789c09cc3e8132ef2223fcc64c8ce5fff2fcb16670f04268cc62452e88f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / annots-0.1.2-py2.py3-none-any.whl
| Download URL | annots-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a07f23dea5be4df7f6f72124447d6fda1d57d7c9ce415e3ef18efe171b1f21c0
|
|
BLAKE2b-256 checksum How to use checksums |
9c39d2793bc566e7bf349961639d869935a31e7da99ac4b64a229727a2572469
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for annots 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.