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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

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

File metadata

  • Download URL: asherah-0.5.0b6.tar.gz
  • Upload date:
  • Size: 191.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.0b6.tar.gz
Algorithm Hash digest
SHA256 871c557ea6b95ce80c146f340966c663412d92be09e5f5eb287f19534eea8326
MD5 441217e9da89f6de2f7baacc53976af6
BLAKE2b-256 2e759a0a84ad35d7b011fb66e04af453e6cb8779ea382e25c36058f38d5b1e08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b6-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.15

File hashes

Hashes for asherah-0.5.0b6-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 d51b05273e2e2212e0d2d05916f5ca9f3f80358fbdaa1e8cec243eebdee1833b
MD5 540320551d3f9850b0bfc46e533fe003
BLAKE2b-256 8b8dce31e5e7b4b5b25c8bfe6c2f7e808dbe158f4bc2917983047bff16a81a1b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b6-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.15

File hashes

Hashes for asherah-0.5.0b6-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 36180868484d78af50278e2ee9629082ad18108260138c1416a34e7a7b8ecbd1
MD5 3e4d84d589746b1eb0cb51eb7fb4ff19
BLAKE2b-256 0082cdc264bee4c9bdd8e6325a092d82e3c6555b0bbffc3f8c3b27057346ddc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b6-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7d71cecdf62d3a5ffda1aef668c2bee9a37d77652f02814e04f95fead3ba23d2
MD5 a9597ac0d8ac24ced77a6c81fb439329
BLAKE2b-256 b22505acff79b349a9ab20bfe7e36617ab3bb7eabe320d301dbe985319108b4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b6-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 87381a687b27a76b17b35701a45f80b4166a716bddd08044cf7b517a2725996f
MD5 c98a863aa3d05620f66e7b32a7c529dc
BLAKE2b-256 f4fbc353453a1206c448ffaac0efecb96c498ab29f531685bff283831a19cdd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b6-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 90131ae111dbc3522c98b9e2a31c852415e138396589bce88bab2b11cfa4a98c
MD5 4901ddbdddef7d83c39457583d7b3cee
BLAKE2b-256 fe1b062badc82a8c9ff3b3145841b0e35c2c2f2731eeab62989bc6b6db57cfa9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b6-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cafd51db2ecf87eab71bc3d6245c4a8b248ea0b0bc819b10fd7ab6ff1621b830
MD5 90a05c45f527ca21a43e66370c80e2b8
BLAKE2b-256 112ee40517631c9bf4bd3f51cb6c0ac69e0d408cb5e62aa62b577057e92da2bb

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b6-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.0b6-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 d57208fa7fc6eb6e6710de6476fd4f617260981377961cce804c6ff060706011
MD5 fced9b602b648e6e317601ea7ed9c301
BLAKE2b-256 555c2fcfcd5bcc91dba0b7e4fa7faca4ae5eafd84db90861305785cb466f228a

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