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.14-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d147ee7751041156352a8646a39189c9f5abea935ed8eae64378ddce45836df |
|
MD5 | c2ccdd9333dab305fefb64f2674432c8 |
|
BLAKE2b-256 | d255fa369b888db444c41e5ac62aac4bf7ddb35fa0cc5a8c0e1456de41e72b84 |
Hashes for awscrt-0.16.14-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 059e9248decc2b4188fb05759ba5d1a9a363f775c80db81e9773e0404b68f246 |
|
MD5 | cfd5297513d9d2c6984cc4920aebd4be |
|
BLAKE2b-256 | 8ed3bafd0a8803d4cc702e8bcf81fa863c57d1e5cc780fbebe44ada939bf2de3 |
Hashes for awscrt-0.16.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09a56bf0c2153381058552509305fc1ebbfff5e839ea2637a9a380eb6f5b6b39 |
|
MD5 | 1b4756ba6b7f052c6ba385ed25a9726a |
|
BLAKE2b-256 | d27754546d4ede6f80287b3116b5e592be7a986bd61590f246e94613c3742477 |
Hashes for awscrt-0.16.14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d26f07a37bc0ae334fa975ab33ec87ebb370d09e553b9579cff2e7d14d77245c |
|
MD5 | c039cae579663c7b7712e730a2b194a6 |
|
BLAKE2b-256 | b37e95193d03b3d386a2c7407b6f4688e56e25ba25a1957b0d6dd1bab9e4616f |
Hashes for awscrt-0.16.14-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be97543ca4a0cf4569a10be18a704954c06e6c6fab8113124f2983ae6523e46 |
|
MD5 | 75011e204c78f63586783a8a05fbb6d0 |
|
BLAKE2b-256 | 54d62df47031e30a6b781b547dbf8514b22ec2bbaf1de186d24a635a65e1f53e |
Hashes for awscrt-0.16.14-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7285e20a85c4113025be11b625acd824dcb80b62bc6c51beb44197fa55fd6b2 |
|
MD5 | 7b5afebbb16d74c97ec29f49ab389a19 |
|
BLAKE2b-256 | 509ff1297281a11cd53b549607fc5aa4a896137fe22ae409bb2504a3b2e2d9a2 |
Hashes for awscrt-0.16.14-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5627f49e3bc182ff9c3839c6f46805afb575eb03b972eddaee3845c211b85bd3 |
|
MD5 | 6721253fd2c5a09d82d868974f53adc0 |
|
BLAKE2b-256 | f939228cda617a935640a364f0ba311af5bc1437c8df7a4096adc67ea6183af9 |
Hashes for awscrt-0.16.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05b2b976fe153769b4dc1688585f6b9de6de7c16594279954cc58c2e1f3138e2 |
|
MD5 | 4cac15a690a7bec01ae104a5089dc11d |
|
BLAKE2b-256 | 99c24bf4fcae2e6bb3eb250b9d92a5ee5431af1fe99638545baa1f17084cf1dd |
Hashes for awscrt-0.16.14-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0620cb6c94603c262844872352c1aa90cce8b04451024475fc52c57aa2a07cbf |
|
MD5 | bf97dd79a77ec7e952093d2ad952c34c |
|
BLAKE2b-256 | 83b6627397db954a064604e21d2c160a00b601e23ff9c4f3916c3f538d2b6699 |
Hashes for awscrt-0.16.14-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 292b40c5ce7c35ff7b9d48b3742d5f18ad01fdc8ced4d5d9d53b309b807f18ca |
|
MD5 | caa5ea6b8e814e38d64c46ea018466c3 |
|
BLAKE2b-256 | 6ee4558385be50c5f07962d87da4853f4fb5b83c17eea35f64822f3a4e1601c2 |
Hashes for awscrt-0.16.14-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50a0f2d9ec46a1292dcc5e93417b5544092bcb85df66c2999d605c5e72772a0 |
|
MD5 | 90265a90d3c25e9a603d34daa753748d |
|
BLAKE2b-256 | 89effb74c232e7f33a817b34c304c6dc7cb00cb08aa262a0b03f20387f514326 |
Hashes for awscrt-0.16.14-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa6cbb310f41b4a179fd03e2f05db0adbe5ad5976e04438977c85d2acfae16ec |
|
MD5 | 3a85705628372d2f74169b41ff089c8e |
|
BLAKE2b-256 | 48d2e67bf81b7298daa9c6c5ea33c1da096d2ce87bc041a846a9996e0d5c4028 |
Hashes for awscrt-0.16.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80551253804814777d74e56a742b4e65f9b4dd3176976d7dcb290873dece4bd6 |
|
MD5 | 07478c526ea4f92f6d3d46b27b83dfe7 |
|
BLAKE2b-256 | 12f41b8f1d19ceecd0099fce5af3126ff8fa7c9712c4c04802b4b1e3bcc50e8c |
Hashes for awscrt-0.16.14-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91d038f89c328d63e104e279ee7d65a4f19366e9acda9be39184ca3815073ab5 |
|
MD5 | 52c2540a12bc49c57db6e5bf45138475 |
|
BLAKE2b-256 | 67080d03544dfe4d64ff21bf98131d5b35986b94df202101c4540032df503763 |
Hashes for awscrt-0.16.14-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 961210bf1b9972519b696138fdfdc64ba39d17a05380d9ff1e19e05a854de5b1 |
|
MD5 | 4572155fe4b4c8537cc2fed3ec8f055d |
|
BLAKE2b-256 | 91b32fcc0cfeb30bf6a76fe2a10183662625b4d4b0c7615c4096ad4dfc40182f |
Hashes for awscrt-0.16.14-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e46ef643969077516d9d90e14c2c3dc19dd027177bb0d682f17467e2f9e8ee8 |
|
MD5 | fd9216721da17a6fc455e78bc2e99f30 |
|
BLAKE2b-256 | bf98e33b4e107f8fbdd01750d14e206755fdb6fe711951484486a1d6685efd25 |
Hashes for awscrt-0.16.14-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d56f67bbd7f4e11b616c633b023db6339bb0d303a5e7134ce3e19b1c2c4e1db7 |
|
MD5 | e95bfb7f2d41bc6e8961d3dd01b9bf4a |
|
BLAKE2b-256 | 57e56e7d418dcb84ea57f263266cd63cacdfcae5d6fbc7b20156e48c96dc21e0 |
Hashes for awscrt-0.16.14-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33b98c304859e4bebea889d852bb6d0a4df1cf4c6f83e2298e63d9f4b1cdd877 |
|
MD5 | f1699008130c30a7913428e947d1c6fe |
|
BLAKE2b-256 | cb5c7efde1c25d2b3deead90d4ce745e779303daca9102eeb213dd7a672d582d |
Hashes for awscrt-0.16.14-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eb81e6cc501621af656dbc3025e06c9ba55ecb2175ac9aa9fad474836fbc05e |
|
MD5 | 312b428f545dd840b71ee61f7d559e1e |
|
BLAKE2b-256 | 753c90a1f9c086222a8ec08aef70f618c2c8b1b2b73d5c40e9dbb96423331fad |
Hashes for awscrt-0.16.14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9826baa2d63eee0099e8f937eb2461d7d09bf61e9d34b4b0fd00f60523a58bac |
|
MD5 | 9c892a6b7e3252b6b3b84d92858a434b |
|
BLAKE2b-256 | c85217f0e90693b152318eabf61dd586f76e9e54c3bd17d18d4f1f1a4b3480be |
Hashes for awscrt-0.16.14-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bedb2aa48f10b983c6f16ce6ca206264d9d906b5027112f106c6eca3312f3a00 |
|
MD5 | caff132fe99716b926c2e4db8663eb04 |
|
BLAKE2b-256 | 912ef3d37ac01e7a8caa6e79649c660a67d0c5edf27637214e0171f8522bdb40 |
Hashes for awscrt-0.16.14-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa3548fca3c6ea55dac2e33827d58bf25e5adffe9aedec7e5c03ff1ac2430145 |
|
MD5 | 50616c654911ec9ce9759515afb92366 |
|
BLAKE2b-256 | 75708a4165684d5396871a1e1eb855f97d77cdffde1af9a3447d47d96c08dd33 |
Hashes for awscrt-0.16.14-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35999e6203e6a7c29bc4309d9f0bdd346a94cb3d41330905017d400b8057e07a |
|
MD5 | 6a63239ba5a8bb89bc04edec52f69ba3 |
|
BLAKE2b-256 | e6f9543a34ecf1eaa783dca4ee18b9ee57dcebf3ecc4cc5e6c85b04617bc5d52 |
Hashes for awscrt-0.16.14-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f912dc7f82eabaf6e3ddb20e5829501fde8f768b57ef347437a155058767628 |
|
MD5 | e4201d0cb6324ad88cea53dc89d3e6e5 |
|
BLAKE2b-256 | 2fc97d5f3517ca42181415dd88b9aa6173dc620e1c2e55eaabb14c606b3554f6 |
Hashes for awscrt-0.16.14-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c4fa91aed821880a9cc482a77a2bb079a91dd584b739d332d9c4041609b2dc4 |
|
MD5 | d8293d32b2ab1739681de8ca81ed931b |
|
BLAKE2b-256 | e41bca5f8f87c959cee7cf8e11a533d51d44a48ace412b8badf622481d16c3bf |
Hashes for awscrt-0.16.14-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c23db66ed693383e3ed77a460accc1aacb534ae0b2069425ea46d35822769f9b |
|
MD5 | 062533c12db2662e91a13a539f8b0fb3 |
|
BLAKE2b-256 | 593ee2fef61a6fd504c8cbc80c94dbb12247e42668fba2225d34358d813daed2 |
Hashes for awscrt-0.16.14-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7042565f74bb80f9b3dbc47f6a865a838589a6b1a3a8a4abc8f412201039b0b3 |
|
MD5 | 80f93aad120b47a36d1aad173f776577 |
|
BLAKE2b-256 | 031f675523c6539fd7ac499d0ec8606cf72f6d69df95ce1220baa3d448523f8b |
Hashes for awscrt-0.16.14-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 983f315f5a4ba128b413fe266130af0a55d33bba864fabab36c8bf4681546e89 |
|
MD5 | ca8fe42818126b98ce2bbf69513a417e |
|
BLAKE2b-256 | c4a1340069efe92ca9eb82f1dea68a4e5482a643ac525f2044bcc20d4f1696c3 |
Hashes for awscrt-0.16.14-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8af89dfadf4b4ac88dd864348c893f5fd8ef2104e489fb2d9ccabb466b803643 |
|
MD5 | a8cef9ca8b4d46a58ac21a4f10840266 |
|
BLAKE2b-256 | 26147a679c42c29fefb549f6c748f570c2d34f5fb77142d0bbab18d2090310bc |
Hashes for awscrt-0.16.14-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 264511a0123a11cc8839a6624deaf0c2bf606c614178a0d9bb64f052349d5b0e |
|
MD5 | ec33802649d39829ffc583e16cab7f12 |
|
BLAKE2b-256 | 167566f1b46792847ee68b3e0693f5c7a968fe00fea5adbe3d0be07128db793a |
Hashes for awscrt-0.16.14-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 463d245ec3ac1299a0ab314a275b045766f2fed13b3f95167449955188d0a69b |
|
MD5 | 529f4d318e193b5acc181fe97501756d |
|
BLAKE2b-256 | 1e08cf835063fa621a8a8a158cfb5f4714338af201064836e4ee396e98ac3966 |