Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

PyCyphORM-0.1.2.dev1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file PyCyphORM-0.1.2.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for PyCyphORM-0.1.2.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1074367bc52ad51cc76e0c781473ae490f393843ba7bf0278a94b4651b1cc48
MD5 fd1ca277885c9dda764f3e1d22f55870
BLAKE2b-256 5721f12a02a54f3738ee1824aa6dc30faadce8637ab0597138b52dc054b403c2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page