A Minimalistic SQLite InMemory Encrypted ORM
Project description
PyCyphOrm
A Minimalistic SQLite InMemory Encrypted ORM
Usage
Command Line Interface
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
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyCyphORM-0.1.3.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file PyCyphORM-0.1.3.tar.gz
.
File metadata
- Download URL: PyCyphORM-0.1.3.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e442085a8af48e2905e4a33e9fa325a91ee8461b0d008e333b38aee3264c8506 |
|
MD5 | ea1d677614aed12ce2aae8de68f07851 |
|
BLAKE2b-256 | 71e1b70c0df942bfa948dfe55f2600cfc66affe6fd31f1b80ac0769eae0d3cfd |
File details
Details for the file PyCyphORM-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: PyCyphORM-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebfffd7a1e0ce7c7da079a941e49fdec06d36f0767f245112ff5e70dd4f7cf0f |
|
MD5 | 6144e971b7c037d6ddb3013e080377c9 |
|
BLAKE2b-256 | e1e46f7cb73383c04ed1d5b2a3c852b247a4606dd847ee13adb9e24d54077e4c |