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.3.tar.gz (7.2 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.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aiocentriconnect-0.2.3.tar.gz
Algorithm Hash digest
SHA256 46a251cef5d1505a774a0609217457e61f51c59f46c0455287a02ae7d5bf1f26
MD5 342d14147bead14c7b7afd67890f2c3d
BLAKE2b-256 76304725a4efa3c258c3a1c650bd06d36da6f28e18f6f6dfdc90fb1d3c66e227

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocentriconnect-0.2.3.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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for aiocentriconnect-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 de13964ff0d0ff948e105d51f1df45ebd43aa61f370d869838ac4a887d549d49
MD5 b1bf8ab31a8ffc1c8acf2bef7245e907
BLAKE2b-256 e56c18b19c3608d992b637152deef736c15a0e94cd8dac7a7b6d3891d9cd1e60

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocentriconnect-0.2.3-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