PyCyphORM


NamePyCyphORM JSON
Version 0.1.3 PyPI version JSON
download
home_page
SummaryA Minimalistic SQLite InMemory Encrypted ORM
upload_time2023-06-03 02:12:23
maintainer
docs_urlNone
authorjafrmartins
requires_python
license
keywords sqlite encrypted inmemory orm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyCyphOrm

A Minimalistic SQLite InMemory Encrypted ORM

## Usage

### Command Line Interface

```sh
usage: PyCyphORM [-h] [-i INIT] [-d FILEPATH]

A Minimalistic SQLite InMemory Encrypted ORM

options:
  -h, --help            show this help message and exit
  -i INIT, --init INIT  Initialize Salt and Password for
                        Encrypted Database
  -d FILEPATH, --decrypt FILEPATH
                        Descrypt SQLite Database
```

### Example

```python

from PyCyphORM.lib import load_config, ORM

cnf = load_config(".pyorm")
orm = ORM.instance(".cache", cnf["PASSWORD"], cnf["SALT"], {
    "Note": {
        "id": "INTEGER PRIMARY KEY AUTOINCREMENT",
        "title": "TEXT NOT NULL",
        "description": "TEXT NOT NULL",
        
    }
})

orm.model("Note").insert({
    "title": "Your Title #1",
    "description": "Your Descriptioj #2",
})

orm.save()

```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "PyCyphORM",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "sqlite encrypted inmemory orm",
    "author": "jafrmartins",
    "author_email": "j.afr.martins@outlook.pt",
    "download_url": "https://files.pythonhosted.org/packages/71/e1/b70c0df942bfa948dfe55f2600cfc66affe6fd31f1b80ac0769eae0d3cfd/PyCyphORM-0.1.3.tar.gz",
    "platform": null,
    "description": "# PyCyphOrm\n\nA Minimalistic SQLite InMemory Encrypted ORM\n\n## Usage\n\n### Command Line Interface\n\n```sh\nusage: PyCyphORM [-h] [-i INIT] [-d FILEPATH]\n\nA Minimalistic SQLite InMemory Encrypted ORM\n\noptions:\n  -h, --help            show this help message and exit\n  -i INIT, --init INIT  Initialize Salt and Password for\n                        Encrypted Database\n  -d FILEPATH, --decrypt FILEPATH\n                        Descrypt SQLite Database\n```\n\n### Example\n\n```python\n\nfrom PyCyphORM.lib import load_config, ORM\n\ncnf = load_config(\".pyorm\")\norm = ORM.instance(\".cache\", cnf[\"PASSWORD\"], cnf[\"SALT\"], {\n    \"Note\": {\n        \"id\": \"INTEGER PRIMARY KEY AUTOINCREMENT\",\n        \"title\": \"TEXT NOT NULL\",\n        \"description\": \"TEXT NOT NULL\",\n        \n    }\n})\n\norm.model(\"Note\").insert({\n    \"title\": \"Your Title #1\",\n    \"description\": \"Your Descriptioj #2\",\n})\n\norm.save()\n\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Minimalistic SQLite InMemory Encrypted ORM",
    "version": "0.1.3",
    "project_urls": null,
    "split_keywords": [
        "sqlite",
        "encrypted",
        "inmemory",
        "orm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e1e46f7cb73383c04ed1d5b2a3c852b247a4606dd847ee13adb9e24d54077e4c",
                "md5": "6144e971b7c037d6ddb3013e080377c9",
                "sha256": "ebfffd7a1e0ce7c7da079a941e49fdec06d36f0767f245112ff5e70dd4f7cf0f"
            },
            "downloads": -1,
            "filename": "PyCyphORM-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6144e971b7c037d6ddb3013e080377c9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5188,
            "upload_time": "2023-06-03T02:12:21",
            "upload_time_iso_8601": "2023-06-03T02:12:21.755621Z",
            "url": "https://files.pythonhosted.org/packages/e1/e4/6f7cb73383c04ed1d5b2a3c852b247a4606dd847ee13adb9e24d54077e4c/PyCyphORM-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "71e1b70c0df942bfa948dfe55f2600cfc66affe6fd31f1b80ac0769eae0d3cfd",
                "md5": "ea1d677614aed12ce2aae8de68f07851",
                "sha256": "e442085a8af48e2905e4a33e9fa325a91ee8461b0d008e333b38aee3264c8506"
            },
            "downloads": -1,
            "filename": "PyCyphORM-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "ea1d677614aed12ce2aae8de68f07851",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4261,
            "upload_time": "2023-06-03T02:12:23",
            "upload_time_iso_8601": "2023-06-03T02:12:23.845567Z",
            "url": "https://files.pythonhosted.org/packages/71/e1/b70c0df942bfa948dfe55f2600cfc66affe6fd31f1b80ac0769eae0d3cfd/PyCyphORM-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-03 02:12:23",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pycyphorm"
}
        
Elapsed time: 0.28641s