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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file python-bayeux-1.0.0.tar.gz.

File metadata

  • Download URL: python-bayeux-1.0.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for python-bayeux-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7a2b98fad7515ba44a77c3427d436a95102aaa7c5e9a95b0bfdd57dec29a103b
MD5 ee223a4cab4baac756f36927b17fb476
BLAKE2b-256 81a719e2828f62a38ffd2526086333f30827e2d11bf55b6a8ab3c28fab3ed00f

See more details on using hashes here.

File details

Details for the file python_bayeux-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: python_bayeux-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for python_bayeux-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6b3b14ff15d4dd3a06ec2ad4fef5ec80e364d9aa85c8af5122a899c1f4af0a6
MD5 0b2669499592bec6b503bf8ce24975aa
BLAKE2b-256 8741dba44f6faada93a15e00444a801af29e4830c8e08f391ac99e1f7977d284

See more details on using hashes here.

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