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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.12-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.12.tar.gz.

File metadata

  • Download URL: asherah-0.5.12.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.12.tar.gz
Algorithm Hash digest
SHA256 d2011a5cea46cbc061816715034b1c19ea5cfb470374d7851fb3a55fd9abf46c
MD5 865b9ba78544ebb8906e47e897f9f3c3
BLAKE2b-256 0e3cb593280fe0fd79ef7891be4ef9652058266ae9f8d7dd09bcb465318e8903

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.12-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.12-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 10828ac2d9a0601e28b68f218a574f5a3c4ec31c706b7629a7b9afba66729ea6
MD5 6f19132bc6c75631592e59818171e436
BLAKE2b-256 b77bfcad9f29140083f9d629888eb495c76b9c43007be1d86f6f52f16087c5ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.12-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.12-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8a62861cd1fe55d73b438a88842e59e55e9b08ef9324b898180d100d7ef58e42
MD5 41a14b82663f7cb26476199fb44076e5
BLAKE2b-256 47ca783cdc60271fb258c95c21c0230de04d80cde5499e255482245c484610cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.12-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9ae0da0c76104e722f52896494e0bedb56a029fb192efaf1ac3ad6c45e6b2d4c
MD5 b67502b5ac0d1f9303ae3c12dbd84ee1
BLAKE2b-256 def0f2681f8fc6532a12139636ea022cef1701ddbd758d775b5af65b05be1131

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.12-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6c014983af749dd935c4239f87789421863e4420a41ff4d329a2c4ab1d8534e3
MD5 aea73c928378eba2afda0deb43817dae
BLAKE2b-256 de0728a831c2cf56dc6c57d653c425773fcb472c11e876ff2f6886012b098570

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.12-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 020bb0ac5d6b1c7a4753ec532bc2848770b810092dc3247be926ceb8fd2b167e
MD5 7b2b84e414e49380d8957ce359d37fe0
BLAKE2b-256 9402ef5efccd5fe0c71a506b76f52ecfa64851e8268a0dfa07f19d80e0a84c26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.12-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cdf6bbd60599778e44b9350f754ef6b918ecb2c4e5e7a93e4a05428c37b40b0a
MD5 1368bafaf1a4761268b537659197e1f8
BLAKE2b-256 cf93f3a5bfa96bb000baf6043b60767f434aba1cc41e991e9d043d7e01079a7d

See more details on using hashes here.

File details

Details for the file asherah-0.5.12-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.12-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 2690c41946ac39dbadfc6b2dc87c8e8431e75b282e0790ee80eb3891baafa8e3
MD5 a6fcb747afd1d61003d9e2135418fb79
BLAKE2b-256 8dbe37917933d3b24da10b42accfe603df18964ad1d1385dd95f2a65b4b40a99

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