Skip to main content

Description

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

License Development Status Latest release Supported Python versions Supported Python implementations Download format Build status Code test coverage Downloads Documentation Status Code Health

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

I'm grateful for gifts, but don't have a specific funding goal.

Metadata

Release files for b3j0f.annotation 0.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for b3j0f.annotation 0.3.6
File Size Uploaded Provenance
b3j0f.annotation-0.3.6.zip 47.8 kB Without provenance Details
b3j0f.annotation-0.3.6.tar.gz 26.9 kB Without provenance Details
b3j0f.annotation-0.3.6.tar.bz2 23.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for b3j0f.annotation 0.3.6
File Interpreter ABI Platform
b3j0f.annotation-0.3.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 141.3 kB

Release files / b3j0f.annotation-0.3.6.zip

Download URL b3j0f.annotation-0.3.6.zip
Size 47.8 kB
Tags Source
SHA-256 checksum
How to use checksums
00f630a61fd9b78321c2cd7b24aa9efa46673c35dab219ed7e883199b2c7cd35
BLAKE2b-256 checksum
How to use checksums
b7294126ba66de28b506d18a2bc1c68add91b30b65f1b2039e6bcaec032f2b35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / b3j0f.annotation-0.3.6.tar.gz

Download URL b3j0f.annotation-0.3.6.tar.gz
Size 26.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bb46848c81bb1f3a3276c57e8530af70f8e53093df767efa57f56a5d83578387
BLAKE2b-256 checksum
How to use checksums
f84bb248c8a9f7d9df9e7031fb937aac92dcb7fe2edf7d46190b8cc19cab7c1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / b3j0f.annotation-0.3.6.tar.bz2

Download URL b3j0f.annotation-0.3.6.tar.bz2
Size 23.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e2bd1147ecb9eb20b726dfd2ffe5b9a7662fc90095d1898db0628d78fd426c5a
BLAKE2b-256 checksum
How to use checksums
e2fd71901feaa93366db4f24af1accfa2479702ddf5d8a11879ca223a6fc9260
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / b3j0f.annotation-0.3.6-py2.py3-none-any.whl

Download URL b3j0f.annotation-0.3.6-py2.py3-none-any.whl
Size 42.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
37a1569d5c81e087aface1f3e462dccd3f97752858c4da7f2540f89928364ec6
BLAKE2b-256 checksum
How to use checksums
5e6bce0a58fb38fdf62893baea21df90b1b971b29111861f89d64fd4cccb55e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for b3j0f.annotation 0.3.6

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page