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.0b13.tar.gz (192.7 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.0b13-cp38-abi3-win_arm64.whl (6.2 MB view details)

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.0b13-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.0b13-cp38-abi3-musllinux_1_2_aarch64.whl (8.4 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.0b13-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.0b13-cp38-abi3-manylinux_2_28_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.0b13-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.0b13.tar.gz.

File metadata

  • Download URL: asherah-0.5.0b13.tar.gz
  • Upload date:
  • Size: 192.7 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.0b13.tar.gz
Algorithm Hash digest
SHA256 32261ec69a4dbf601d62cbf92ca6517afd8e7c505a0c34e85b9be3ff2968d880
MD5 a22ed480c34e151bc6f87290d4e6b78b
BLAKE2b-256 61ff50d3f0a4b1dd69a03e4089d28eaa8d7db555e9e65824fc05bd496ea1745f

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b13-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: asherah-0.5.0b13-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.0b13-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 35108370aeec77ecb917362af0c9b9bd92121c8ace1acecd69220244761e8558
MD5 1d8442bf10034c6a833adfc397660195
BLAKE2b-256 5f993848e3b41417e812916d2518d89f1426cf44586c88c8fcc8456bc2e8f6f8

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b13-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: asherah-0.5.0b13-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.0b13-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8716bfb70d348c89722f7a0d2376d285c880516d949e9e0f00a8ae6464305255
MD5 50bc48ecb9db1e5a2910bc22fca24cec
BLAKE2b-256 c6c62cac3953142a62b28da592071758957c058e3cbe7d4a2e6c5fd5135c5cf1

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b13-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for asherah-0.5.0b13-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fe64a5835e1c6a984e5b5e4e90674f3e804761c8e0b42963d8a583b51a944a5e
MD5 17a442c367a7abe2adca4a6ed946c04e
BLAKE2b-256 01bc7604d501a5a76f662bb0252cc9cecd199d890f86cf782ca9dc7f9d704b93

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b13-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for asherah-0.5.0b13-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c3d4b270d965597a39b7ef6858b643d1d4ac67edecf211e3ee18a4ded46f51d7
MD5 5bfebe72c6e35b54d3b3e23705b1b512
BLAKE2b-256 8a78b97f43cfdf699c5cd740c844ddcc7f2c4b62c91ebb3fc0664bae6a3b1be7

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b13-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for asherah-0.5.0b13-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 81fb2e87422c36b1146a67fd112ef9fef00a54167c147828da8fe67e0a3c4bac
MD5 c476a3a9dcf324e0a21bc1f6cdf49853
BLAKE2b-256 c8b95e69c5f7af41cf8dd42cc7e644f7cfe8720942f5d1ca90dc78bf58a593ca

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b13-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for asherah-0.5.0b13-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a7d032f2caed85824cfd1b611de9743fded9ea71aca52cb2da0d6710bd44f467
MD5 ba1468552216bf405b627ff103fb55eb
BLAKE2b-256 acf49774e5f2fe68e8a43314f2ceefb844541cb2678fc885bdf41ccfa1045882

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b13-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.0b13-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 130e0cdbf06f229f19c3c1a8026b3e328d92252a96246e5e0b88828e99e048a3
MD5 d805ac1ac05c60073a49fdc061123258
BLAKE2b-256 c40ebd6762188bac34f54d5812eeb4d541639ef7fcb489c5417861fd0535327d

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