Tamarco
Microservices framework designed for asyncio and Python.
Features
- Lifecycle management.
- Standardized settings via etcd.
- Automatic logging configuration. Support for sending logs to an ELK stack.
- Application metrics via Prometheus.
- Designed for asyncio.
- Messaging patterns. The framework comes with support for AMQP and Kafka via external resources. The AMQP resource has implemented publish/subscribe, request/response and push/pull patterns.
- Custom encoders and decoders.
- Pluging oriented architecture. Anyone can create a new resource to add new functionality. External resources are integrated into the framework transparently for the user.
- Graceful shutdown.
Resources
The framework allows to write external resources and integrate them in the lifecycle of a microservice easily. List with the available resources:
- Metrics
- Registry
- Status
- Profiler
- Memory analizer
- HTTP
- Kafka
- AMQP
- Postgres (not released yet)
- Influxdb (not released yet)
- Redis (not released yet)
- Websocket (not released yet)
Let us know if you have written a resource.
Documentation
The documentation is available here.
Examples
There are several examples in the examples folder.
To run them, install tamarco, launch the docker-compose (not necessary for all the examples) and run it.
pip install tamarco
docker-compose up -d
python examples/http_resource/microservice.py
Requirements
Support for Python >= 3.6.
Metadata
Release files for tamarco 0.1.1
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 |
|---|---|---|---|---|
| tamarco-0.1.1.tar.gz | 92.3 kB | Without provenance | Details for tamarco-0.1.1.tar.gz |
Release files / tamarco-0.1.1.tar.gz
| Download URL | tamarco-0.1.1.tar.gz |
|---|---|
| Size | 92.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46a471cc54507bb133a37916daaebb47cb0fabf4bfac02c37dcf45d0d813da0f
|
|
BLAKE2b-256 checksum How to use checksums |
91c2bb219b7c4e51eba05a9ebccb4481d63e3aec8210d5af733618ec602d0f3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.1
|
Security for tamarco 0.1.1
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.