Skip to main content

Python bindings for Asherah envelope encryption

Project description

asherah

Python bindings for the Asherah envelope encryption and key rotation library.

Prebuilt wheels are published to PyPI for Linux (x64/arm64, glibc and musl), macOS (universal2), and Windows (x64/arm64). Python 3.8+ is supported via stable ABI wheels.

Features

  • Session-based encrypt/decrypt API
  • Compatible with Go, Node.js, Ruby, Java, and .NET Asherah implementations
  • SQLite, MySQL, PostgreSQL, and DynamoDB metastore support
  • AWS KMS and static key management

Installation

pip install asherah

Quick start

import asherah

factory = asherah.SessionFactory()
session = factory.get_session("partition")

encrypted = session.encrypt_bytes(b"hello world")
decrypted = session.decrypt_bytes(encrypted)

factory.close()

License

Licensed under the Apache License, Version 2.0.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

asherah-0.5.1.tar.gz (193.3 kB view details)

Uploaded Source

Built Distributions

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

asherah-0.5.1-cp38-abi3-win_arm64.whl (6.2 MB view details)

Uploaded CPython 3.8+Windows ARM64

asherah-0.5.1-cp38-abi3-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.1-cp38-abi3-musllinux_1_2_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

asherah-0.5.1-cp38-abi3-musllinux_1_2_aarch64.whl (8.4 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.1-cp38-abi3-manylinux_2_28_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ x86-64

asherah-0.5.1-cp38-abi3-manylinux_2_28_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.1-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (15.2 MB view details)

Uploaded CPython 3.8+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file asherah-0.5.1.tar.gz.

File metadata

  • Download URL: asherah-0.5.1.tar.gz
  • Upload date:
  • Size: 193.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for asherah-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5904defd60a27aa10f20bebd7e9ef7ec53f2e18b7c58e0307041506b848e702d
MD5 e3efc976ee873a776e0a03ce7032d56c
BLAKE2b-256 35db05a2f9196ee8a43b01747e04f97b3dd626d9eda8881af529965b6d600748

See more details on using hashes here.

File details

Details for the file asherah-0.5.1-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: asherah-0.5.1-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 6.2 MB
  • Tags: CPython 3.8+, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for asherah-0.5.1-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b0c414b0799ed64b4bb48e307ed178530a6f12e8fd22d5446a2a1496d6cf89fc
MD5 a1e410329f66dfeea7316287ea6ef582
BLAKE2b-256 d17ac0cf945e119c08ed4f8d15149feea08c02d5a464858bb2642efe5d87aa7b

See more details on using hashes here.

File details

Details for the file asherah-0.5.1-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: asherah-0.5.1-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for asherah-0.5.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 94ce9a4778c668c74e4c44a22d8d4f9b0b88246ae0b006fa6a747666c2fbded7
MD5 e2d475365137f8c90193d350381c622c
BLAKE2b-256 7b801c41cace1e8bc35f6b8e62932aadc26abab3d0730db702dcc08ad2fb45c0

See more details on using hashes here.

File details

Details for the file asherah-0.5.1-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for asherah-0.5.1-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 230a02cf238edb4d929fa1ad1db27d2000173974bac91583ae44bde29b1e5501
MD5 e282cdaab4d56fba869fa47c5ba1b931
BLAKE2b-256 68364d81293cc67c22260481d76644cc381aa33461cf6eaa40a184fe10fab242

See more details on using hashes here.

File details

Details for the file asherah-0.5.1-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for asherah-0.5.1-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e2f17d805f2e4b0a15e34276c98182baa12ae5d8f9f1315eac8a5b0940a1a03b
MD5 0358b3f81fd5e838831fc2d14be2bd1c
BLAKE2b-256 56a63e83552e89dea12495be18119c565bc676f2cba6175be9ead9a765652c67

See more details on using hashes here.

File details

Details for the file asherah-0.5.1-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for asherah-0.5.1-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 858c3d0db0d74bd5cc8b4a04528683891363939fdfaef78c450ee26948fdf57c
MD5 b69dcb0bd6efce0b3210178c4e078d64
BLAKE2b-256 4419988bd7cad523117c1d19e0985ec2f7092545846fa8c7f06691e428a5c7ce

See more details on using hashes here.

File details

Details for the file asherah-0.5.1-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for asherah-0.5.1-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9ae98bb4023ebdef238338d9fc66ca48eeb598bd8a9c8a39a611ec7b6bd67ab4
MD5 adaf25d6290e82a8b59c88539870069a
BLAKE2b-256 80adcef6416d01835f62f0fc8a3ba16aacc0b65dd3df54cbf45a34b8bf1b1f45

See more details on using hashes here.

File details

Details for the file asherah-0.5.1-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for asherah-0.5.1-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 2a899959005db94d92ff12b1353ecc844212171d9656e7760acfd8bd8ff1d929
MD5 dd6044d4c01c1ddee0c153b8c5b806c8
BLAKE2b-256 a7a72da0715db0e7c5126695d9be9344f20279729077945bf3d55141ee1da2f1

See more details on using hashes here.

Supported by

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