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.0b7.tar.gz (191.4 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.0b7-cp38-abi3-win_arm64.whl (6.2 MB view details)

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

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

File metadata

  • Download URL: asherah-0.5.0b7.tar.gz
  • Upload date:
  • Size: 191.4 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.0b7.tar.gz
Algorithm Hash digest
SHA256 abcffd119d4a7e08129e2f6374ed1a425d9410cc112c7e226d5d02c82ae218cd
MD5 9949a777552b47fb91c7807fe6368074
BLAKE2b-256 c08425ad6b9ae56c5f412d39bf9b6ce48d4e715af47417be1fa0094f20407bc9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b7-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.0b7-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 33cea157b55361edec2832cfd818da429f66a0b789fea753948357b4905c7a42
MD5 f2857cac1c67c0864b9c0958ccdeb15e
BLAKE2b-256 c29cc4a7c3188bd061d4731902edb2e868523bd06ab6bd9dd2ad65cbbaa8d9ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b7-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.0b7-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 61702e298b984fe07ef325080e146ca1f306082d92c533cad7ba1ac98244e882
MD5 4acd1269ac99e9eafc087a64108ed9c1
BLAKE2b-256 00547db59f6dca3dcd3cd8d9f08cace916e91ad88bbcf1bf831b53108f39e05d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b7-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d81c33efb061b572a1fd2fc81dec3e8e9c88829e8ce1fdeb37216cefe4902fb5
MD5 b33935d259e1196dfce771dd0172f781
BLAKE2b-256 001fc6657b9eeb868660d7f8e582e6e5243ac6f161b501734d5af8bc795a4b08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b7-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 31a507fa9918089ab177151da648bf943d9bf970724be427031e7a2b37cd6b0d
MD5 7bd0747720abad1fb96128c9698ee7b9
BLAKE2b-256 07c48859269c2cfaf374925d641f4e744e28a421e6718eaad154afb8a121034d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b7-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1422a169fedcab8cf611fbccd59da4857424b33d7bdf6e2f0e48ff869e7e6a60
MD5 1d2fe53bde3c6633944617c9b98399d0
BLAKE2b-256 ed86b854730cdc69369c1ddfe080ead19304ece35c968e5a3d406d26e54683f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b7-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 21066eaf49799e9b2159e2443a0584859b077f64a420c6aa14c6f517c639526e
MD5 c1e88627696767e80640e7c3e4895a19
BLAKE2b-256 c325b1589449c5a01f2d88f1f8dfd98244112466607f71b948c363390ef4800a

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b7-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.0b7-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 e38a78052c98a7a5c82cae78612d7180f491b68efa04c8b6b3af67d8c31aa370
MD5 45881d228d8c344ebcc5039f91d413e1
BLAKE2b-256 1952e779facc51948f39d02600805d5c7a1c620e279ccf0575a7e0b4267197d6

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