Metadata-Version: 2.1
Name: python-bayeux
Version: 1.0.0
Summary: A bayeux client for python.
Home-page: https://github.com/SalesforceFoundation/python-bayeux
Author: Adam J. Lincoln
Author-email: alincoln@salesforce.com
License: BSD 3-Clause
Download-URL: https://github.com/SalesforceFoundation/python-bayeux/tarball/1.0.0
Keywords: bayeux cometd
Platform: UNKNOWN
Requires-Dist: requests
Requires-Dist: gevent
Requires-Dist: simplejson

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

- [modern-package-template](http://pypi.python.org/pypi/modern-package-template)
- [requests](https://pypi.python.org/pypi/requests)
- [gevent](http://www.gevent.org/)
- [py.test](http://doc.pytest.org/en/latest/index.html)
- [pytest-cov](https://pypi.python.org/pypi/pytest-cov)


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.



