composable-logs-0.0.12
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | composable-logs-0.0.12 |
| نام | composable-logs |
| نسخه کتابخانه | 0.0.12 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Matias Dahl |
| ایمیل نویسنده | matias.dahl@iki.fi |
| آدرس صفحه اصلی | https://github.com/composable-logs/composable-logs |
| آدرس اینترنتی | https://pypi.org/project/composable-logs/ |
| مجوز | MIT |
<div align="center">
<!-- need an empty line above: https://stackoverflow.com/a/70293384 -->
<a href="https://github.com/composable-logs/composable-logs/actions/workflows/cicd_publish-pypi-package-dev-snapshot.yml"></a>
<a href="https://badge.fury.io/py/composable-logs"><img src="https://badge.fury.io/py/composable-logs.svg" alt="PyPI version" height="18"></a>
<a href="https://github.com/composable-logs/composable-logs/blob/main/LICENSE.md"></a>
<a href="https://github.com/composable-logs/composable-logs/issues/new"></a>
</div>
# Composable Logs
***Composable Logs** is a Python library to run ML/data workflows on stateless compute infrastructure (that may be ephemeral or serverless).*
In particular, using Composable Logs one can do ML experiment tracking without a dedicated tracking server (and database) to record ML metrics, models or artifacts.
Instead, these are emitted using the **[OpenTelemetry standard](https://opentelemetry.io/)** for logging. This is an open standard in software engineering with growing support.
It can be useful to think of the logs emitted by Composable Logs as somewhat similar to logs emitted by unit test frameworks (like eg the JUnit format).
For example, log events emitted from Composable Logs can be directed to a JSON-file, or sent to any log storage supporting OpenTelemetry (span) events. In either case, this means that one does not need a separate tracking service only for ML experiments.
The below shows how a captured JSON log can be converted into a static website based on ML Flow.
Composable Logs uses the **[Ray framework](https://www.ray.io/ray-core)** for parallel task execution.
### For more details:
#### Documentation and architecture
- **https://composable-logs.github.io/composable-logs**
#### Live demo
- Using Composable Logs one can run a ML training pipeline using only a free Github account. This uses:
- **Github actions**: trigger the ML pipeline daily and for each PR.
- **Build artifacts**: to store OpenTelemetry logs of past runs.
- **Github Pages**: to host static website for reporting on past runs.
The static website is rebuilt after each pipeline run (by extracting relevant data from past OpenTelemetry logs). This uses a fork of MLFlow that can be deployed as a static website, https://github.com/composable-logs/mlflow.
[](https://composable-logs.github.io/mnist-digits-demo-pipeline/)
- Codes for pipeline (MIT): https://github.com/composable-logs/mnist-digits-demo-pipeline
#### Public roadmap and planning
- https://github.com/orgs/composable-logs/projects/2/views/3
#### Install via PyPI
##### Latest release
- `pip install composable-logs`
- https://pypi.org/project/composable-logs
##### Snapshot of latest commit to main branch
- `pip install composable-logs-snapshot`
- https://pypi.org/project/composable-logs-snapshot
---
Any feedback/ideas welcome!
## License
(c) Matias Dahl, MIT, see [LICENSE.md](./LICENSE.md).
(Note: As of 1/2023 this project was renamed from `pynb-dag-runner` to `composable-logs`.)
نیازمندی
| مقدار | نام |
|---|---|
| ==0.91.0 | fastapi |
| ==1.4.3 | fastcore |
| ==0.1.19 | ghapi |
| ==4.17.3 | jsonschema[format-nongpl] |
| ==7.4.9 | jupyter-client |
| ==1.14.4 | jupytext |
| ==2.1.1 | mlflow-skinny |
| ==6.5.2 | notebook |
| ==1.15.0 | opentelemetry-api |
| ==1.15.0 | opentelemetry-exporter-otlp |
| ==1.15.0 | opentelemetry-sdk |
| ==2.4.0 | papermill |
| ==1.10.4 | pydantic |
| ==1.5.7 | pyftpdlib |
| ==2.8.2 | python-dateutil |
| ==2.3.0 | ray[default] |
| ==2.27.1 | requests |
| ==2.28.11.14 | types-requests |
| ==1.26.25.7 | types-urllib3 |
| ==0.20.0 | uvicorn |
نحوه نصب
نصب پکیج whl composable-logs-0.0.12:
pip install composable-logs-0.0.12.whl
نصب پکیج tar.gz composable-logs-0.0.12:
pip install composable-logs-0.0.12.tar.gz