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.2.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file mlp_tracking-0.0.2.tar.gz
.
File metadata
- Download URL: mlp_tracking-0.0.2.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 | b4ccca44d91580c2d9b08d6f6b6ea7749b0f70ccff6b37563d35ddea19c8d2cc |
|
MD5 | a75bdd1eb4ddcbb726d58b1ee5408a9c |
|
BLAKE2b-256 | 993f0489107a3f0bf678e01cd10dd653fa921ce382a0deff32eeb85da0d2ad27 |
File details
Details for the file mlp_tracking-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: mlp_tracking-0.0.2-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 | efbfdec93c77a05bc08ccc8f3e0370f6b00c8451b135f64267c250768ae00137 |
|
MD5 | c1cb43c78d27aa278174caf820ca6b0e |
|
BLAKE2b-256 | c355cf659d3918dfafd8cfc9396fd931a83177f87d30c7f5e5fef35906aa08a2 |