theTrial
theTrial is a microframework designed to provide a simple interface for interacting with Kafka. It simplifies the process of setting up consumers and producers for Kafka topics using Pythonic decorators. Under the hood, it uses confluent-kafka to communicate synchronously with Kafka clusters.
Installation
Install from pip:
python -m pip install theTrial
Quick Start
Here’s a simple example to get you started:
from theTrial import TheTrial
app = TheTrial()
Settings Configuration
For a detailed explanation and additional configuration options, refer to the official Confluent documentation: Confluent Kafka Python Documentation.
User-Defined Settings
Logging Configuration
theTrial employs and extends Python’s built-in logging module for system logging.
CLI Commands
theTrial includes a set of CLI commands to set up and manage your projects.
Start Command
To initialize a new project structure, use the start command:
theTrial start --name [YOUR_APP_NAME]
By default, the main app file will be named app.py. You can specify a different name using the --name option.
This command will:
Create the main app file ([YOUR_APP_NAME].py).
Metadata
Release files for the-trial 2.0.0
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 |
|---|---|---|---|---|
| the_trial-2.0.0.tar.gz | 4.5 kB | Without provenance | Details for the_trial-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| the_trial-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for the_trial-2.0.0-py3-none-any.whl |
Total release size: 8.9 kB
Release files / the_trial-2.0.0.tar.gz
| Download URL | the_trial-2.0.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29d4631fd0e260cb0a3540c1ab7ae9f042f838d41f08185e628bc9697f501edf
|
|
BLAKE2b-256 checksum How to use checksums |
d749bc19c961c3a34c81c89cbcd40446eb4afe8dffab04aeb6f0ad5fefdd05c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / the_trial-2.0.0-py3-none-any.whl
| Download URL | the_trial-2.0.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd9e2f0642cd1241a944a282e2309dcaa914f04dd04a8abcdaad732f47c9932e
|
|
BLAKE2b-256 checksum How to use checksums |
62b9505eee19402c0365e7a5bef60b0d6dc4f6036a1196b80e4336230d2542d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for the-trial 2.0.0
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.