Skip to main content

A Python client for **READ-ONLY** methods in the Aurora Solar API

Project description

Aurora Solar API Client

A Python client for interacting with the Aurora Solar API.

Installation

pip install aurora_client

Usage

python from aurora_client import AuroraSolarClient Initialize the client client = AuroraSolarClient( tenant_id="your_tenant_id", credentials={"bearer_token": "your_token"} ) List all projects projects = client.list_projects() Get specific project details project = client.retrieve_project("project_id") List designs for a project designs = client.list_designs("project_id")

Available Methods

The client provides methods for interacting with various Aurora Solar API endpoints:

  • Projects
  • Consumption Profiles
  • Designs
  • Design Assets
  • Components
  • Proposals
  • Webhooks

For detailed documentation of all available methods, please see the class documentation.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Testing

To run tests, first install the package with test dependencies:

bash pip install -e ".[test]"

Then run the tests: bash Run all tests pytest Run only unit tests pytest src/aurora_client/tests/unit_tests.py Run only integration tests pytest src/aurora_client/tests/integration_tests.py Run with coverage report pytest --cov=aurora_client Ask Copy Apply



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

aurora_solar_readonly_client-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

aurora_solar_readonly_client-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file aurora_solar_readonly_client-0.1.0.tar.gz.

File metadata

File hashes

Hashes for aurora_solar_readonly_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7360dd1b3edd168247c5c255fd445498bc7d7f5807dc03d798294b7a07000972
MD5 468abb78454936af9e5ecdac58cb4640
BLAKE2b-256 2d8f7b897a45e0358261051a8468d4cce046994bb18b5c1f364785dc3c11a864

See more details on using hashes here.

File details

Details for the file aurora_solar_readonly_client-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aurora_solar_readonly_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1561ab76c808348be2599183563df388478654bd73105230b59f42f191fc6686
MD5 8959380499772e3967987d970f336ec3
BLAKE2b-256 686fb681d6086cecdaa31ef94858ac432305461f8d74cb183105e07ba3f227df

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