A common runtime for AWS Python projects
Project description
AWS CRT Python
Python 3 bindings for the AWS Common Runtime.
- API documentation
- Development guide for contributors to aws-crt-python's source code.
License
This library is licensed under the Apache 2.0 License.
Minimum Requirements:
- Python 3.7+
Installation
To install from pip:
python3 -m pip install awscrt
To install from Github:
git clone https://github.com/awslabs/aws-crt-python.git
cd aws-crt-python
git submodule update --init
python3 -m pip install .
To use from your Python application, declare awscrt
as a dependency in your setup.py
file.
OpenSSL and LibCrypto (Unix only)
aws-crt-python does not use OpenSSL for TLS. On Apple and Windows devices, the OS's default TLS library is used. On Unix devices, s2n-tls is used. But s2n-tls uses libcrypto, the cryptography math library bundled with OpenSSL.
To simplify installation, aws-crt-python has its own copy of libcrypto. This lets you install a wheel from PyPI without having OpenSSL installed. Unix wheels on PyPI come with libcrypto statically compiled in. Code to build libcrypto comes from AWS-LC. AWS-LC's code is included in the PyPI source package, and the git repository includes it as a submodule.
If you need aws-crt-python to use the libcrypto included on your system,
set environment variable AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO=1
while building from source:
AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO=1 python3 -m pip install --no-binary :all: --verbose awscrt
( --no-binary :all:
ensures you do not use the precompiled wheel from PyPI)
You can ignore all this on Windows and Apple platforms, where aws-crt-python uses the OS's default libraries for TLS and cryptography math.
Mac-Only TLS Behavior
Please note that on Mac, once a private key is used with a certificate, that certificate-key pair is imported into the Mac Keychain. All subsequent uses of that certificate will use the stored private key and ignore anything passed in programmatically. Beginning in v0.6.2, when a stored private key from the Keychain is used, the following will be logged at the "info" log level:
static: certificate has an existing certificate-key pair that was previously imported into the Keychain. Using key from Keychain instead of the one provided.
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
Built Distributions
Hashes for awscrt-0.16.18-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 399bd2ff0c2d4e300535e8077472428d60921c5c82c4060a5e73fd5cbd742713 |
|
MD5 | 2171e21d10019351b309dc58630d6bc4 |
|
BLAKE2b-256 | eb5e81b9680bec4a43c02d39c48f7475d9aa6de117eb3c0f5e81a74635c41612 |
Hashes for awscrt-0.16.18-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f58405e0f1f11a245ebf21f47e6982b803a4b2f8680fd024b6624c9bea86181 |
|
MD5 | fc075f2c8fd22c92498f1ea593c6f80f |
|
BLAKE2b-256 | b820b319f4effa9f5a3cc39899e24b11e927f6f252f3566fe1f273bd883e51d6 |
Hashes for awscrt-0.16.18-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c55a0bd03f6657f9ef2b9d438947538a091e3718637ee2bf2327cb57ea207cca |
|
MD5 | 7856ec701f736748e5ce75bb1ba4b8b5 |
|
BLAKE2b-256 | 9748f4a8e347d303415fece85177b424438a26c29ff29bed763984261baf2a23 |
Hashes for awscrt-0.16.18-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097211c1a15c1f7c4f7e3de6127443b4439d04b9af4933918fc5464b37963fdb |
|
MD5 | d4ff0be4177b76e746586d505587f5cc |
|
BLAKE2b-256 | 850dec8c2022984ee431eac4cf0d80aefdfabaab93943994c5f31f2ce3d23de4 |
Hashes for awscrt-0.16.18-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35c1433294980d5ed35e2b401a08885f9bf2ee8da4698ec48eaa46a02d710c09 |
|
MD5 | 2b4cc236e7165f2fc4824bd15bcf57ed |
|
BLAKE2b-256 | 5982eb165032f6eb142615ef66018e9b6128106d9284898882bd3667cdfb9b14 |
Hashes for awscrt-0.16.18-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5b43724cc87166704de2c2c1f6d406b6f6da114c59e6a672f8f5c7ba6e72bd1 |
|
MD5 | 55596b06eff1d51d4c2dbfa632185353 |
|
BLAKE2b-256 | c1168c58fdf6f215ca2fb85e99d17f6825d22a82dc8bc762970edd9636ddef0d |
Hashes for awscrt-0.16.18-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6fb14a372ef17264420440efb8fcb8570f5edb3a47e17aff598a53459e1e881 |
|
MD5 | 51f90c0aeb69a628615d8afe8803bc12 |
|
BLAKE2b-256 | 77f9661da320a608325f84c72a1b6566d5842f60fb6134b30e2ca224996b2b49 |
Hashes for awscrt-0.16.18-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bced82de9e231bbb56d49407803a6d44ac5a6ddeaa79692c5eac707d32aab876 |
|
MD5 | d854d0ebe171681b086e68b1281f6d4d |
|
BLAKE2b-256 | fcc81faebcdc77e1d957c579d775e4244f1ef9dafbb6c00d829a1512b5b741b4 |
Hashes for awscrt-0.16.18-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48e731ef3902c78d78fd6e8ee441391ede863fb5e4ca09a26dd005eb352082ff |
|
MD5 | b046002679e1eea7dda30ca76058cc5e |
|
BLAKE2b-256 | d042fa670c58c8ba45d3b5e437405952d2b235ae7fbe3bbcd9185c085053c4f1 |
Hashes for awscrt-0.16.18-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f3865f70d7aad2c30ab7a749a8a2d7d36228574d8b1fa5ba87c23ccfb36191a |
|
MD5 | 1343b6a796d1e7153ea58efb04e81bd8 |
|
BLAKE2b-256 | cc027a8fba3aec4bc3c5bfc57d9a814a51c8e475499c5e1c026d96b00f457a07 |
Hashes for awscrt-0.16.18-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35b0cb2cd2d92f6ff7e789841430aa88a085d8d00ec6c17614accdbf027a8bb7 |
|
MD5 | 1fda07505103aa038a58c94c3a69a0b2 |
|
BLAKE2b-256 | 415f72fb466ea99d60e203e5e1e13ab1de99ad16e5b4eaf4fd7e07f0cded4df9 |
Hashes for awscrt-0.16.18-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ab58adb2ff79139cfad37cc2987fe3dbc6315eb9964a35cdb673bd4ba626538 |
|
MD5 | a03af9b6209c985cba65cf17be04adc4 |
|
BLAKE2b-256 | b64a9ae909c59f52a7545b26e123b50363f080383c66cb92f44d865bd002fa6f |
Hashes for awscrt-0.16.18-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd133f975d469baa269ae28b6927aebb839ba87e16b2dcc51a09f542646f63c3 |
|
MD5 | 4758cbe849dacf89584546202196acf5 |
|
BLAKE2b-256 | 96da97efbdbcf7a5ca7fa39a44ca0c0001d985735582621c090318fff7e6a5ff |
Hashes for awscrt-0.16.18-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7da148b8cd911d4e94fe560d9607fb1c8804f7f901a2ca8d2ec0cc6148128b19 |
|
MD5 | 8120a0fc035fa900eae769b92a6830ab |
|
BLAKE2b-256 | b5de27eb3e9be0a91f925f98078a103e269cb002fa8ff7f5f0c566620d18001c |
Hashes for awscrt-0.16.18-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbfc45862841642279782f27b9f1319fdad3e386ac457e37ed08bffca42886d6 |
|
MD5 | 9716eab3dac3e78f1af41bea14a675fa |
|
BLAKE2b-256 | d1cd77c438127c034d4b0e718c1eb8beadbbdd9baf1b8d5f92332408553d17f3 |
Hashes for awscrt-0.16.18-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 457c3db38c5e8d011d26a7c00ccfa4556360a1d18e52e50ea12b41529b4b54b2 |
|
MD5 | e3ea4c36af80c41199ec4a78fb0a05e0 |
|
BLAKE2b-256 | 8ff7eea43c773b3d84065c9051e82330a22881c3fe8e39b204dbbeb3015e2932 |
Hashes for awscrt-0.16.18-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ae3c2f96d572ad13bd820c60c2e832325d68ff93bd374ec4b6ef5ef2d3441c6 |
|
MD5 | 4338eca477ba619f0ea67f1c80b93af0 |
|
BLAKE2b-256 | 02cf8aba704a8b76e127516374c582272e48d4513cadc151cca4672eed6fb51a |
Hashes for awscrt-0.16.18-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd07e903f5e824dbb6af4fc802893c9286536f1cecdd77dc3f7d7d28122a073 |
|
MD5 | a4f12553378639379c48f4a9a44d767a |
|
BLAKE2b-256 | 7425f68644b3ae37b3a4e12560d3f631f8df2c039220745900e5a995fe83ccf6 |
Hashes for awscrt-0.16.18-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bafd395a9a9ce4bb31aa074a98addb01d9e3840d4963c4eba2c86f53f67832be |
|
MD5 | 98bc77e7b104914c05c0d836e28f4d4f |
|
BLAKE2b-256 | 3d753b032388f7f54d9f5f27c0df38d21552fef332d1d63a06115f2860522a53 |
Hashes for awscrt-0.16.18-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0005e6ff3a9514000ce145b31c6dbf73d46d0dfd850dddd5339593f4dc36a2e4 |
|
MD5 | 11d6d28b63b37c598353cee04a395139 |
|
BLAKE2b-256 | 6ba847a2cc0a2fcbd52fe5f8cf3b0edbc51885163dae5158e4c1e239a099b044 |
Hashes for awscrt-0.16.18-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d76e10bb7d2a585bfc09a846dbfd650765d1c963276f80f9891e6c66e921770 |
|
MD5 | 8ddad2060c0aa77cfb14cafee354f9b6 |
|
BLAKE2b-256 | de25e5050bf5ac4e46bda0dc2f11aca5c42063b07f5699d1e356f5b22464526b |
Hashes for awscrt-0.16.18-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc8ebcb20e21b8155b84e4d00384ddc7b2c127f1518af82e5fc1d81cc276099f |
|
MD5 | 60dfc52577ed6b9d3ded88459affddb9 |
|
BLAKE2b-256 | 4a5b9921c56f09064ddbb223d68ae4a2995c6ffbe4f54c37fcbc7c8528017fef |
Hashes for awscrt-0.16.18-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce85dee78d1e288acd53758b66dbe363a6fa4f020c96dda5c8d85c6895d4494f |
|
MD5 | f3116d9f7a25838e547c5aa9edf78ab8 |
|
BLAKE2b-256 | dca411e965979e92b7ef82b7f18624b91a08bff5c0e3df7e802e3bc2f69da050 |
Hashes for awscrt-0.16.18-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83ce5747c690724430b00bdee877a4388e50c3e65777243795e635f7f2244b14 |
|
MD5 | 363da105d4dbaa0b3c8c0d1fd5c7b0a7 |
|
BLAKE2b-256 | f35afc04ee0c8367a45f10fc965d0c8920616df851137c5be414eb3e4f9596de |
Hashes for awscrt-0.16.18-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31167c4a31a7e6d2d2aef5b2e9f18973c9e75d116da6b5ee729c206ed865b397 |
|
MD5 | 83a1a0f584fa6b281ff0a21e9cc0ff73 |
|
BLAKE2b-256 | 4cc918bbca1993fefdab825e882a83df9e9a25e9c9253a28b74438b2eee04601 |
Hashes for awscrt-0.16.18-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aaa4298e67d1600100e8488928db790d433dadafc435a26aacddef20be19ac7 |
|
MD5 | 15630a8ef0be0ab9e759ba51e644b3b3 |
|
BLAKE2b-256 | 54a17955137e6e402ff88cbcc6bb92933cacf5a929353d30928ee1151d454d27 |
Hashes for awscrt-0.16.18-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f6592d2c6ea19069d7a79e623986f837cfddc2a39e743f3add917fc3dcb6446 |
|
MD5 | 2aec197db2802392d9a93adc41626a7a |
|
BLAKE2b-256 | 70efe2f11d316b576416e73720918212544f30d50583d2dbcf2a35754bfb68c5 |
Hashes for awscrt-0.16.18-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30bccb33a0964a20a135c2313617f5faf86c88b7545c887196ac8b125843ca8d |
|
MD5 | 347e55a49fb2584e2ff2db2b73742874 |
|
BLAKE2b-256 | d72ad64014c8b3f24203c0118085fc5a22b389f62ea1d11e3e22ea96771ad5b1 |
Hashes for awscrt-0.16.18-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c88788c03ed79706da179f34cb5b76afe1fa591b2054f40dee4f3ec4cd68f7dc |
|
MD5 | 9b831ac6b600d0421e6cc62575d30349 |
|
BLAKE2b-256 | 42d873543b14c9fee652123cc6478ee3018c70a73735c34520578a87d92fd49d |
Hashes for awscrt-0.16.18-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7b1036dabbb9077e546bf01a65b618eabc6d9a6a19f43c0c3e259b097c5e58b |
|
MD5 | ef9ba14950c1e06fdfc687ec575e9261 |
|
BLAKE2b-256 | 1996e831ea188160b4435690c1fbb54869e961a902cfc9147a9f56bb044784c8 |
Hashes for awscrt-0.16.18-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5f8b0e36c2fbb817c15e0f7220182ba9dbb8969ca342356b22043cdc09a1ed8 |
|
MD5 | 62a1b287b09e1b6d51193191907e4500 |
|
BLAKE2b-256 | 8f32b01f9755d4695d6e23660d0c3eb8eaa5bdebb7270101b22ee877360943de |