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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.7-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.7-cp38-abi3-musllinux_1_2_aarch64.whl (8.5 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.7-cp38-abi3-manylinux_2_28_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ x86-64

asherah-0.5.7-cp38-abi3-manylinux_2_28_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.7-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (15.1 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.7.tar.gz.

File metadata

  • Download URL: asherah-0.5.7.tar.gz
  • Upload date:
  • Size: 197.9 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.7.tar.gz
Algorithm Hash digest
SHA256 fd4d9e59bfe820aebfe10b1bd59e5381784cebb866e1d8b40bcb8185f894ae05
MD5 b628850cbdae2e5322a749129b127b95
BLAKE2b-256 836ddb5976dc75883d90ceecbfaf94bc0c33c657dc299990c82004120294363e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.7-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.7-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 c2d038719eb3f8a7933f1ec0c03377e3945ac80824228082b974190ad0991a35
MD5 eb6be3553a9910c7e84563c903d5bf6c
BLAKE2b-256 d1fb7706acfc15bcfe0f4740dcb9c653080b5d571215d0adad81af395e072d67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.7-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.7-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 916c01b89cb6502a66257049efcad2cab1a6bf0a112b0e7fb9e26eefffcd0c29
MD5 7109b8cdd2db864653e2b59874fc7228
BLAKE2b-256 a1659b50fd4d92423f906a31eb688655cf7f6635f4411acd7cd33d6842fddf84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.7-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c2ad0605931edd36211f2d339a55f45f462b6f080e458fef262f4eab71f31292
MD5 b519d09371e3aadbd0995d6d6df1707d
BLAKE2b-256 27d4b8697d552914278cb1106afbb41900721f2580d1874b559055da0cdaab4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.7-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4e9ec31dc30d41171e86d65429ffc37fc67b3b0e3c3fd68ac5d50465c885918c
MD5 2a440bb35352ee5693d82e5ac46f9de9
BLAKE2b-256 13132a5deacd2471a986ff6c4acb11554406b702b9f199ed8f4fb5f5fd1b80fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.7-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2601220069656b12fdf3abab8536784bf5c424621df0749a85d7ade4e8c74665
MD5 e85d53681f1d152531983ac74e37a01b
BLAKE2b-256 c5f72e736b7b8c0ce68bfa19831f5e48a03692f81f19b5aa18a75ea5db9cf4e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.7-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 47d4c9a01e6eee682bfaac6dd62fa1252c91a878f198657e5f934b4703f242d0
MD5 faf7e2e99689d242afdddf95f82ce4f5
BLAKE2b-256 c74287e3ad2a6e920076f800499cd82ced21b119dd3d3371750275e6fb97bd3a

See more details on using hashes here.

File details

Details for the file asherah-0.5.7-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.7-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 e25f2b7c26c9d1a354f7effa2bd3b0edfdc6c3927438bf4a5b9b61616c1b1194
MD5 b3488ca4154b97ab03a03bba604d3ff2
BLAKE2b-256 8bc1831cc5d167fce5e92a2105723fb3daaba34a83f547cac9083b98e563dc92

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