ionelmc/python-aspectlib

Repository files navigation

docsDocumentation Status
testsGitHub Actions Build Status Coverage StatusCoverage Status
packagePyPI Package latest release PyPI Wheel Supported versions Supported implementations Commits since latest release

aspectlib is an aspect-oriented programming, monkey- and decorators library. It is useful when changing behavior in existing code is desired. It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework.

  • Free software: BSD 2-Clause License
pip install aspectlib

You can also install the in-development version with:

pip install https://.com/ionelmc/python-aspectlib/archive/main.zip

Docs are hosted at readthedocs.org: python-aspectlib docs.

Weaving functions, methods, instances and classes is completed.

Pending:

  • "Concerns" (see docs/todo.rst)

If aspectlib.weave doesn't work for your scenario please report a bug!

OS:Any
Runtime:Python 2.6, 2.7, 3.3, 3.4 or PyPy

Python 3.2, 3.1 and 3.0 are NOT supported (some objects are too crippled).

About

An aspect-oriented programming, monkey- and decorators library. It is useful when changing behavior in existing code is desired. It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published