Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Reflective annotation library for python

Project Description

Description

Annotation library like Java’s annotation with reflective concerns for Python.

Installation

pip install b3j0f.annotation

Features

What does mean annotations in a reflective way:

  • one annotation can annotate several objects at a time (modules, classes, functions, instances, builtins, annotation like themselves, etc.).
  • such as a reflective object, they could have their own behavior and lifecycle independently to annotated elements.

This library provides the base Annotation class in order to specialize your own annotations, and several examples of useful annotation given in different modules such as:

  • async: dedicated to asynchronous programming.
  • interception: annotations able to intercept callable object calls.
  • call: inherits from interception module and provides annotations which allow to do checking on callable objects.
  • check: annotations which check some conditions such as type of annotated targets, max number of annotated elements, etc.
  • oop: useful in object oriented programming like allowing to weave mixins.

Examples

Perspectives

  • Cython implementation.

Donation

Release History

Release History

This version
History Node

0.3.6

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.2

History Node

0.2.0

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
b3j0f.annotation-0.3.6-py2.py3-none-any.whl (42.8 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Sep 21, 2016
b3j0f.annotation-0.3.6.tar.bz2 (23.8 kB) Copy SHA256 Checksum SHA256 Source Sep 21, 2016
b3j0f.annotation-0.3.6.tar.gz (26.9 kB) Copy SHA256 Checksum SHA256 Source Sep 21, 2016
b3j0f.annotation-0.3.6.zip (47.8 kB) Copy SHA256 Checksum SHA256 Source Sep 21, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting