Skip to main content

d1-client

d1-client is a naive synchronous and asynchronous Python client for the Cloudflare D1 database API.

Installation

pip install d1-client

Usage

Synchronous client:

from d1_client import D1Client

client = D1Client(account_id="your_account_id", api_token="your_api_token")
resp = client.list_db()
print(resp.success, resp.result)
client.close()

Asynchronous client:

import asyncio
from d1_client import AsyncD1Client


async def main() -> None:
	client = AsyncD1Client(account_id="your_account_id", api_token="your_api_token")
	resp = await client.list_db()
	print(resp.success, resp.result)
	await client.aclose()


asyncio.run(main())

Metadata

Release files for d1-client 0.1.0

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

Source distribution (sdist)

Source distribution for d1-client 0.1.0
File Size Uploaded Provenance Actions
d1_client-0.1.0.tar.gz 5.3 kB Without provenance Details for d1_client-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for d1-client 0.1.0
File Interpreter ABI Platform Actions
d1_client-0.1.0-py3-none-any.whl Python 3 none any Details for d1_client-0.1.0-py3-none-any.whl

Total release size: 11.5 kB

Release files / d1_client-0.1.0.tar.gz

Download URL d1_client-0.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3e01ef6d7c3294ae0863ad1e6e7b51cb865db0c9e583f71e04fa1e0f22e4c3ac
BLAKE2b-256 checksum
How to use checksums
4fc4a6149ea5a72d3772d3aebb5d94468cc4d3d12e65fb959840e32bc2c0922c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release files / d1_client-0.1.0-py3-none-any.whl

Download URL d1_client-0.1.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34ecd0a296ab76eef01edc840cb7ffda47b15cf43296feaa4d75e609c6b9e94a
BLAKE2b-256 checksum
How to use checksums
0bfa3e8952c9055f615587914ba580fe498feab032348586a2aa0b879f9a170b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Security for d1-client 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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