mlp_tracking
Project description
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',
)
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 Distribution
mlp_tracking-0.0.3.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mlp_tracking-0.0.3.tar.gz.
File metadata
- Download URL: mlp_tracking-0.0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57eac069adf847c0e6813daa5fd053413745736aa6fc07c1c6d74ae8aae03c02
|
|
| MD5 |
51b5710ed74a45a14531e919c74d30b9
|
|
| BLAKE2b-256 |
61fefec2ad73c99ecc19349b2ecb8afee89749417931351ce90493fa8d94d6e6
|
File details
Details for the file mlp_tracking-0.0.3-py3-none-any.whl.
File metadata
- Download URL: mlp_tracking-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2703b4cba7b832016039c0a70ca21098af30a854f92f84b132d50f8075c5743c
|
|
| MD5 |
3e453da50ec929391b50a8318e29696f
|
|
| BLAKE2b-256 |
90f8de5f93d8551caf4476673f000283cad1d9cae9b1e8e0f1eb319108f7ba88
|