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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

advjson-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

advjson-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file advjson-0.1.0.tar.gz.

File metadata

  • Download URL: advjson-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for advjson-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0c44c74922851f926177fa20773c562228451019e297ec78985a4eaa51b8649b
MD5 6610f0a51e8d5eee880cae84ec77fdd2
BLAKE2b-256 34a272afeec4065091d2ce279909c5f6da68fa017f242e4d82a32c18a8ed9239

See more details on using hashes here.

File details

Details for the file advjson-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: advjson-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for advjson-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d1c23e320ab1f593da8d483ba7653f000be10ede0a54f0ee9f29cb3fb428bcc
MD5 b2a1aac7d1a4274d6aa6a33625b3e2d7
BLAKE2b-256 21648e7b4f3c6d3208dc416707400d667986cc39812e87f33daa320342bf18d5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page