Skip to main content

advjson

advjson provides secure and optimized JSON handling with AES encryption, Gzip compression, schema validation, and multi-threading.

Features

  • Gzip compression for efficient storage
  • AES encryption for secure JSON storage
  • JSON schema validation
  • Multi-threaded JSON compression
  • Automatic key generation

Installation

pip install advjson


USAGE:
from advjson import advjson

data = {"username": "Brewlock", "role": "admin"}
key = advjson.generate_key()

compressed = advjson.compress_json(data)
decompressed = advjson.decompress_json(compressed)

encrypted = advjson.encrypt_json(data, key)
decrypted = advjson.decrypt_json(encrypted, key)

schema = {"type": "object", "properties": {"username": {"type": "string"}, "role": {"type": "string"}}}
is_valid = advjson.validate_json(data, schema)

Metadata

Release files for advjson 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for advjson 0.1.0
File Size Uploaded
advjson-0.1.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for advjson 0.1.0
File Interpreter ABI Platform
advjson-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / advjson-0.1.0.tar.gz

Download URL advjson-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0c44c74922851f926177fa20773c562228451019e297ec78985a4eaa51b8649b
BLAKE2b-256 checksum
How to use checksums
34a272afeec4065091d2ce279909c5f6da68fa017f242e4d82a32c18a8ed9239
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.12

Release files / advjson-0.1.0-py3-none-any.whl

Download URL advjson-0.1.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d1c23e320ab1f593da8d483ba7653f000be10ede0a54f0ee9f29cb3fb428bcc
BLAKE2b-256 checksum
How to use checksums
21648e7b4f3c6d3208dc416707400d667986cc39812e87f33daa320342bf18d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page