Skip to main content

compressor-models

Monitoring models for compressors. Get time series data and compressor curves from SPD.

Install

Install from pypi using pip install compressor-models.

Usage

From SPD database

from compressor_models import CompressorPerformance, CurveFile

print(CompressorPerformance.models_in_database())

cmp = CompressorPerformance.from_database(functional_location="1130-KA101")
cf = CurveFile.from_Compressor(cmp)

print(cmp.get_yaml())
print(cf.to_json())

Create model from JSON curves

from compressor_models import CompressorPerformance

cmp = CompressorPerformance.get_empty(functional_location="TEST-KA101")
cmp.add_curves(curve_file="examples/compressor_curves.json")

print(cmp.get_yaml())

Develop / testing

Clone from github and install using uv sync.

Metadata

Release files for compressor-models 0.4.5

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

Source distribution (sdist)

Source distribution for compressor-models 0.4.5
File Size Uploaded Provenance Actions
compressor_models-0.4.5.tar.gz 7.1 kB Without provenance Details for compressor_models-0.4.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for compressor-models 0.4.5
File Interpreter ABI Platform Actions
compressor_models-0.4.5-py3-none-any.whl Python 3 none any Details for compressor_models-0.4.5-py3-none-any.whl

Total release size: 15.5 kB

Release files / compressor_models-0.4.5.tar.gz

Download URL compressor_models-0.4.5.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b6f45ad90c063dfb348b15a8b2d3b7291467a1ddc5dd169ac0ce1de5b5afff27
BLAKE2b-256 checksum
How to use checksums
5be6bbbb83974c0ce488f0b3859b175824cfb6588e2140a0eee8e36ed76b3bdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.3 CPython/3.13.7 Darwin/27.2.0

Release files / compressor_models-0.4.5-py3-none-any.whl

Download URL compressor_models-0.4.5-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f47a984b6ae5249f18a371c82692b1bfb40fc3f1991a1c36d86503f8548cfaa9
BLAKE2b-256 checksum
How to use checksums
9304b28a6398899c9801a0a015aa11a98d4a058fe584dd8396566e551f6b728e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.3 CPython/3.13.7 Darwin/27.2.0

Security for compressor-models 0.4.5

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