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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiocentriconnect-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6aecc81ddbe46383f073eb9d8ad28a49fb8038ef7c849d2e979f367d8600e0e8
MD5 be046e67c82ef1105e41e7b954d4247c
BLAKE2b-256 7119a41ba09aef0445d4c5201a0429d80fee77823faa216be069b87d797f4cec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for aiocentriconnect-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 abe1c652c238f0dea177eaad1e040e529208d89bb69bbe60e4ace79739e2b78c
MD5 7183115c5c664cf670cdf9547d35fcc9
BLAKE2b-256 d01fd463e7b2d2d7b47c716cf4fedc7b7c766358c93b692c6c4efb24f3adc83a

See more details on using hashes here.

Provenance

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