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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.15-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.15.tar.gz.

File metadata

  • Download URL: asherah-0.5.15.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.15.tar.gz
Algorithm Hash digest
SHA256 7b1539ee1e9602fac7f065183f2682658380423c22e25a90f71cd6afebc074a6
MD5 3adca95325595c1cacb490ff34acc33c
BLAKE2b-256 799dca623ba04ca8ee25ea4d72e98af5c679bafc80b49e685a262b85655ae4be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.15-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.15-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f61dc006187f9eb00864bbd3b6424c6302c3a089397b5eb605412166918e075c
MD5 51a46f3c8cb960ecaf6f2797f9a7288c
BLAKE2b-256 2e3d2a619eb518b4d51dd40547b077fe66eeba8eff1b8021488a0784634d951f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.15-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.15-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e83928165c887f2543490b5cc05905dc9bca4a79f320ea4accc1b1965b82820f
MD5 314e4f4dbd065b73b5aa306f3b2ea179
BLAKE2b-256 a1262d4703edb971eabd49f36f9b411c3782927bada33d0a77674ea135cf00ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.15-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c7b9afce66e5482e5c29f29b1e316d413d8dcc290a96dab9b778ec7e24c90b97
MD5 2750b5ebefb491932ab89c8460ad34f9
BLAKE2b-256 2dcca40b15d893d52a83d4a22860bbdbcdfefb3657ff98304c25a1d811c2542a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.15-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a3085eb4aa8f56e3b177b2e1d6be59e009b02570d5ff1444077fff259c2c5ec4
MD5 1fed7f9b80ffb62093f3608e16ebbcef
BLAKE2b-256 584c6220260716f28fa1084cb5dfce2173d66df378ec11bfb47559abec728983

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.15-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6054d4d34467771db2688c9bb85e894a1facf3f422f95bd2178cce3b18b9cabf
MD5 c6f0f102e5c9ac43b05f1810dc4195ec
BLAKE2b-256 9f4b0cc880611c8b4e0219628d9bd71fb5b7a0ebce935061677e4db36f2b9645

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.15-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 437bb5540dcb128aa31a46f5f7895abddd70f39a865bb4f1f97dbc3723fa8f43
MD5 5c036a5aca5128390e641f8eb1cf628c
BLAKE2b-256 5ba70512c53a0befb0302a898f3ac0ff68e298913f65e1f3e0f4cf1cf1a8ce94

See more details on using hashes here.

File details

Details for the file asherah-0.5.15-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.15-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 e1158fb56d156931920ae615019886576624ab32990cccdc7dd28c2c966cbddb
MD5 eb56e2a587e7c08b3a98dae11748692c
BLAKE2b-256 c6724d7c3101ad544440ddb93cbb948c1eb22d084598ca0c21628ae9f59a133b

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