Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

annots is the package that allow to use Python 3.6 variable annotations in handy way.

Project description

Annots Documentation Status Updates

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

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


  • TODO


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


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for annots, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size annots-0.1.2-py2.py3-none-any.whl (4.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size annots-0.1.2.tar.gz (18.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page