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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyCyphORM-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for PyCyphORM-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8084ce74e3b742002cdb4b672d4d5a6aaa5b8dd0b511fc4d99cd68623ccfad9a
MD5 dfbba54c5dfaedca7af86b5e7c3c2e5f
BLAKE2b-256 e22460f7d16268f17ee7685afeeb8da372c9df79c0db81b74972f7268369a42d

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