async-cloudflare
`async-cloudflare` is an asynchronous Python module for interacting with the Cloudflare API. Designed for developers who need to integrate Cloudflare services into their applications efficiently, it offers a streamlined, async interface to manage DNS records, zones, and more. Whether you're automating website setups, managing DNS records, or controlling Cloudflare settings programmatically, `async-cloudflare` simplifies the process with easy-to-use Python classes and methods.
Features
- Asynchronous Design: Utilize Python's async/await syntax for non-blocking API calls.
- Comprehensive Coverage: Supports a wide range of Cloudflare API endpoints, including zones, DNS records, and account settings.
- Easy to Use: Simplified methods and clear documentation make it easy to integrate into your projects.
- Flexible: Whether you're managing a single website or hundreds, `async-cloudflare` scales with your needs.
Installation
To install `async-cloudflare`, simply use pip:
pip install async-cloudflare
Quick Start
Here's a quick example to get you started with `async-cloudflare`:
import asyncio
from async_cloudflare import CloudFlare
async def list_zones():
cf = CloudFlare(token="YOUR_CLOUDFLARE_TOKEN", email="YOUR_EMAIL", auth_key="YOUR_AUTH_KEY")
zones = await cf.zones.get()
for zone in zones:
print(zone.name)
loop = asyncio.get_event_loop()
loop.run_until_complete(list_zones())
Documentation
For detailed documentation, including all classes and methods available, please refer to our GitHub repository.
License
`async-cloudflare` is licensed under the Apache License, Version 2.0. See the LICENSE file for more details.
Contributing
Contributions are welcome! If you'd like to contribute, please fork the repository and use a pull request to add your changes. If you find a bug or have a feature request, please open an issue.
Support
If you need help or have any questions, join our Telegram group.
Metadata
Release files for async-cloudflare 0.1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| async-cloudflare-0.1.0.3.tar.gz | 9.3 kB | Without provenance | Details |
Release files / async-cloudflare-0.1.0.3.tar.gz
| Download URL | async-cloudflare-0.1.0.3.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a415e23faf5eb9cfca58336d679df47d7a8eea7c41dee7f4eb33acf09668f33
|
|
BLAKE2b-256 checksum How to use checksums |
2f74913afd1a3ea8b883809182aac7d69132e5afb2165f5da79d3478fb29e3d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for async-cloudflare 0.1.0.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.