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.24.tar.gz (177.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.24-cp38-abi3-win_arm64.whl (7.9 MB view details)

Uploaded CPython 3.8+Windows ARM64

asherah-0.5.24-cp38-abi3-win_amd64.whl (8.2 MB view details)

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.24-cp38-abi3-musllinux_1_2_x86_64.whl (13.1 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

asherah-0.5.24-cp38-abi3-musllinux_1_2_aarch64.whl (13.3 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.24-cp38-abi3-manylinux_2_28_x86_64.whl (12.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ x86-64

asherah-0.5.24-cp38-abi3-manylinux_2_28_aarch64.whl (12.8 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.24-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (19.0 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.24.tar.gz.

File metadata

  • Download URL: asherah-0.5.24.tar.gz
  • Upload date:
  • Size: 177.4 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.24.tar.gz
Algorithm Hash digest
SHA256 2b78afc9960ff99daf162d92ab76c0a270d854789cc4302daea39c78375bffdf
MD5 1094daf9639e3859cc4b3e7072d23d32
BLAKE2b-256 3a4aeb3559d4d1c63ffdb8e1bc8cf8317744bc4f9918db8872d26fdaa96e8e64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.24-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 7.9 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.24-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ce143e616add49b0284c273857b76780fc613511992f2ab2f52fe097130456d5
MD5 ea328ad06504ba9804b942fb72d372b3
BLAKE2b-256 54eaae8440f50a69961dd1029635e239a690d60a4d216b645d8eb9da074a31f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.24-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 8.2 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.24-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b2a25d70d7cb57e8f2bde523776b4be3ded54f7d523a7f6121e62fe180d7bec9
MD5 e02f9e87fd378dd36cc72987c9307d3d
BLAKE2b-256 f774233a41782297214f554adc9d1e81d69d6115ff04dbf23056e6448444475a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.24-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 754bf4eb13c8c68e8f1880812a36b6230bafd5727fbf46e9c8083ea20b6463d8
MD5 ad491e50d0bc199e931ae72d249da09d
BLAKE2b-256 942a670dbd2c825c1e05beb67d79d6a8ad0965dcc49be23ea55e9ca3b126b480

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.24-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 095fa2ee60ce2b2f36169c21785dc0450f836f006081e0831d971e2777bdcc9f
MD5 6a7492afd3fa62ad527a2c886ef07bf5
BLAKE2b-256 780b12304a8320ca6244ff57f4a811c444046cc51073b91d046d3ba5d3c8bb62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.24-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 00d1c98cb26460b28fb91d2c84fa174cc70983783ba9a0351585440b7bd39615
MD5 d483d8b4ab26fc5cd89a17bcd59fc18d
BLAKE2b-256 261e01a8ba9abb4ee9cb16b4e021d23e1d94c10667d79a2f87af00d3d9a9ed85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.24-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 89b6bf72145a82139ebfe95e54e27d55057182e8be3f28eb212a6a2d6a6c8c8c
MD5 8b55b509b6b10e971e4c030ea2cf8231
BLAKE2b-256 cf9c2624be964ce7a7fb5678509db212b53b915f6679ddd275b3bc2765ea0f8c

See more details on using hashes here.

File details

Details for the file asherah-0.5.24-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.24-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 ed3f33cf7192745d2716700ffa05a7d13e42c3eed8f32166f7e235b9cfceaaf3
MD5 a1daef9d07f114fcd8e7283a11ded7b2
BLAKE2b-256 77cee62120c2188f4941f1afadb6fff0d86610990b46956ebdebd0ce02d0f99a

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