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.9.tar.gz (201.6 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.9-cp38-abi3-win_arm64.whl (7.8 MB view details)

Uploaded CPython 3.8+Windows ARM64

asherah-0.5.9-cp38-abi3-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.9-cp38-abi3-musllinux_1_2_x86_64.whl (13.0 MB view details)

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

asherah-0.5.9-cp38-abi3-musllinux_1_2_aarch64.whl (13.2 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.9-cp38-abi3-manylinux_2_28_x86_64.whl (12.1 MB view details)

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

asherah-0.5.9-cp38-abi3-manylinux_2_28_aarch64.whl (12.6 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.9-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (18.8 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.9.tar.gz.

File metadata

  • Download URL: asherah-0.5.9.tar.gz
  • Upload date:
  • Size: 201.6 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.9.tar.gz
Algorithm Hash digest
SHA256 9d1cdf4f281a4b850fc641e3c91233a1aab946cadfbb35b1755bd9c721e2c81e
MD5 d6af8e1a42076d0537083e61564d8108
BLAKE2b-256 065f3d28b206d9818aefe920e0954ec868838b433182ac12be56472141f9754e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.9-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 7.8 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.9-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 5688d89a9dcfcf1a0bf42c128d3baea566fddc9aece46332dc72a241d94e91a9
MD5 580b84bdb1768d8bbc1d88a1f794c2ed
BLAKE2b-256 c17f98ff758dcaba85e46d0a0fb75deca1fb6cf77559aa8e6e3f543fb240b8c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.9-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 8.1 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.9-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bf1a1b73b7bced4e328fda2c85abadfe4cb622dadbba5c4ee3bea8b2afe0af18
MD5 6bd11e747466aa0e3710c8f87549cf53
BLAKE2b-256 862829d6cc36b833721ec590901ca7ea601e6006dd6e4061676ec48bba0ccd37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.9-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e11c96ad18b102dd3ba91136ea801e09f9de2d84597946bc2f672f1c5a2ab1b7
MD5 b8e6d9db48af6b83ce30a2703f330411
BLAKE2b-256 293aa32881e1126e7e7261c10d269f2d5ae742dc9dfab7d5767201e57373446f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.9-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 535fe38c386b784f58b17c151fd48e159a1676c9e6f48c7e755e581b054aa922
MD5 8e314565191c2e67ef9379dd2e724c3d
BLAKE2b-256 47719422f40fc39dbd7b7132f62b5e007622e1553bb0ba10c1c36f5948b6a979

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.9-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9f1b57cc64f9247b59b3fd6c3aaaba01be35245bc1812c78a7f2b3d2984ee9f0
MD5 1a7c639a79ed0f7d3b30d3a871a54eb3
BLAKE2b-256 df7545894ae9e923f4ff96330fb24ac1bd4397f012b5a131a43354e81170e660

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.9-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b79ee3b0d1385f95805865278944ce80134e9b268326171a66cde05fc00ac1e5
MD5 7dd3c82f0e27398fb6fc38cf5c000c10
BLAKE2b-256 aa6845a5438d217dd6249d1feee0282f992e761640b2d6706dd8f37846fb03e2

See more details on using hashes here.

File details

Details for the file asherah-0.5.9-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.9-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 6fa4a7955dfd7dfd5618e629fc445cbac9d7b5b1ff25492f3ee736fe0a702d48
MD5 7cbc763f16fd9f2b78427aae8a62f733
BLAKE2b-256 104a2207e884d370244dc9987d522d9eecccf16a7aa5c20b95eb69ae6b940641

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