Skip to main content

eXpa

Metric logging and analysis tool for ML experiments.

The components are:

  • Scalable data store backed by PostgreSQL
  • REST API for logging and retrieving data
  • Python client library expa for sending metrics
  • Powerful UI for metric visualization

This is a pre-release work in progress, expect breaking changes!

Getting started

Start development server locally

git clone https://github.com/jurgisp/expa.git && cd expa
PORT=8000 docker-compose up

Use expa client to push metrics

!pip install expa
import expa
logger = expa.Logger('experiment', 'run', api_url='http://localhost:8000/api')
logger.log_params({'param': 'value'})
for step in range(1, 101):
  logger.log({'loss': 1/step}, step)

Visualize metrics

Open localhost:8000

Security

The API does not have any user authentication built-in. Be sure to add an auth layer if you are planning to deploy the service on publicly accessible network.

Contributing

See CONTRIBUTING.md for details.

License

Apache 2.0; see LICENSE for details.

Disclaimer

This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.

This product is not intended or suitable for storing private data.

Metadata

Release files for expa 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for expa 0.2.0
File Size Uploaded Provenance
expa-0.2.0.tar.gz 11.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for expa 0.2.0
File Interpreter ABI Platform
expa-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.0 kB

Release files / expa-0.2.0.tar.gz

Download URL expa-0.2.0.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7995e4ffcece27a9194718079d8d886a177e31234a393af8d948e50ee8c98d04
BLAKE2b-256 checksum
How to use checksums
f1b2f6356659d8c6f96933c1d21d7c895919606b0456823469bebeeee2ff4b81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / expa-0.2.0-py3-none-any.whl

Download URL expa-0.2.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83e80c53400bbfc1dd6931acd72d6bc8de39c6d64dd177a88c542b6d538b5e6e
BLAKE2b-256 checksum
How to use checksums
ee7c4334a84e7668a75c426a17f50eaa07eac44835d88e6d2bbc3c9b1afbda2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Security for expa 0.2.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page