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.11.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.11-cp38-abi3-win_arm64.whl (7.8 MB view details)

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.11-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.11.tar.gz.

File metadata

  • Download URL: asherah-0.5.11.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.11.tar.gz
Algorithm Hash digest
SHA256 c66fbdeb74155075f7657856e15461caca674b8e3c547c1ed9f22fab1a8dada3
MD5 04d137efe28caab28fdf4bc90cbab643
BLAKE2b-256 5d3b85726eabaef185ff7ee0f2188315e52c5a415ad1dd6b61226925a10f8b90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.11-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.11-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 40bb85cac060d1dac8f40bdb343cc4b77d5de057f606dedee80cb85fb8836d1e
MD5 66be12ad84073af0736331c53ca91043
BLAKE2b-256 cbd6c0fee2c4893aebf5e1abbd687cc70c145f4b77f50c1b690fa17fa9275ad3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.11-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.11-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 76475117df72d7a66834700fbd9b5c77eb7998f934674def21974bacc75be191
MD5 9dd5744f105acc9973cf5092d4634e17
BLAKE2b-256 359b2a13373adce71d5ed9f385deccc62663ea7c650edae1d46da33c73c4145d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.11-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e08ee5f0f225f2dc6b37d7f697fcea9b198aa572fd1d8c32ec46cba46d8e71f7
MD5 94787734684a7620d18199a7243f875f
BLAKE2b-256 d34a29d2538e44b7badacea10e367410c2593d615abfc2e311e31908b319774b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.11-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bb440f1a587545520d0b9420bb994e721d0b18ecbbb35a0804740ec1c25eb115
MD5 9691a03913e1e50878c4a6c018ceef4e
BLAKE2b-256 2442e40754f379233df093a74ddd02cf4d6025364a5d5f5669dc411edc8d213b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.11-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ebc3f8342f3165ac41fc78636c176a72c0a097b80f058a49c7df7faf1dfc6a64
MD5 b118b8aac3c734f4978da00d3aebcaf3
BLAKE2b-256 18fa6393c49f0920d3a614092a3f081a89d1308df175f6908cf9d4019d9b62d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.11-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7042b72995113b98bb6e4a33b085ae41569305fdf2bceb7713f50eeeda230803
MD5 2bb48ca86c1eb8dd148aaf0af2eb4aa5
BLAKE2b-256 c2610c0ddb5b94503dc9771d2a84729be4095fb3a4c90fa77b71914aef99e28f

See more details on using hashes here.

File details

Details for the file asherah-0.5.11-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.11-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 f6f42c0141a4509620a2e0da3b990e4364fe18274235fc4d1b3d10b95205fc5d
MD5 1c2cf9e3753c032f84ff181bba1443ed
BLAKE2b-256 75fea7f5b6994a480f998250918531503c5c0fe7af5f58e8d5932ba9a2c7f948

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