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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

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

File metadata

  • Download URL: asherah-0.5.0b10.tar.gz
  • Upload date:
  • Size: 192.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.0b10.tar.gz
Algorithm Hash digest
SHA256 4d023dba024cb543ba2ac3eae511062894135450b02340c051ca06f2d6e08ca9
MD5 2ab7e373174d7c598909cd96fa8716dd
BLAKE2b-256 6e9eae11301627635460377a3add051e70596b6f7ef44ec7c28a6e904c9fa669

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b10-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.15

File hashes

Hashes for asherah-0.5.0b10-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f4c6491f7b2f1762a91bfa3a1621a14ea2d658c56819eec502f90b9a60d10c4f
MD5 3072d4bc122a4e9e57151bd1c1e2a3be
BLAKE2b-256 fda1d7ba6690798c0182e0f9ccf1e404412220f1b24489df83308ae54b0066ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b10-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.15

File hashes

Hashes for asherah-0.5.0b10-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3dcc459802eefeabbc811e398c7cabff02918fb64e4943a4931f47f6f643def5
MD5 207e571f44d372fd7af69a443c389d94
BLAKE2b-256 d4ed0988c3bc03f66debd682da9b35bac112bd1b6940f04e8e71fbafc3660327

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b10-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a3d5e7d2b85ff15d5dbb7502ba1b30395b2e5e23af219501dd444935b6b0c140
MD5 93467c4645baa77bee9533992091f4c2
BLAKE2b-256 540d24491150e7d3376292cfc011ff29bce3592ce779bd93bddc66523a112e25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b10-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 380234f4e5bbf337bde9e754125c473dce39fc01104d6374ee912e5e90bbcf77
MD5 b43236f6e37bdb1b09d77bd17270e6e2
BLAKE2b-256 3df1033eba833578b05ac61a1652482abd2331fa5e3f22105b8f0448524e9683

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b10-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 69a04261ab9a32d5cfbf9283945a239f52fbd3a44ed484b3c6ea7d35f9d3d742
MD5 b72b6b199b5629360fafbb4bff1f72f3
BLAKE2b-256 03a318d10af364d9865137694dd953bad860facb48f8927ddcf38447bf4b9979

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b10-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 67a1e244ce2a9a36263c52093bc4c528efac9543b4533441b6cb8e34643f38dd
MD5 c1364fdb70c5fa19bffb7fd828025170
BLAKE2b-256 3c93f8aa4658e6661cbe874d7c9fdaec4450670fdd076fd8d2054fa5a5e9855b

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b10-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.0b10-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 eb97f0f9e1c2df9cb446ef3d46f6021fc79778830f9d02188f8d420cd0002c4c
MD5 e1064e12ddd65544915d14b1799b0069
BLAKE2b-256 8fcceb29408ae437b3fde7f132c6863e1dd5f0e570ec68e8611ef7c3bcd627b1

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