Skip to main content

Zefir Analytics

The Zefir Analytics module was created by the authors of PyZefir for relatively inexpensive processing or conversion of raw data into user-friendly condition, such as a report or a set of graphs. Also, this module is a set of computational methods used in the endpoints of the Zefir Backend repository.

Setup Development Environment

Install repository from global pip index:

pip install zefir-analytics

Make setup

Check if make is already installed

make --version

If not, install make

sudo apt install make 

Make stages

Install virtual environment and all dependencies

make install

Run linters check (black, pylama)

make lint

Run unit and fast integration tests (runs lint stage before)

Make unit

Run integration tests (runs lint and unit stages before)

make test

Remove temporary directories such as .venv, .mypy_cache, .pytest_cache etc.

make clean

Available methods in Zefir Engine objects

  • source_params:
    • get_capex_opex
    • get_costs_per_tech_type
    • get_dump_energy_sum
    • get_emission
    • get_ets_cost
    • get_fuel_availability_per_tech
    • get_fuel_cost
    • get_fuel_cost_per_tech
    • get_fuel_usage
    • get_generation_demand
    • get_generation_sum
    • get_installed_capacity
    • get_load_sum
    • get_var_costs
  • aggregated_consumer_params:
    • get_aggregate_elements_type_attachments
    • get_aggregate_parameters
    • get_fractions
    • get_n_consumers
    • get_total_yearly_energy_usage
    • get_yearly_energy_usage
  • lbs_params:
    • get_lbs_capacity
    • get_lbs_fraction
  • line_params:
    • get_capacity
    • get_flow
    • get_transmission_fee

Metadata

Release files for zefir-analytics 0.4.30

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

Source distribution (sdist)

Source distribution for zefir-analytics 0.4.30
File Size Uploaded Provenance Actions
zefir-analytics-0.4.30.tar.gz 63.5 kB Without provenance Details for zefir-analytics-0.4.30.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zefir-analytics 0.4.30
File Interpreter ABI Platform Actions
zefir_analytics-0.4.30-py3-none-any.whl Python 3 none any Details for zefir_analytics-0.4.30-py3-none-any.whl

Total release size: 123.3 kB

Release files / zefir-analytics-0.4.30.tar.gz

Download URL zefir-analytics-0.4.30.tar.gz
Size 63.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4047ab161ac900082d8ef7a6df0c501054ae78a9b53919279f80f4976d686cea
BLAKE2b-256 checksum
How to use checksums
13e54b31911ebe53754299d086156d058a2086d62e35d2b09c0815290b9108af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / zefir_analytics-0.4.30-py3-none-any.whl

Download URL zefir_analytics-0.4.30-py3-none-any.whl
Size 59.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ce5360e2e4f4a3d7916cee388983afc5fd339c0617aa282844da8a8aa5113a2
BLAKE2b-256 checksum
How to use checksums
9dbc1f72ca8f3e0725243f6ca1a7aa39b616699be10235c3a49132ffc58f9928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Security for zefir-analytics 0.4.30

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