Python library for Pub/Sub message handling
Project description
Description
Happyly helps to build an extensible codebase when you are using Google Pub/Sub - and potentially any similar technology. Actual actions your code perform are abstracted into universal Handlers which can be used with any serialization technology or messaging protocol without any change.
Why this name?
Happyly stands for HAndlers for Pub/sub as a PYthon LibrarY
Installation
pip install happyly
Where can I learn how to use it?
Check out tutorial
Development
- Create and activate a virtual environment (e.g.
python -m venv env; source env/bin/activate
). - Install
flit
:pip install flit
. - Use
flit
to install the package with all development dependencies:flit install
. - Note that the repository uses pre-commit
to auto-check code for style and types.
Enable it for your cloned repo with
pre-commit install
. - In order to run tests, use either
pytest
(tests on your current python version) ortox
(will try to test against all supported python versions). - When you are ready to deploy project,
use
bumpversion
:bumpversion patch
(orminor
, ormajor
) and thengit push && git push --tags
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
happyly-0.2.0-py3-none-any.whl
(29.8 kB
view hashes)