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.dev0-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for PyCyphORM-0.1.2.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 39030de37300eb03fa71449801289257ed6509cc403cc0fc78841c0a20807ed1
MD5 e40461c2344317d3a783be755ba69d6a
BLAKE2b-256 d9d8fb8857558564b833f437cc9eb02590803415aaacf6b00b6f99f4024cff12

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