Encrypted JSON Database
Overview
This package provides a lightweight, encrypted JSON-based database with support for collections, document operations, and aggregation. It uses the cryptography library for encryption and decryption of data, ensuring secure storage of your sensitive information.
Features
- Encryption and Decryption: Uses Fernet symmetric encryption to protect your data.
- Collections: Supports creating, reading, updating, and deleting collections.
- Documents: Allows adding, finding, updating, and deleting documents within collections.
- Aggregation: Provides basic aggregation functionality for querying documents.
- Linking Collections: Supports linking between collections to create references.
- Tree Structure: Allows creating tree structures by linking root documents to their child documents.
Usage
from pyjondb import database
from pyjondb import session
auth = session.start()
auth.create_user('admin', 'adminpass', roles=['admin', 'user'])
# Authenticate and get a session ID
session_id = auth.authenticate('admin', 'adminpass')
# Create a database instance with the session ID
db = database.init('my_database', 'my_secret_key', auth, debug=True)
# Create a database
db.create(session_id)
# Create a collection
db.create_collection('my_collection', session_id)
# Add a document
db.add_document('my_collection', {'name': 'example'}, session_id)
# Read the collection
print(db.read_collection('my_collection', session_id))
Learn more about it at the docs: https://github.com/t-a-g-o/PyJONDB/wiki
Metadata
Release files for PyJONDB 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyjondb-2.0.tar.gz | 8.9 kB | Without provenance | Details for pyjondb-2.0.tar.gz |
Release files / pyjondb-2.0.tar.gz
| Download URL | pyjondb-2.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c6f5199edd49fa4428d5128ac03111f392821d6546d1263a455bdc4ccb3acd7
|
|
BLAKE2b-256 checksum How to use checksums |
7f5d7249aee36044f80f3a551a6483fdea03d9132b520cd90d777d86f46d6de4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.6
|
Security for PyJONDB 2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.