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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyCyphORM-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 288ee9778b7445ea0c12441ab21f2d6fdf3c4753af7fc22b4687c8d824293ec6
MD5 39c468580c81b3bfe55cc1226b8c87d2
BLAKE2b-256 6fe127cf42d2d28335d25788b85b3c7d16ede122e6f7f0c5f8a7ff7946231861

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