Skip to main content

No project description provided

Project description

QARBoM.jl logo

Tests PyPI - Version Docs

PSR Lakehouse 🏞️🏡

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

📦 Installation

pip install psr-lakehouse

⚙️ Quick Start

Configure the API URL:

export LAKEHOUSE_API_URL="https://api.example.com"

Fetch data from the API:

from psr.lakehouse import client

# Fetch CCEE spot price data
df = client.fetch_dataframe(
    table_name="ccee_spot_price",
    data_columns=["spot_price"],
    start_reference_date="2023-05-01",
    end_reference_date="2023-05-02",
    filters={"subsystem": "SOUTHEAST"},
)
print(df)

📚 Documentation

For complete documentation including advanced features, API reference, and examples, visit the full documentation.

Features include:

  • Data filtering and aggregation
  • Temporal aggregation with datetime granularity
  • Complex queries with table joins
  • Schema discovery and exploration
  • Custom ordering and timezone support

💬 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.3.0.tar.gz (1.0 MB 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.3.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psr_lakehouse-0.3.0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for psr_lakehouse-0.3.0.tar.gz
Algorithm Hash digest
SHA256 feec106374172ba855178514cfd05708ea45e363e18d89963f7720917390444d
MD5 c10ebfcae9b74f0323bbb3c5ac31f356
BLAKE2b-256 616ac769b2dca0809e5f0ff78bed8d6ae30c5859b90598ca62dba43a748ba6ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psr_lakehouse-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for psr_lakehouse-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47bf83603d5ab5431d83e84a2a53e457e2e50e1bd9245db33951b7e6e853b5a2
MD5 45a8976f0db9d0bc0c7cebbfe5e08c11
BLAKE2b-256 c824580fc258e7223dda01493133657f4ad61bb264ad2ae622f9c1449a9b017e

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