steps-track/lib-py
This is the Python library implementation for steps-track
StepsTrack is an observability tool built to help tracking, visualizing and inspecting intermediate steps in a complex pipeline-based application. It automatically captures and stores the intermediate data, results and execution times of each steps in a pipeline, visualizing the execution details and allowing easier debug or analysis through an analytic dashboard.
Installation
pip install steps-track
Quick Start
import asyncio
from steps_track import Pipeline, Step
from steps_track.transport import HttpTransport
async def main():
http_transport = HttpTransport(
base_url='http://localhost:3000',
)
pipeline = Pipeline('my-pipeline', options={
'auto_save': 'finish',
'transport': http_transport,
})
async def pipeline_track(st: Step):
async def step1(st: Step):
# Step 1 logic
await st.record('key', 'value')
await st.step('step1', step1)
async def step2(st: Step):
# Step 2 logic
return 'result'
await st.step('step2', step2)
await pipeline.track(pipeline_track)
# Export output
exported = pipeline.output_pipeline_meta()
# Gantt Chart Visualization
gantt_chart_buffer = await pipeline.gantt_quickchart()
if __name__ == "__main__":
asyncio.run(main())
See GitHub repository for more usages and repository introduction.
Metadata
Release files for steps-track 1.12.7
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 |
|---|---|---|---|---|
| steps_track-1.12.7.tar.gz | 13.9 kB | Without provenance | Details for steps_track-1.12.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| steps_track-1.12.7-py3-none-any.whl | Python 3 | none | any | Details for steps_track-1.12.7-py3-none-any.whl |
Total release size: 30.9 kB
Release files / steps_track-1.12.7.tar.gz
| Download URL | steps_track-1.12.7.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f30373535ea511107f037b7266157210e41f8506aa5d9e8b5bee0c6000d2820
|
|
BLAKE2b-256 checksum How to use checksums |
fa1d688eabbeeb1699debc300a4bf70a481772654e065c737c86caa4fa481e64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.13.3 Linux/6.8.0-1021-azure
|
Release files / steps_track-1.12.7-py3-none-any.whl
| Download URL | steps_track-1.12.7-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f239468e9ca0511ea5a46d08aabe164c8d9f3bdf6577672138f6cc7ad577e67
|
|
BLAKE2b-256 checksum How to use checksums |
f7a85c12e677cbb65f4fda51430afeb1b1e0f206a1b21b8f8008bec34edca72a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.13.3 Linux/6.8.0-1021-azure
|
Security for steps-track 1.12.7
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.