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

Uploaded CPython 3.8+Windows ARM64

asherah-0.5.13-cp38-abi3-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.13-cp38-abi3-musllinux_1_2_x86_64.whl (13.0 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

asherah-0.5.13-cp38-abi3-musllinux_1_2_aarch64.whl (13.2 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.13-cp38-abi3-manylinux_2_28_x86_64.whl (12.1 MB view details)

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

asherah-0.5.13-cp38-abi3-manylinux_2_28_aarch64.whl (12.6 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.13-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (18.8 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.13.tar.gz.

File metadata

  • Download URL: asherah-0.5.13.tar.gz
  • Upload date:
  • Size: 173.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.13.tar.gz
Algorithm Hash digest
SHA256 f833f21936792a82013268507f55f4c871c35fcdc53a0a6101311c4b96ea60fa
MD5 33dd03a7eb65fcaadfb8718c3944ccca
BLAKE2b-256 9609825af6918958250720e3c4b0ea3a15ba704a13f29376f0f770600e780808

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.13-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 7.8 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.13-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 decff16f61f2f664fcfbc0d6a45776db039c5c5756cf0821d58be3b6a9648afd
MD5 410628aa6e2171b258a649a0f200d63d
BLAKE2b-256 690193419276d2fc35e0f355110899e4a1221e1e0235bd33eb5e40516c41c429

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.13-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 8.1 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.13-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 605ebdeea01fb8753aaf15ffcd0c7526383b6eb837776201fc74bbb7ae960c82
MD5 237d2b353bc80d5af8259c057014fd4b
BLAKE2b-256 da8f83ae6ea75a884538165e7d762b05363439347e19beb315013c16bb328d4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.13-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a5e2b84bf1bdeb423897eda0086578f27ceae491ee9d259ea9dcaab6ab813bda
MD5 928e250f7fa64c33c2c495df8e311f28
BLAKE2b-256 847310615eb4a8b9700c6f5df4d00e195606929640cc89233c70e2c2d3feccf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.13-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0a584c8597c159ee9358b33f314281398193055c7533d0ed2dbac6fb61467d4f
MD5 45cd3d8d6b9cd4a5667e35e7c98e2dec
BLAKE2b-256 2efcfedd24270d05b322ab247b9ff1ec1505828488a2795f57d8c82081c4dcb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.13-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a163fc0ca2c9af9c79316896501eae8067742b94429ae16bde9eb04756ed5f5b
MD5 093b053c037fe268d7a45a877d7ca9ae
BLAKE2b-256 1a697f0298a19f1d008d7b758302cbc7a08e0ebca6813f3e36a5cb324ff6ac17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.13-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a655a54c1b6f20c45dd99598d3f5bd53706639bf68ddf31c05b6fbd1d3e53e46
MD5 0ad85d6959f61719c3617739f4c9d804
BLAKE2b-256 636f7095ef03dcfd9051d110bfe5105762ca14fcdff2d12a81262744ad0ca0a8

See more details on using hashes here.

File details

Details for the file asherah-0.5.13-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.13-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 713a7ad00ccd41b3b0edc521a01cb2eec830f6927d1681bfd07b1d4a0bd2b797
MD5 7bf5646329b0497aabd91e8699ee31d0
BLAKE2b-256 ff340f4b08d0a001c48816b310054db9f19e2f8ec0df9c13413181fb85d279d7

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