Flowgate
Flowgate is a kafka client library for building event-driven systems.
Setup
Using just (recommended)
First, install just:
# On macOS
brew install just
# On Linux
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash
Then set up the project:
just setup
Using uv directly
# Install uv if you don't have it
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create a virtual environment and install the package
uv venv .venv
source .venv/bin/activate
uv pip install -e ".[dev]"
Development
Available commands
just # List all available commands
just setup # Set up the development environment
just test # Run tests
just lint # Run linting checks
just build # Build the package
just publish # Build and publish the package
just sync # Sync dependencies
just clean # Clean up build artifacts
Running tests
just test
Linting
just lint
Building and publishing
just build
just publish
Optional dependencies
Flowgate supports the following optional dependencies:
- MongoDB:
uv pip install -e ".[mongo]" - Redis:
uv pip install -e ".[redis]" - cnamedtuple:
uv pip install -e ".[cnamedtuple]"
To install all dependencies including development tools:
uv pip install -e ".[dev,mongo,redis,cnamedtuple]"
Project Structure
flowgate/
├── __init__.py
├── command_handler.py # Command handling functionality
├── consumer.py # Kafka consumer implementation
├── event_handler.py # Event handling functionality
├── handler.py # Base handler implementation
├── helpers/ # Helper utilities
├── message.py # Message definitions
├── messagebus/ # Message bus implementation
├── serializers.py # Serialization utilities
└── utils.py # General utilities
License
MIT
Metadata
Release files for flowgate 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flowgate-0.0.5.tar.gz | 74.0 kB | Without provenance | Details for flowgate-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flowgate-0.0.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for flowgate-0.0.5-py2.py3-none-any.whl |
Total release size: 95.5 kB
Release files / flowgate-0.0.5.tar.gz
| Download URL | flowgate-0.0.5.tar.gz |
|---|---|
| Size | 74.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
724c772bf7e8d542333a19cd1cee5ad8525a094a5ac584e9b63b77ccdb70b98f
|
|
BLAKE2b-256 checksum How to use checksums |
33e43519428d846cd79a74c547e8f4992705d3374544a5f402f0cb6cab4b9252
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.9
|
Release files / flowgate-0.0.5-py2.py3-none-any.whl
| Download URL | flowgate-0.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7b866cf06b18856f92581ed0c636c14286ed7494948094e3bca5c2cb5eb44ba6
|
|
BLAKE2b-256 checksum How to use checksums |
7159861d148e8640131b54d8b5b809ab53df58b1f968ee2a70fb00bf03a6f9fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.9
|
Security for flowgate 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.