Third-party extensions and tools for Twisted's implementation of AMP.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
txampext
.coveragerc
.gitignore
.travis.yml
AUTHORS
LICENSE
README.md
requirements-docs.txt
requirements-optional.txt
requirements-testing.txt
requirements.txt
setup.py
tox.ini

README.md

txampext

txampext is a collection of third-party extensions and tools for Twisted's implementation of AMP.

What's new

0.0.11

Mutlifactory support for proxying multiplexed connections. Previously you could only do that with one factory; now you can do it with an arbitrary number. (The example still only proxies one thing; but the obvious way to make it proxy more than one thing now works.)

0.0.10

Improvements:

  • respondertests: The error message raised when a locator does not have the appropriate responder is now better.
  • commandtests: Added support for requiresAnswer

0.0.9

respondertests no longer relies on gross implementation details.

0.0.8

Bugfix release for 0.0.7; due to the wrong thing being tagged, the new responder tests were actually fatally broken. Everyone should update.

0.0.7

Features:

  • Added txampext.jsondialect, a JSON AMP dialect, intended for browsers.
  • Added txampext.respondertests, tests for verifying that responder locators actually have registered responders for given commands.

The version is now available as both txampext.__version__ as well as txampext.version.

0.0.6

Bugfixes:

  • ExposedProtocol has been renamed to ExposedResponderLocator, because it's actually always the responder locator (which sometimes happens to be the protocol) due to an implementation detail of AMP in Twisted.

Features:

  • A new iteration of the protocol multiplexing logic. Assumes that you're using AMP subclasses, so that the responder locator is also the protocol. There's a hook you can override in case there's a different way to get to the protocol class from the responder locator. The examples do the latter.
  • The documentation now has an example that listens locally for TCP connections and then forwards them over an AMP connection using a multiplexed AMP connection.

For the next release, I hope to clean up the example, and add it to the multiplexing module.

0.0.5

Features:

  • Command testing tools require explicit specification of all attributes. This takes care of a few silent failure cases. When some of the attributes aren't specified, an exception is raised detailing the missing attributes (and only the missing attributes).
  • constrained has been renamed constraints.
  • Preliminary work on protocol multiplexing. This feature will require work in Twisted itself to complete.

Bugfixes:

  • One of the command testing tool docstrings pointed to the wrong classattr.

Miscellaneous:

  • Refactoring.
  • Test cases use SynchronousTestCase where possible.

0.0.4

  • Composed responder locators, which merge multiple responder locators into one.

0.0.3

First public release.

  • Nested AMP box implementation.

0.0.2 and 0.0.1

These were internal versions. Includes stuff like CI setup, packaging metadata, et cetera.