Skip to main content

aioyoufone

Asynchronous library to communicate with the Youfone API

maintainer buyme_coffee discord

MIT License

GitHub issues Average time to resolve an issue Percentage of issues still open PRs Welcome

Python

github release github release date github last-commit github contributors github commit activity

API Example

"""Test for aioyoufone."""
from aioyoufone import YoufoneClient
import json
import asyncio
import logging

# Setup logging
logger = logging.getLogger(__name__)

async def main():
    client = YoufoneClient(
        "user@email.com",
        "YourPassword",
        None,
        True
    )

    try:
        customer_data = await client.fetch_data()
        if isinstance(customer_data, dict) and 'error' in customer_data:
            logging.error("Error occurred while retrieving customer data: %s", customer_data['error'])
        else:
            logging.info("Customer data retrieved successfully: %s", json.dumps(customer_data, indent=4, sort_keys=True))
    except Exception as e:
        logging.error("Error occurred while retrieving customer data: %s", str(e))
    finally:
        await client.close_session()

logging.basicConfig(level=logging.INFO)
asyncio.run(main())

Metadata

Release files for aioyoufone 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioyoufone 0.4.3
File Size Uploaded Provenance Actions
aioyoufone-0.4.3.tar.gz 6.8 kB Without provenance Details for aioyoufone-0.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aioyoufone 0.4.3
File Interpreter ABI Platform Actions
aioyoufone-0.4.3-py3-none-any.whl Python 3 none any Details for aioyoufone-0.4.3-py3-none-any.whl

Total release size: 13.7 kB

Release files / aioyoufone-0.4.3.tar.gz

Download URL aioyoufone-0.4.3.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
caf3b26ee369afa586ae4d59ba10587ae42d57b3ea48e0c26b186f6a80a7ce8b
BLAKE2b-256 checksum
How to use checksums
1fa88d1589c3c72ef1211ab66e9d11f010cf56c930822c57ff1f7cc11f32e93f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Release files / aioyoufone-0.4.3-py3-none-any.whl

Download URL aioyoufone-0.4.3-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e1e400fd875b1fde1adbec53371a49e9c8dd99906eac9764ea0938463aa0dd3
BLAKE2b-256 checksum
How to use checksums
9e48141e8ea3acea3788a90f27a7c48e4657758b154a43bac44d7e8b9bf191d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Security for aioyoufone 0.4.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page