Catalog PyPI
Back to packageRELEASE DETAILS

1.0.0

PyPI

aiocfd1

An asyncio wrapper for Cloudflare D1 REST API.

Published18 Oct 2025
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 1.0.0 documentation

AIO CF D1

A simple asyncio wrapper for Cloudflare D1's REST API. It does nothing but query SQL.

Install

pip install aiocfd1

Usage

from aiocfd1 import D1
import asyncio
# Get these credentials from cloudflare dashboard!
db = D1("account id", "token", "database id")
async def test():
    result = await db.execute("SELECT * FROM table; SELECT * FROM table WHERE something = 'test';")
    print(result)

asyncio.run(test())

Output

[
    [
        {
            "something": "lorem",
            "foo": "bar"
        },
        {
            "something": "test",
            "foo": "baz"
        },
        {
            "something": "abc",
            "foo": "qux"
        }
    ],
    [
        {
            "something": "test",
            "foo": "baz"
        }
    ]
]

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
aiohttp
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
aiohttp>=3runtime

Distribution files

2 collected
aiocfd1-1.0.0-py3-none-any.whl

bdist_wheel · 3.38 KB · Python py3

Source file
aiocfd1-1.0.0.tar.gz

sdist · 3.02 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:43 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:f6b7d408b18f1ddbff17b0e2d93d75dc814ba08c94cd260f844d0fb2bcad641f

Other collected versions

View all collected versions →