Skip to main content

A MySQL ORM for Python

Project description

MySQL ORM

Simple mysql orm

High Abstraction. Uses MySQL Connector/Python (Database Driver), connects with sql server.

Features

  • CRUD Operations (update(), updateAll())
  • where(column, value) Filter results based on specific conditions (chainable).
  • Relationshp
  • Handles Security (less risky) Principle of Least Privilege
  • Handle Transactions & Pooling (TODO: DatabaseManager _pool = None)

Example

call Python methods: User.find_all(). It translates that method call into SQL, executes it via the driver, and turns the results into User objects automatically.

TODO

  • Implement pytest

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

mysql_orm_lite-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mysql_orm_lite-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file mysql_orm_lite-0.1.0.tar.gz.

File metadata

  • Download URL: mysql_orm_lite-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mysql_orm_lite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 89bff37d6fa3ac5ad28a17ed890423885d4492d030d89a7d5e6a2e61c8a57dec
MD5 5c8b890aa002066fc1bf8e8f337d0267
BLAKE2b-256 0f27f9e9c83ec85ea63bdd7e1daa8bb8f0d60020f6dbc92baae0585a2a62eb5b

See more details on using hashes here.

File details

Details for the file mysql_orm_lite-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mysql_orm_lite-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mysql_orm_lite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1eeeb60d538b7e1a91d3a36e459dc72bc914536a6524b8be56f95da5830dbcf6
MD5 23fc52bc1a5772e3890473d3e34fc2ba
BLAKE2b-256 75e04948b1b1e7c5a9c5229092018eb2b87a3533f4a1e53a9a13da4a08d1b78b

See more details on using hashes here.

Supported by

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