An aspect-oriented programming, monkey-patch 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.
Python Batchfile
Permalink
Failed to load latest commit information.
ci Fix missing deps. Apr 9, 2016
docs Bump version: 1.4.1 → 1.4.2 May 10, 2016
src/aspectlib Bump version: 1.4.1 → 1.4.2 May 10, 2016
tests Fix importing of modules with dots in certain scenarios. Ref #6. May 6, 2016
.bumpversion.cfg Bump version: 1.4.1 → 1.4.2 May 10, 2016
.cookiecutterrc Update skel. Apr 9, 2016
.coveragerc Update skel. Apr 9, 2016
.editorconfig Update skel. Apr 9, 2016
.gitignore Update skel. Apr 9, 2016
.travis.yml Update skel. Apr 9, 2016
AUTHORS.rst Update url. Apr 8, 2016
CHANGELOG.rst
CONTRIBUTING.rst Update skel. Apr 9, 2016
LICENSE Update skel. Apr 9, 2016
MANIFEST.in Update skel. Apr 9, 2016
README.rst Update skel. Apr 9, 2016
appveyor.yml Update skel. Apr 9, 2016
conftest.py Skip any collection on 'pytest' - seems the doctest collector will ch… Apr 5, 2014
setup.cfg Update skel. Apr 9, 2016
setup.py Bump version: 1.4.1 → 1.4.2 May 10, 2016
tox.ini Fix missing deps. Apr 9, 2016

README.rst

Overview

docs Documentation Status
tests
package PyPI Package latest release PyPI Package monthly downloads PyPI Wheel Supported versions Supported implementations

aspectlib is an aspect-oriented programming, monkey-patch 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 license

Installation

pip install aspectlib

Documentation

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

Implementation status

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!

Requirements

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).

Similar projects