REQUIREMENTS
pip install mlp_tracking
USAGE EXAMPLE
from mlp_tracking import MlpTracker, PipeType, IssueModule
import os
# initialize
tracker = MlpTracker(
pipe_type=PipeType.FAQ_PREDIC_PIPE.value,
issue_module=IssueModule.ML.value,
# you may get kafka_servers from environments
kafka_servers=os.environ.get('KAFKA_SERVERS', ''),
kafka_username=os.environ.get('KAFKA_USERNAME', ''),
kafka_password=os.environ.get('KAFKA_PASSWORD', ''),
)
# send event
tracker.send(
message='predict error',
reason='model not found',
)
Metadata
Release files for mlp-tracking 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mlp_tracking-0.0.3.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mlp_tracking-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / mlp_tracking-0.0.3.tar.gz
| Download URL | mlp_tracking-0.0.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57eac069adf847c0e6813daa5fd053413745736aa6fc07c1c6d74ae8aae03c02
|
|
BLAKE2b-256 checksum How to use checksums |
61fefec2ad73c99ecc19349b2ecb8afee89749417931351ce90493fa8d94d6e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0
|
Release files / mlp_tracking-0.0.3-py3-none-any.whl
| Download URL | mlp_tracking-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2703b4cba7b832016039c0a70ca21098af30a854f92f84b132d50f8075c5743c
|
|
BLAKE2b-256 checksum How to use checksums |
90f8de5f93d8551caf4476673f000283cad1d9cae9b1e8e0f1eb319108f7ba88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0
|