MySQLer
Easily generate SQL.
Install
pip install MySQLer
Example
import asyncio
from mysqler import Table, ColumnType
from aiomysql import connect
class FavoritefoodTable(Table):
user = ColumnType.BIGINT
food = ColumnType.TEXT
async def main():
conn = await connect(host="127.0.0.1", password="", user="")
async with conn.cursor() as cur:
table = FavoritefoodTable()
await cur.execute(table.create)
await cur.execute(table.insert(user=938194919392, food="steak"))
await conn.commit()
await cur.execute(table.select(user=938194919392))
print(await cur.fetchall())
await conn.close()
asyncio.run(main())
Metadata
Release files for mysqler 0.0.4
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 | Actions |
|---|---|---|---|---|
| MySQLer-0.0.4.tar.gz | 4.0 kB | Without provenance | Details for MySQLer-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| MySQLer-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for MySQLer-0.0.4-py3-none-any.whl |
Total release size: 8.7 kB
Release files / MySQLer-0.0.4.tar.gz
| Download URL | MySQLer-0.0.4.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a4afb793a7f728ca2ec14294e0a97e3e85cd480ffb46287a784a06993bbf972
|
|
BLAKE2b-256 checksum How to use checksums |
d2595ef4a1477bef910e1450daf2ce140eb790a58b8f37940054298dd03d7671
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / MySQLer-0.0.4-py3-none-any.whl
| Download URL | MySQLer-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e491ecffe78014a5fb1c2011b60dcaaaa238441a91c4b497a7c771392efe2346
|
|
BLAKE2b-256 checksum How to use checksums |
b3b395d7ec7819adbafb6b1bbb8bb1bc0c8d7af9317f9f98258d05f489066c45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for mysqler 0.0.4
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.