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_py as 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.0b9.tar.gz (192.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.0b9-cp38-abi3-win_arm64.whl (6.2 MB view details)

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

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

File metadata

  • Download URL: asherah-0.5.0b9.tar.gz
  • Upload date:
  • Size: 192.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for asherah-0.5.0b9.tar.gz
Algorithm Hash digest
SHA256 adb54a51e3afd3ddc3aeb5acb5c9e8973da3e9f5c511a0c356dc41dedb141c10
MD5 91e18e4beda2ef0271cfcfb99f6e0413
BLAKE2b-256 e4167a26432f889799cbf436ab4a9a8778730855d02819bcf72e594544023e4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b9-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.14

File hashes

Hashes for asherah-0.5.0b9-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b503ccb36f7374d351983ea93adfa9cc0dc785099131bf610bc14bf1f8141940
MD5 106c68fb47a6e26002ba1a938cace0ed
BLAKE2b-256 73e930693618074fd89ee2e2e8566f50a3cc9ece1f91cacabd3f0aaa22337d42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b9-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.14

File hashes

Hashes for asherah-0.5.0b9-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ccf59fe9fd06eeab95b4488c72003b4b3cd85a4d0d5535b38ee36c8bdffb9da1
MD5 9a534db1610b55f544b9c1add1925e73
BLAKE2b-256 f525ec4469528ac8f13044702961601b0d7ed26672cd407412e94c44bed4e73d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b9-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6890e896cb76a765b5bb54ea731548d6928341cf43f01a38af322f39e73215dd
MD5 668bb3755934e1ad1906523bbdf4e13e
BLAKE2b-256 a505175f35dd7c5c8a9c037495755e04e49658e9909b1dbd3983b349af556c2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b9-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 138420c72a42973d17651c88182f191ab89bf01e0b414594af04452ec5712fc7
MD5 b88f06a0fdd790c1bcfec4b314034b66
BLAKE2b-256 6c3c502a299e4399259dd06f28ac17760fd61c030ea3049c349831c5e6ed3503

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b9-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3d33dcb27fc212fd4c69b3a69cd7c95e8f8cc0072342c2dc083a227aad17821e
MD5 37bb3e55d306dd0be5d73a69afc4aa7a
BLAKE2b-256 c04aad51332ab3585850681f6d39bb71ab94c647807edd1f3ac8d04edcd1517c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b9-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6d8a177d1c906c430cb95af3680eada6ad5f0832681e19613bda3af672653d67
MD5 2e7ae065212d592b53f636a1d97f51ed
BLAKE2b-256 65ab1c966e3585d7b9fb0ce0ccf11615ddb64f92dffeebc7785c0f5ed740189a

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b9-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.0b9-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 2eff1ad784f95054cf8873821cc8c9c499b4dcd24c9c1cb07204dd48d4b6d59e
MD5 a3e59c5108ca315e46de333b151f2570
BLAKE2b-256 b238b30285b611581d2d04bd8142a7ebcc7ad91590c7c181a72a1f5e004c9f78

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