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.2.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.2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiocentriconnect-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 be5c6d1f7cd50851b995ab647112becd5ab208b31576aac3165f188e91cfc344
MD5 8bcefb2ad57a918968872731a629fa11
BLAKE2b-256 c2b3ace0a2443e012ae86789b6647c41f8f27a5f93a9c00834010ab7d384843a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for aiocentriconnect-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ee669853064cc8ee3509865006e133b502cdf39cffbc0388d4b19f0c1161824
MD5 d5e4c370ccff28b18e1fe90b7a0b2769
BLAKE2b-256 4a0a5a37de5621efcd3e88879d2593dd37c36a0018602b5015e7b079abdb063a

See more details on using hashes here.

Provenance

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