Skip to main content

A bayeux client for python.

Project description

python-bayeux

A bayeux client for python. Built on gevent and requests.

As of version 1.0.0, code using this library must do

`python from gevent import monkey monkey.patch_all() `

or some other choice of patch_* functions to prepare gevent before importing this library.

Python 3 is officially supported.

Tests

To run tests, install py.test and pytest-cov in your virtualenv and

$ py.test -rw -rs –cov=src/python_bayeux/ –cov-report html:coverage

View test coverage results at ./coverage.

Credits

News

1.0.0 —

Release date: 2021-01-08

  • Breaking change: No more official support for python 2: If you need to run on python 2, stay on the 0.1.x series.

  • Breaking change: This library no longer calls gevent’s monkey patch internally. Code using this library must do

` from gevent import monkey monkey.patch_all() `

or some other choice of patch_* functions to prepare gevent before importing this library. See

https://github.com/gevent/gevent/issues/1231#issuecomment-393945383

for some context.

0.1.7 —

Release date: 2018-10-07

  • Raise exceptions in main greenlet

0.1.6 —

Release date: 2018-10-03

  • Improved error handling

0.1.5 —

Release date: 2018-09-03

  • Callbacks now wait for resubscribe to finish

0.1.4 —

Release date: 2018-08-29

  • If connect tells us to handshake again, resubscribe after handshake

0.1.3 —

Release date: 2018-07-24

  • Fix unknown client error code - thanks for the report @ivanpricewaycom!

0.1.2 —

Release date: 2018-01-04

  • Fix logging problem with unicode - thanks @christophe-gabard!

0.1

Release date: 2016-08-26

  • Initial release.

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

python-bayeux-1.0.0.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

python_bayeux-1.0.0-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

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