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.4

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.4
File Size Uploaded Provenance Actions
compressor_models-0.4.4.tar.gz 7.1 kB Without provenance Details for compressor_models-0.4.4.tar.gz

Built distribution (wheel)

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

Total release size: 15.5 kB

Release files / compressor_models-0.4.4.tar.gz

Download URL compressor_models-0.4.4.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
05b7b9d4f56352822afca473abafd44660c884646d4674895fe9bfc41ab5bb24
BLAKE2b-256 checksum
How to use checksums
50ee82c769398a548758fe1fa184251e6e9dd346619a97166afc33fb8dd50976
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.3 CPython/3.13.7 Darwin/27.0.0

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

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

Security for compressor-models 0.4.4

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