Skip to main content

A MySQL class for more convenient database manipulations with Python dictionary.

Project description

#KaniMySQL

This is the fork from DictMySQL and change it to use AttrDict and use like ORM.

## Concept

While developping with ORM such as SQLAlchemy, ORM object management can execute unexpected queries. Especially after commit execution, all the objects need to execute SELECT query in the case of changing values. It is not a few times unnecessary. So KaniMySQL does require select queries when accessing a modified object. And update method is needed to apply changes to the DB.

## How to use All table must have autoincrement column named id like SQLAlchemy.

Anything else, just see the example.py. where method is mostly same as DictMySQL.

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

kanimysql-0.0.6.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file kanimysql-0.0.6.tar.gz.

File metadata

  • Download URL: kanimysql-0.0.6.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.12

File hashes

Hashes for kanimysql-0.0.6.tar.gz
Algorithm Hash digest
SHA256 51761918528cc6dbe440e153b9f0a0a5408b943efc6861f3c2e2cff5ae9d1641
MD5 7a9858c1d359f6b5ddb245a4f1f0fca8
BLAKE2b-256 e7ff39f69792559b3069138c5bb0b6610b8daef011e527e01ffe61cc2b7a3bc7

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