Current collected state Current
Observed since 21 Oct, 11:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aiocfd1
An asyncio wrapper for Cloudflare D1 REST API.
A simple asyncio wrapper for Cloudflare D1's REST API. It does nothing but query SQL.
pip install aiocfd1
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())
[
[
{
"something": "lorem",
"foo": "bar"
},
{
"something": "test",
"foo": "baz"
},
{
"something": "abc",
"foo": "qux"
}
],
[
{
"something": "test",
"foo": "baz"
}
]
]
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
aiohttpEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | aiohttp>=3 | runtime |
bdist_wheel · 3.38 KB · Python py3
sdist · 3.02 KB · Python source
Observed since 21 Oct, 11:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:f6b7d408b18f1ddbff17b0e2d93d75dc814ba08c94cd260f844d0fb2bcad641f