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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

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

File metadata

  • Download URL: asherah-0.5.0b12.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.0b12.tar.gz
Algorithm Hash digest
SHA256 9ce6f65a0c23b150697421c72bc938b1790fe0a9ad8e0f50db9f6c988eaa4343
MD5 2ce1b825f75c0cfcda3185bc072d50d8
BLAKE2b-256 b62b9f2857e540e307cabbda7e0aa11c885dbf80481a952d121e6bff870a5db9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b12-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.0b12-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3eaa86e4045db980e4ffde72970339a4e829ba84e765a6523f61bef1ed996725
MD5 ecaa288498b9eebbfd55fdabbf7ae5a4
BLAKE2b-256 ab08f97a945816adf046adaed101c216f71265ca03cdcc3721eb7f2e2a92afce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b12-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.0b12-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a6e32150cbe0ef5d1eaa455c156e020ef730855bb017c2a00aee07bfb4f13da1
MD5 27e26ed0c6e05c1bc4b1c50da368af97
BLAKE2b-256 c293a988ff45333aeb88eb7ab6e9e3c52b54a15f0a0bfbbf4e00a3e9f354bf81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b12-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 acb9b8d776e29a557502aa5a721ed1d595c7fd1b90394f07c2b8309fb8f72388
MD5 0d29848a08da58ebb835a5ad509fc620
BLAKE2b-256 dea07fb0daa4792e954ac8388f0b2ce270eaf619c0cfd3e71c503f8d2e8f2877

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b12-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4d177acd6e1224c1f7de033a2460f9132c3e1aab5335ec6595c594132d33049c
MD5 c1a5e9ae6ce73fed3435ee775e5c6dad
BLAKE2b-256 5413c2710a2a2c6624f57cff93aece1d0ef285e28268c405334430d23db8cc15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b12-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c47e1ef18379bd7ac511a238e6347464de26f720b520d1fc6bc1a95289643c36
MD5 f758e3a5e96ba4446e3db445e1997955
BLAKE2b-256 458c229e21faa7c78204808b04e566bf5192a4a97979433292c067a790666a8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b12-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8940d8a531013b1d8b1725243a5dd254cd45420883caff42d812ae17d5864775
MD5 5fa6bad14ea042dc04d4723062a45e86
BLAKE2b-256 4ffaeb2098fc79642be3444b9fda9b14242d537aaa48110ae172ee4e23188f88

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b12-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.0b12-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 2cc08b4a63ad54d8865f03b7a831e317c7404ac498d24ea9ac950f30248fee90
MD5 90e8a632329889ea94f84aa9acb64f88
BLAKE2b-256 ae8cb4563beab84d940cede7e9fdd8ded797b0f124ebfab53f45aa51af82bb42

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