Skip to main content

Add your description here

Project description

PSR Lakehouse 🏞️🏡

A Python client library for accessing PSR's data lakehouse, providing easy access to Brazilian energy market data including CCEE and ONS datasets.

Installation

pip install psr-lakehouse

Examples

CCEE

from psr.lakehouse import ccee

# Get ccee spot prices
spot_prices = ccee.spot_price(
    filters = {"subsystem": "SE"},
    start_reference_date="2024-01-01",
    end_reference_date="2024-12-31"
)

ONS

from psr.lakehouse import ons

# Get ons maximum stored energy
max_energy = ons.max_stored_energy(
    filters = {"subsystem": "SE"},
    start_reference_date = "2024-01-01"
)

# Get ons verified stored energy in MW/month
verified_energy = ons.verified_stored_energy_mwmonth(
    filters = {"subsystem": "NE"}
)

# Get ons verified stored energy as percentage
energy_percentage = ons.verified_stored_energy_percentage()

Support

For questions or issues, please open an issue on the project repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psr_lakehouse-0.1.3.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psr_lakehouse-0.1.3-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file psr_lakehouse-0.1.3.tar.gz.

File metadata

  • Download URL: psr_lakehouse-0.1.3.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for psr_lakehouse-0.1.3.tar.gz
Algorithm Hash digest
SHA256 1da22e3dfc98fa5a2f5eb0d31d68b0f129c6d8299eb4d4e065d4e3e171ec8fa3
MD5 94a7b48412172734f0abecbab573fcae
BLAKE2b-256 68f4890abb4da10edeb588c52711b4b92724fae9d958b7afcbcc4c77b9d0cbf5

See more details on using hashes here.

File details

Details for the file psr_lakehouse-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for psr_lakehouse-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 310e32a3b5c949b5a932a6ae55495695218f70849adf2a7bf0b2c502abe39c55
MD5 c587ae71835591f6d0525fc337816ab0
BLAKE2b-256 b086de6867adbe4eba49a00c182031062dab1a0df5175e53d5c14ce25bd2e18f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page