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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

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

File metadata

  • Download URL: asherah-0.5.0b5.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.0b5.tar.gz
Algorithm Hash digest
SHA256 fbda2e98860db53b5e976ab1f1b07ae055aff799fd310c0e35dcfc71e92007c2
MD5 0a332aa9c4340347b0b6af2e734229b4
BLAKE2b-256 f3b2dfa05c542227d25420d3d0580f4054393c75810f841a44144176a41d15e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b5-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.0b5-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 7e98403aace07cbb2f39410667f6bf5585feecbbb63d90c203d5b3af26dfbd34
MD5 f8f7c1b968ce5456ac29075d483fea24
BLAKE2b-256 33b599235126f9210c995645a731d258810e115896a40a8c246a673b8d8ca16c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b5-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.0b5-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0f8ee58169178531bc3061f7593344b20195032e1da452b04f5cf62fa210ca26
MD5 2686f116e020a00ca96cb8ae05cbadb1
BLAKE2b-256 cddfdefb1bf09d222c625b9eda2dd598f028323c10189c9c68b2166c2a8c3b87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b5-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 20045efc0fa822417aec22ed1befd5d12f12a32a288abdcd8a8fe17004205f5d
MD5 85e4b974220f841e78eab1f6b9d82109
BLAKE2b-256 7f55f9706bd39233208db58bc65b46b2a1ea18c0d549771fc015be5ca78a3779

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b5-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d0a099efa1b834d56184bca541064a7458753449bc76ce70a98b03e5ef6cbb15
MD5 529e933e98cb33bfec6ef5e98b192383
BLAKE2b-256 298e57d238acc7991bfc90010b38f2686c7df7ca7a01af49d86b76a9ac71d749

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b5-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a77b7e3e7b62f5acc7069b81e5a225b9400912dd3ac44ebd32dec85009213a26
MD5 e5391b6d47ee70ffab88e10eaf291af2
BLAKE2b-256 b3cabf0f4349fa2d833effd43b479c8bfe8527d6879fbcd4528f564bff1d092c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b5-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a5fcd4fff2465ee10aa1d486f4021b4876fb5493bd527cc2387ba123a5c95cc3
MD5 0a1a928441bc3f33e744bdafbdb52b20
BLAKE2b-256 dd665807ca3519f3cdbc15f023274e2e4c003bec0a0e4bf3b3922c661f71114a

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b5-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.0b5-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 1de9fbeb231742328d2e65d5e427b097e0017f64b6839f7f1c11c74d3ca31e6e
MD5 1f4ae8dfafbde97938abb07474143c40
BLAKE2b-256 524bbefc005f293a6d049548e661d9934f3d0eac2b47e1d769f012c78273f0b4

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