Skip to main content

Callback API implemented over Proton

Project description

# Pyngus #

[![Build Status](https://travis-ci.org/kgiusti/pyngus.svg)](https://travis-ci.org/kgiusti/pyngus)

A messaging framework built on the QPID Proton engine. It provides a
callback-based API for message passing.

See the User Guide in the docs directory for more detail.

## Release 2.1.2 ##

* Bump max proton version to 0.14

## Release 2.1.1 ##

* bugfix: under some (rare) flow/credit interactions a sender may
stall. Changed code to invoke credit_granted() callback more
frequently.

## Release 2.1.0 ##

* feature: add 'x-force-sasl' to connection property map
* bugfix: update old SASL unit test

## Release 2.0.4 ##

* Bump max proton version to 0.13
* performance tweak to link event handling
* fix perf-test.py tool
* bugfix: fix leak of timer callbacks
* enable Python 3.4 testing
* bugfix: fix receiver example (recv.py)
* several fixes to the SASL unit tests
* bugfix: fix leak of underlying proton objects
* Add SASL/SSL configuration options to examples
* bugfix: allow PLAIN or ANONYMOUS authentication in server mode

## Release 2.0.3 ##

* bugfix: fixed a memory leak
* bugfix: cyrus test fixed

## Release 2.0.0 ##

* Support for proton 0.10
* The SASL API has changed due to an API change in proton 0.10
* Proton 0.10 implements SASL via the Cyrus SASL library
* this change allows use of more secure authentication mechanisms, such as Kerberos
* Applications should no longer directly access the Proton SASL class via the Connection.pn\_sasl property
* instead, the following new properties may be passed to the Container.create\_connection() method:
* x-username - (client only) the authentication id
* x-password - (client only) the authentication password
* x-require-auth - (server only) reject clients that do not use authentication
* x-sasl-mechs - (server only) whitespace delimited string of
acceptable mechanisms. If not supplied the mechanisms
specified in the system's SASL configuration will be used.
This option should only be used when the application wants to
further restrict the set of acceptable mechanisms.
* x-sasl-config-dir - (server only) the location of the
_directory_ that holds the system's Cyrus SASL configuration.
* x-sasl-config-name - (server only) the name of the SASL
configuration file (*without* the ".conf" suffix) in the
x-sasl-dir directory.
* *NOTE WELL*: Cyrus SASL cannot support multiple different SASL
configurations per connection. The values of
x-sasl-config-dir and x-sasl-config-name *MUST* be the same
for all connections that use SASL.
* the ConnectionEventHandler.sasl\_step() callback has been deprecated as proton 0.10 no longer uses it
* The ConnectionEventHandler.sasl\_done() callback *is* still supported.
* Pyngus now enforces strict reentrancy checking. Attempting to call
a non-reentrant Pyngus method will now throw a RuntimeError exception.

## Release 1.3.0 ##

* Support for proton 0.9
* Installation of proton dependencies via setup.py. This feature was
added by Flavio Percoco Premoli <flaper87@gmail.com> - thanks
Flavio!

Project details


Download files

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

Source Distribution

pyngus-2.1.2.tar.gz (34.4 kB view details)

Uploaded Source

File details

Details for the file pyngus-2.1.2.tar.gz.

File metadata

  • Download URL: pyngus-2.1.2.tar.gz
  • Upload date:
  • Size: 34.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyngus-2.1.2.tar.gz
Algorithm Hash digest
SHA256 9c6b47521a30dfcce9380bab6ff4638aa46fa281f97286eb9dc3c82d8b618ef3
MD5 8d997b354a3eac95a83e0facc55e0f9c
BLAKE2b-256 d86db603389228e368e73a4b3ed0efcd87b53c2daf90b08a10101d91f39fd5e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page