Skip to main content

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


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)

Uploaded Source

Built Distribution

mysqllib-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for mysqllib-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7f21e8debff9738e10bbcfe844c6c4138985b69ad2b1b7316c0a68892ef3a212
MD5 230c48a626f5c28ea67c1bc95ecda638
BLAKE2b-256 eb52122650d8efbde47b20aa45b433e56fe09ee91805a5ada0221550c9c821b4

See more details on using hashes here.

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

Hashes for mysqllib-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 935e6dae264757da241b839ffd772cdb7aa6d5081845c8057a5cba2fa612d953
MD5 e33033cd52932f61740f304ef6ed1ab9
BLAKE2b-256 1657f657f416d019c9c4013be6972444a2927df00c526cdadc33db7207df9c7a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page