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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.8-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.8.tar.gz.

File metadata

  • Download URL: asherah-0.5.8.tar.gz
  • Upload date:
  • Size: 198.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.8.tar.gz
Algorithm Hash digest
SHA256 e23c90b5ce69000d70faf6062d33262af48d118f60692cd0d41228e0ef2b98b1
MD5 f2b8022f81ef3c78e93ca81b09bd5e61
BLAKE2b-256 933a34bd2b85bde50eb4d9e9c11a2b37eb3029a5fed88e9f649a5191751f6ccb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.8-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.8-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 1894fd002cf9cd8f4e13a1434e140bfff077958275b071979590b4b9707e28fc
MD5 242dd66ab415668367e9187c07fe7997
BLAKE2b-256 ffc1977233fa71fd398dae6338628eedee26d90188bf80810c36796bc66eb262

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.8-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.8-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3e1e496f5d6e2a09014093f3379fd172b513a025b603fca714d8fa2475491f6b
MD5 bc0d418e3d0bed1776c1059b669e30e4
BLAKE2b-256 1b49bcf1275372c9c06ac6ce9029fe23a465564af7eb152a47d3d3f110e46ede

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.8-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4abec63217bac63ca395fdf85974bae1bd3823371d382c40de5c288f981bc904
MD5 220baa27e2f2b1d32dfe35ec30823220
BLAKE2b-256 b3d3a6b7c84eafc096fe087eb9239bed19a5b2d802246d1e88384286b17d1798

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.8-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4e9c1272e9ae39ed697b97a1e1c0e1d41afe523958b85376c53af9bee30a7b05
MD5 9b59012ff15ef82bc20f6839ab7e2510
BLAKE2b-256 8163f41912b2115c02760f66acc77c97bd1e33e13d56da8b5b3e863acdf338a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.8-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1fe9ba4b8945bafa09050ee63ceaa88ff4105cc44c16f2426bd986619f13dc60
MD5 e117146311c2368990b069bfcb79e296
BLAKE2b-256 76e6d7f215532b2e76784608d4e297665748c2b4b813c299ccf31a8d0c89af2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.8-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1b7bfefabb095f6ba3d3fe72b5c85c39e91b29b53c4d5ec325d3fce4d049ae53
MD5 136519a6e15f5532d9ed9009fea3cfb7
BLAKE2b-256 070d63c95c9987f8827fb2f82d3b6dccbf5586f10997cbe3deac43186729a80f

See more details on using hashes here.

File details

Details for the file asherah-0.5.8-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.8-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 bb2c7f62d70b337c513aa1e67005b78fa7abe7c3021a156857059662d1f4c603
MD5 5ed733ed87b95c8a89b9331ba3d34b23
BLAKE2b-256 c86b371f8d625a834402a746d793dc48a8c51e18832600d0750618a107f327a7

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