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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.17-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.17.tar.gz.

File metadata

  • Download URL: asherah-0.5.17.tar.gz
  • Upload date:
  • Size: 172.0 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.17.tar.gz
Algorithm Hash digest
SHA256 3ccb6d1e133388785e6a556def4890ed443b1eccdd9ccca5c64835526dcdcb87
MD5 760ffd9010153129d63b0f24ebcc5475
BLAKE2b-256 596f24447b81db8e5f5e0655bcfe60eed31b9dc3496a16a7b5e466de8a58136e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.17-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.17-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f5598aedaa09bb6976de56ca1f811e7f3a05323f4b6e3306ea9fa9b44c9729dd
MD5 3867b89e26c11813e367f452683a2e64
BLAKE2b-256 75139a3a8b3dae5dc86bbb583af259d72b2e338a6061108ae3ab18ca7e9bda48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.17-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.17-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d4733d0ff0327c52890a59595076f71a74b786696a5f54ffd203f9150846abae
MD5 82a7fccbc7e6674e4136ae7698a95a58
BLAKE2b-256 bdd90b6a74cb62c1f2e6b8e18594f688389745492e85a28f03eac19f94d2b248

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.17-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 293f5c8d480b447d984acf6cbbcf8461081ffe7366b99cd9417c95688ca86ac4
MD5 250c315e011e5efec786072d7273fdea
BLAKE2b-256 1ddb059df48797adf0d23e8e6861fbf6da61494c1560ffbf23038763ad892c46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.17-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 080309b8f06b040711eb9a520c24c24c5e136ed22d0c914ad9923d168a60abdb
MD5 c4293f3ec8cbef8966a2a80a1351e1fe
BLAKE2b-256 5eb3ecb469115b6a1b42d4887bc832f4ee4c79806aa41fc9e36382dabb284f41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.17-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 736fb53e12c02f897721cedcebd722a39dfd1fd9a136e2bb320eeac73fcaf105
MD5 51dd25829777d46476b071f2aed37543
BLAKE2b-256 8d8bdb69d4dd15313bcef896a58902b5754dd4bd0476aab4465a847b89b2d421

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.17-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a8f5f87750c769c457e364660775d4125d8eb59480fbc6c1bacfe47da21bf644
MD5 c087b5be6d00f9b5b2f60b2c83bd47b4
BLAKE2b-256 2166c5cb1549d298bfea59abf0b350b737bd7418c0e8c12170e6b8aa58162d25

See more details on using hashes here.

File details

Details for the file asherah-0.5.17-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.17-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 769c9d5abc900b700543501cd377f5cc5ce8d24a287d2193db74d2e7ea4c3527
MD5 c9a4f8208a1de59cef7f7bd22ae9686d
BLAKE2b-256 f1d329415768fa876f0a91ce807af3b59e3a50c9b61f2f2fb65f13119dda3e30

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