kanimysql


Namekanimysql JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttps://github.com/fx-kirin/kanimysql
SummaryA MySQL class for more convenient database manipulations with Python dictionary.
upload_time2023-08-29 05:15:25
maintainer
docs_urlNone
authorKirin Fx
requires_python
licenseMIT
keywords python mysql class
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            #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`.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/fx-kirin/kanimysql",
    "name": "kanimysql",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python mysql class",
    "author": "Kirin Fx",
    "author_email": "ono.kirin@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/8b/7d/5a49fca9b71120c5d6ff416b3cdcedd16713eb06479d9cdf0bb9ba314dae/kanimysql-0.4.0.tar.gz",
    "platform": null,
    "description": "#KaniMySQL\n\nThis is the fork from DictMySQL and change it to use AttrDict and use like ORM.\n\n## Concept\n\nWhile 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.\n\n## How to use\nAll table must have autoincrement column named `id` like SQLAlchemy. \n\nAnything else, just see the `example.py`. `where` method is mostly same as `DictMySQL`.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A MySQL class for more convenient database manipulations with Python dictionary.",
    "version": "0.4.0",
    "project_urls": {
        "Homepage": "https://github.com/fx-kirin/kanimysql"
    },
    "split_keywords": [
        "python",
        "mysql",
        "class"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b7d5a49fca9b71120c5d6ff416b3cdcedd16713eb06479d9cdf0bb9ba314dae",
                "md5": "42189ee417fea54bd1eed25aaf8dafb7",
                "sha256": "7843c81279ecead5809dc67ad0ac03f9c6c7844e2b3bdaf1edfb6302f71bda27"
            },
            "downloads": -1,
            "filename": "kanimysql-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "42189ee417fea54bd1eed25aaf8dafb7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10986,
            "upload_time": "2023-08-29T05:15:25",
            "upload_time_iso_8601": "2023-08-29T05:15:25.242138Z",
            "url": "https://files.pythonhosted.org/packages/8b/7d/5a49fca9b71120c5d6ff416b3cdcedd16713eb06479d9cdf0bb9ba314dae/kanimysql-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-29 05:15:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fx-kirin",
    "github_project": "kanimysql",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "kanimysql"
}
        
Elapsed time: 0.10548s