Skip to main content

Asynchronous Python client for CentriConnect/MyPropane API

Project description

aiocentriconnect

Continuous Integration

Asynchronous Python client for the CentriConnect/MyPropane API.

Installation

pip install aiocentriconnect

Usage

import asyncio

from aiocentriconnect import CentriConnect

async def main():
    user_id = input("User ID: ")
    device_id = input("Device ID: ")
    device_auth = input("Device auth code: ")

    async with CentriConnect(user_id, device_id, device_auth) as centriconnect:
        tank_data = await centriconnect.async_get_tank_data()
        print(f"'{tank_data.device_name}' is {tank_data.tank_level}% full")

asyncio.run(main())

License

MIT License

Copyright (c) 2026 Greg Haines

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

aiocentriconnect-0.2.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

aiocentriconnect-0.2.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file aiocentriconnect-0.2.0.tar.gz.

File metadata

  • Download URL: aiocentriconnect-0.2.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aiocentriconnect-0.2.0.tar.gz
Algorithm Hash digest
SHA256 07ab59e39e568587b88350333d3bff19c9298fd534768fb6146c677c5301a585
MD5 c853841677856cf27138d69af32b4b7a
BLAKE2b-256 bc1c98e113d430f6759f3ea87b4933d9dd30211ae2d27abd21bfa0e1009e7b12

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocentriconnect-0.2.0.tar.gz:

Publisher: publish.yml on gresrun/aiocentriconnect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aiocentriconnect-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aiocentriconnect-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b90238eca1707968ff762f2dc031fe0f4977573521717af6a18c6b897eaafe2
MD5 460ed21b600c8fe6c09488bf16f7d46f
BLAKE2b-256 3565a9fd37eb49fa4d96cb424c9e6c5dbec4b3e50f868924cb90c3aa856d2da9

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocentriconnect-0.2.0-py3-none-any.whl:

Publisher: publish.yml on gresrun/aiocentriconnect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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