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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.16-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.16-cp38-abi3-musllinux_1_2_aarch64.whl (13.2 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.16-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.16-cp38-abi3-manylinux_2_28_aarch64.whl (12.6 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.16-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.16.tar.gz.

File metadata

  • Download URL: asherah-0.5.16.tar.gz
  • Upload date:
  • Size: 172.0 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.16.tar.gz
Algorithm Hash digest
SHA256 e99d85d380d76ef7458eb6778e13413e3a992cd82d32069e303dc482ad575ad4
MD5 449c4e0dad59bb796a7f81a5f95bacdd
BLAKE2b-256 8111e4aaaf5e482ecb188e4066f926e0591ed2fd7b6befcb2199a873b05540fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.16-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.16-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 bc5773133140c82c36f4840e948099bc8f724057e975aa5614219a7d099fdfbd
MD5 74c1b99f575bffa8b49e8bf61adb4342
BLAKE2b-256 81b12721c403f3fb9b4ac736b3ba5e3a8ea8bcbabe8559a628ccb8343f3ec45f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.16-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.16-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dfb8e2109f8289058f1fb2f08003dfa678c0321528d569989ea8f1fb3f2f680d
MD5 bbaae4489acaccbe632ee447c16d039c
BLAKE2b-256 9a3385b484a6dcf4f44bb01a2883cd1ea112cc4a8612a35ead19f52fa55ddd4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.16-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 22d985f7c478e5da8bdc45690bbec89f93444ba383c0f8fbdb926335fc2e71a1
MD5 8a65f593eee5c541dae16636356692b8
BLAKE2b-256 46ac0d1a19989b7d129c3c4acfebe803b911569dccccf316b5ed55e303fe1afb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.16-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 50587a4b550eb8458812113da7212407fbd4bfd1876c48264ee48119e3edd785
MD5 fed3f83a9657b03a4cba240f62202fd4
BLAKE2b-256 cf2254abcb2778838efd7b6120f0856fdc310b9cee7c11eed7c5918473f1dc11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.16-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a472b507073b99be522cfc88c889be56eb1e32e7666724953178d58efdd885a1
MD5 44e52713edb0128762d1b44c38f01cc8
BLAKE2b-256 f2b639c4a559567e2d2113c88f24bc25cc26311d82dd53364b72da2b94fab578

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.16-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 978f670f573c18a3627a719d13d0dc3f056b3b2e8a55ae8af8d2848efa9b08c5
MD5 90df1e6f8169bec7870fc61b368bf9a4
BLAKE2b-256 6907c788f9f11fad362b133b496f5c7e51a38c02b2ee31c67b2fe837c0ba0ccb

See more details on using hashes here.

File details

Details for the file asherah-0.5.16-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.16-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 613eaa7873a09c75e87c8d73a1984e5904e249d66ccd544f46d221ce5ab3c2b6
MD5 9bf2bb570e46538588c59114078755a1
BLAKE2b-256 84441de7d28bc4d363f7327a69987eb631c283776b2f5cde69e0db9bb6df5cb2

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