Skip to main content

pybeehive

https://img.shields.io/pypi/v/pybeehive.svg https://img.shields.io/travis/sentrip/pybeehive.svg Documentation Status https://codecov.io/gh/sentrip/pybeehive/branch/master/graph/badge.svg Updates

A lightweight, event-driven concurrency library with bees!

Features

  • One interface for writing concurrent code, both sync and async

Basic Usage

from pybeehive import Hive
import time
hive = Hive()

@hive.streamer
def stream():
    while True:
        time.sleep(1)
        yield 'hello world!'

@hive.listener
def on_event(event):
    print(event)

if __name__ == '__main__':
    hive.run()
$ python hello.py
Event(created_at=1525400000, data="hello world!")
Event(created_at=1525400001, data="hello world!")
Event(created_at=1525400002, data="hello world!")
...

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2018-05-27)

  • First release on PyPI.

0.11 (2018-05-28)

  • Fixed installation of dependencies

0.12 (2018-05-28)

  • Fixed travis-ci building with coverage

0.13 (2018-05-28)

  • Coverage now only runs on travis-ci with only pybeehive source code

0.14 (2018-05-29)

  • Fixed bug in event propagation

Release files for pybeehive 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pybeehive 0.1.4
File Size Uploaded
pybeehive-0.1.4.tar.gz 20.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pybeehive 0.1.4
File Interpreter ABI Platform
pybeehive-0.1.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 28.3 kB

Release files / pybeehive-0.1.4.tar.gz

Download URL pybeehive-0.1.4.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
66f2980d34d3b001d11e5f4239e3cdd1437189ace78fa729dbfcbe660949fc79
BLAKE2b-256 checksum
How to use checksums
4b4d4fe669135cfc83d87cde05748d3bbb8df38a61e2ebb0957b227cd2835f44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pybeehive-0.1.4-py2.py3-none-any.whl

Download URL pybeehive-0.1.4-py2.py3-none-any.whl
Size 7.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cd566de5a58cd0efbbe70a9702654f17bd52aedf771452509e14dd4a33747af2
BLAKE2b-256 checksum
How to use checksums
c77ef5d7b59db3a1c450e7c9cf24ab14d408073a21a8de6864b7b7df75b379aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page