Simple mysql database library
Project description
Mysqllib
Simple mysql database
Connect
connect(
user: str,
password: str,
database: str,
host: str='127.0.0.1',
port: int=3306
)
Fetch one
fetchone(query, args=None) -> Optional[dict]
Fetch all
fetchall(query, args=None) -> Optional[list]:
Execute
execute(query, args=None) -> bool:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mysqllib-1.0.0.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file mysqllib-1.0.0.tar.gz
.
File metadata
- Download URL: mysqllib-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f21e8debff9738e10bbcfe844c6c4138985b69ad2b1b7316c0a68892ef3a212 |
|
MD5 | 230c48a626f5c28ea67c1bc95ecda638 |
|
BLAKE2b-256 | eb52122650d8efbde47b20aa45b433e56fe09ee91805a5ada0221550c9c821b4 |
File details
Details for the file mysqllib-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: mysqllib-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 935e6dae264757da241b839ffd772cdb7aa6d5081845c8057a5cba2fa612d953 |
|
MD5 | e33033cd52932f61740f304ef6ed1ab9 |
|
BLAKE2b-256 | 1657f657f416d019c9c4013be6972444a2927df00c526cdadc33db7207df9c7a |