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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

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

File metadata

  • Download URL: asherah-0.5.0b11.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.0b11.tar.gz
Algorithm Hash digest
SHA256 3e59ca82e592dc42022b4947823db1d90d603b6fdb44f44c57aed815214bd8d1
MD5 f51a82053d9fdadb8ae70d1714bbf3a6
BLAKE2b-256 f7c90ed6d88390f0e4742206fd1d3cf5fde9d25d4eb12b282e2cedf200ffa14c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b11-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.0b11-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 c9aa588a6928177d709cd29f1a752919292e66e6ae3074618536153252b73267
MD5 6239abd28c7ec3f900f3c8987bf818ff
BLAKE2b-256 2e66aa40b8b46d251f34e496b7c5fbafd6db57ab7054bb3c8d52276a1e5fc95b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b11-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.0b11-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3cf0ef477bcf6a5f6bf3c74a5458dd142e3876ff3e22f95c15f0f6a3e196280b
MD5 24bad4b31814af54ed8cda8feff7fcbf
BLAKE2b-256 ae6ae76b30c6a31f788fc8a53026dd80210a2e2770cd4d4f4439e015b7ec74ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b11-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6845c9a4ae8745b3e9aae306a8d7222bb63f47ccf3377a4c7b48415474771240
MD5 6eee74b04a766cfe4052075506bb47e0
BLAKE2b-256 0732ef3514d358ad5ed3c5925b35413b097e59fe712dfe7e807fb0e346ec1156

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b11-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3296a6f8959acac5d06c9fb472a1192477ff7769a1098728fae7ec0264dd58a5
MD5 3518910d985401389a94f602b149785b
BLAKE2b-256 69fe6b3cdd84345cc41ed9e6dd9719eabc746d54ac77a09056c480e3822b9c2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b11-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4af327778ab9492c534f9aad83c29f04d983fd833814bde4bca5f9f67e6c1900
MD5 a50472490f4808d2b2b8b2b9eaec5508
BLAKE2b-256 eaa6c724b24d7553efbe9383889d9836e08030a867633a6a1c5721f1fc4979fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b11-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 eac3db4457970e06ee54576166e0da34153d56689e86922930a79faedf852243
MD5 c3a7d12099dbb90252dd6198280469e0
BLAKE2b-256 d482b049398160686864a8eea9a88497088feb60c42f1ee44228b6b1e69742f4

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b11-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.0b11-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 da7a8f7c368a4c80a51260f4fdb3d7956ccc71219f3e98479e2824685dbeb4e2
MD5 7289a6e9ac2fb8c50d0a1ba1f2dc9379
BLAKE2b-256 334cbd68ed44fe5e0d760865f65bbdffbd68fdf18c40d877f74c6015234bb76b

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