Skip to main content

No project description provided

Project description

Lakehouse 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.4.1.tar.gz (968.0 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.4.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psr_lakehouse-0.4.1.tar.gz
  • Upload date:
  • Size: 968.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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.4.1.tar.gz
Algorithm Hash digest
SHA256 dd4a42ea08fb40505a6e9a70847ddf126b0f5de39dc804e6c402a39e1622d3ee
MD5 8690ab328207b5c78337192fbf875236
BLAKE2b-256 194d6282985eb33af3e27d8336ad942232e7c8664edf41b63e37d769f114861a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psr_lakehouse-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2cb1f151165c7d0c49e6b2801faaa82be8c595bc2b497edc5eda9d965484468c
MD5 4d492c9c851c355ed30d4815fe33a3f9
BLAKE2b-256 12c1d7b4139a8fcbd07678d1390de5ae54ac399127ab04b66c860cf190467b7e

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