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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.22-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.22.tar.gz.

File metadata

  • Download URL: asherah-0.5.22.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.22.tar.gz
Algorithm Hash digest
SHA256 1ee9893eaea36fb97f225953f426b6e7c5e3ad84216f0873069aa97d81b810bf
MD5 79122eeeec351ccd16e7600977c0e0a3
BLAKE2b-256 5dec2428b7079c29476428abe8116159d9ea91fca112f824f33d55c3cf450a7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.22-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.22-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3b8a29094b3aadc5201049d73b6dfe735a96f5ed3f81f24114a90bef2043cb5c
MD5 463c69307a9781e4d542ab0ee1fff529
BLAKE2b-256 a979fdcf536a8c7e9e2d4151c87fc6a59df63b3888b54c6575f03c68e77a4df9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.22-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.22-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5f0354a81bd97d1c8ff389e5dd3536390f5115a28fe4f0c04efa4834d700c482
MD5 5717cca442ef97270fd90c7be769f551
BLAKE2b-256 2f0b1933632259114044b10742b2340e8724a5df4540222b05c48bea3c8f6cfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.22-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 41e7a80ee67f4aff79d79b71993c78440259c997f379c2637c932389fe339fcf
MD5 936274c2d982c097afe7a19be3ae321e
BLAKE2b-256 c865f931c3178fc047dc740978874e36c4f99dc8614184aa43c10c7eda0925a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.22-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 defc56940145480ffdc2ad99e44d811eb5da4eca892e7bff8924eb6a2ee4e0bf
MD5 baab80abbe43960514cb2aed21148190
BLAKE2b-256 f3ad9f5100ae2055f2f90b2077a7998ce6ee4d4c43c0850154318de8746dbfac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.22-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7f105d5b1a3aa2074b37e586bc6715ed534343779ac2409f8746a1230261ac87
MD5 67e25ce75287417389cbafadf388aa4c
BLAKE2b-256 05c5b3ac59b814f7dbd424ab3219934ef7d30c277549057a56e2901fce37fd82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.22-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8adb5e4039fdc08569cc47dc52bb089a4a4fdbdd0c18e1b2f77d16b5abcd8b23
MD5 d78e7d687457766c91c12e00a6ce5ed2
BLAKE2b-256 c2702766f685300f4fef53403f29dfc850a04893570cb74c9a074d5897b66468

See more details on using hashes here.

File details

Details for the file asherah-0.5.22-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.22-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 7663ff97619f31c8f0972b7687d39c078faa7a776a4ef836ee8f2c1c7b9ba685
MD5 cecad6ea9ec214d9b7f6d7c5c7256440
BLAKE2b-256 e4c4f19fcacfa70e46f7631c78c340eeb5b70dd9d1e4ad4f22224564374d19b3

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