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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.2-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.2.tar.gz.

File metadata

  • Download URL: asherah-0.5.2.tar.gz
  • Upload date:
  • Size: 193.3 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.2.tar.gz
Algorithm Hash digest
SHA256 cd93596408543d8ded6eca9889d38ea17e348e8dd5bec5324bf423a0b9874d67
MD5 11bb4a98f49264726329d4ed81e31d1d
BLAKE2b-256 8c29ce213471262395067513e90b9471138bec277b99be2eca9e2279c16cd475

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.2-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.2-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 e78b83450df5837547124aee2ee1b9a80f79c85ef9cb26b359fce633576f4e36
MD5 4f0f6939cf54e92539d95e4da9de7104
BLAKE2b-256 fed0f91f0e19626c77bc1ee3e20cf28fd18373ebca5b2bbf44353d84521e8c35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.2-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.2-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4dd794fe55bfa7e58dd284bcafffd3b83db878d587e514612d046aa3e641397b
MD5 ffd3102062a00ec300eb89dac6e45985
BLAKE2b-256 6af547c50e500ec29138a4113c782f1c4b63116054214f477ebd43cd38e13bc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.2-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9df5937e367d7df556d038bd2be0f07da15791fb4d2dafea5bfba3998c55a5f8
MD5 c98f32978fdf46f4bd1b754b623e8600
BLAKE2b-256 765176ef37c3624654786d34a471acfee04a9003d4ac1863c1cc2192286f8522

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.2-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 59e6675a310bd0b4223153f35680064ea1c13e0ad9af29b17dcfd7eebbfda5f2
MD5 6c8219e29c2a1ca991bd2de3bda64a7b
BLAKE2b-256 bae3ef2d5752c398d7ba3ccb0214d815a9c18b1bca6a27633bd7eb9f78c6c422

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.2-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8ca6286adbc062b100deb26f8e97e8916383f65fe3b6286984c702a1da56cbbb
MD5 2911f1f333fb6d2daf332bea6d4283e0
BLAKE2b-256 e53bd5852af9afd7589eb4ca0eff68f2dfe7be895db3816abef2dcc0032915c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.2-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 74617fcde3e1ea0c1dd486c9b03c6b9d4f8516adfe96a821858b117ee0fd240d
MD5 e3349ebf4dd456d15e1218c7c23cec4f
BLAKE2b-256 7b20668d5c90582259de49b99723c675c51839494a0ea0f5e8d59801af306025

See more details on using hashes here.

File details

Details for the file asherah-0.5.2-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.2-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 07905f8570bcc9c1e010ac528e63760f97969cc49c3746b91a246b2eb3b5f3e4
MD5 a96f17200fe203b479e422afcb8c70ba
BLAKE2b-256 2571452309bf413cbbeaebbb9d39b6e76c85f49ff133dfa905e7afd2a5d6fa82

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