active-record-mc


Nameactive-record-mc JSON
Version 0.7.1 PyPI version JSON
download
home_pageNone
SummarySimple ORM for basic operations in SQLite databases
upload_time2024-08-15 16:41:49
maintainerNone
docs_urlNone
authorChris Brown
requires_python<4.0,>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            This module implements a simple ORM for basic operations in SQLite databases.

The module is derived from a working example of the active record pattern created by
Chris Mitchell to supplement a talk given at the Oregon Academy of Sciences meeting
on January 26, 2011.

The original example is published on GitHub as

https://github.com/ChrisTM/Active-Record-Example-for-a-Gradebook

and the code is understood to be freely available under the MIT license as above.

The original code has been modified so that

* The column names in the selected table are obtained automatically by introspection of the database.
* The primary key column is no longer required to be 'pk'.
* Errors are reported via a dialog box.

Running gradebookExample.py demonstrates queries equivalent to Chris Mitchell's
original tests.

More complex usage in conjunction with active-list-mc is demonstrated in
TreeViewDbExampleAll.py. This program requires the Chinook database, chinook.db
from which it uses the 'employees' table.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "active-record-mc",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Chris Brown",
    "author_email": "chris@marcrisoft.co.uk",
    "download_url": "https://files.pythonhosted.org/packages/1b/13/00d7892296c3e45975029fd08d101162d97a6f7e32a7108aa6c72109c162/active_record_mc-0.7.1.tar.gz",
    "platform": null,
    "description": "This module implements a simple ORM for basic operations in SQLite databases.\n\nThe module is derived from a working example of the active record pattern created by\nChris Mitchell to supplement a talk given at the Oregon Academy of Sciences meeting\non January 26, 2011.\n\nThe original example is published on GitHub as\n\nhttps://github.com/ChrisTM/Active-Record-Example-for-a-Gradebook\n\nand the code is understood to be freely available under the MIT license as above.\n\nThe original code has been modified so that\n\n* The column names in the selected table are obtained automatically by introspection of the database.\n* The primary key column is no longer required to be 'pk'.\n* Errors are reported via a dialog box.\n\nRunning gradebookExample.py demonstrates queries equivalent to Chris Mitchell's\noriginal tests.\n\nMore complex usage in conjunction with active-list-mc is demonstrated in\nTreeViewDbExampleAll.py. This program requires the Chinook database, chinook.db\nfrom which it uses the 'employees' table.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simple ORM for basic operations in SQLite databases",
    "version": "0.7.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "542a3f3a401bfd7c4a2ff00c7aae7108d95fc69ff8bf793f779d5d7fe68dda41",
                "md5": "02410bbc2be0ab48105b04e3c46fb740",
                "sha256": "9345e4bb6fdbfe47a3fdc38f5eee8b948b87e3954ffe52115ad5e1a5877d2258"
            },
            "downloads": -1,
            "filename": "active_record_mc-0.7.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "02410bbc2be0ab48105b04e3c46fb740",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 6656,
            "upload_time": "2024-08-15T16:41:48",
            "upload_time_iso_8601": "2024-08-15T16:41:48.667908Z",
            "url": "https://files.pythonhosted.org/packages/54/2a/3f3a401bfd7c4a2ff00c7aae7108d95fc69ff8bf793f779d5d7fe68dda41/active_record_mc-0.7.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b1300d7892296c3e45975029fd08d101162d97a6f7e32a7108aa6c72109c162",
                "md5": "fcf30ce82d2c790b9696916df39d38a4",
                "sha256": "2f843938614187ecd60547519ee509ab61f45f8bc354e08833ccd60559a0b1f8"
            },
            "downloads": -1,
            "filename": "active_record_mc-0.7.1.tar.gz",
            "has_sig": false,
            "md5_digest": "fcf30ce82d2c790b9696916df39d38a4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 5506,
            "upload_time": "2024-08-15T16:41:49",
            "upload_time_iso_8601": "2024-08-15T16:41:49.955354Z",
            "url": "https://files.pythonhosted.org/packages/1b/13/00d7892296c3e45975029fd08d101162d97a6f7e32a7108aa6c72109c162/active_record_mc-0.7.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-15 16:41:49",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "active-record-mc"
}
        
Elapsed time: 0.32063s