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.20.tar.gz (175.1 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.20-cp38-abi3-win_arm64.whl (7.8 MB view details)

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.20-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.20-cp38-abi3-musllinux_1_2_aarch64.whl (13.3 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.20-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.20-cp38-abi3-manylinux_2_28_aarch64.whl (12.8 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.20-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.20.tar.gz.

File metadata

  • Download URL: asherah-0.5.20.tar.gz
  • Upload date:
  • Size: 175.1 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.20.tar.gz
Algorithm Hash digest
SHA256 e27234c78cf366fbb5804e005b64692d1f9701097e9a6be11e51118f2daaf030
MD5 a84334b6b62d5cf2753b313dfb0f23c8
BLAKE2b-256 d34a9c54891882dfc5d5cc796deacca44654b1f663408838e6bce65b2be64144

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.20-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.20-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3658c5d081f6b3f41ae66c7e7430e3a25173ecb41a8c2def4d2da25dc1700c7d
MD5 7b18bc780d8c6e51fa69566324b984e1
BLAKE2b-256 4f3d179d5f89673b60f6c5603997806464a2dcfe1376323790dded89c2e7ab0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.20-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.20-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9fdc69f64e22e988b5de5426a68b6c60f1acca6bc5011b90cc4bbd28eec94e88
MD5 a8a53f08429d69e7fb75dd906bc3e1e4
BLAKE2b-256 10015734b840f5ba03373138078d3690b4d5fed7f074e5c4ff7278e87e6a983d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.20-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dd09d33399f2eee902d37db101ca0c376f01ff69d0d376467a0acba62b88ddb2
MD5 6be65dbcbec8aa095dbb9b9923823c14
BLAKE2b-256 b286753623161f78bd5d5eb18aa31d5073801d2fb4f2d2e650b7e5cf5a08193e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.20-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0577ee5653f91712cbc38ed65dcadc568e3e0fb100d4ed338cfa3920aca6946d
MD5 7723b19ad8c403b617b3cd86f39e7012
BLAKE2b-256 b296e66d60c98b3bad7a7fa61f195e89a624b8891bb3c46d0af5ef359fc65953

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.20-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db90e5e12489b3a1dba59fe209e3443cc26abe3152736fc99719358eac78f55a
MD5 e1e1ab0f1d486ef09db07a0bca260e60
BLAKE2b-256 188da6628aee9242581463f8b81da3c214da1bd26ea6958027ff99b711aee973

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.20-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 80c366ceca5e5cd48a557cc31202d76ff9234b2547a67a98d8675181a256a3e9
MD5 5d9895af0f049034ca39b8c4e6c401cb
BLAKE2b-256 5178e3d061f0246f148ec71a8c11ebe53528baa07b10b074e093a4dd26639ceb

See more details on using hashes here.

File details

Details for the file asherah-0.5.20-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.20-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 80b1a8b111c0651d0b3d70f483bf5631336b661b6cc88d768a406f359708b7fb
MD5 25803fe30425b642d231601f849a6549
BLAKE2b-256 1bd1b72d3b9f55fa8d9e0eb993b62e62db0f7dd592b1d449c851d6e4d4513dc1

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