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.16-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85251613c0348fcd468223e8b1cd94a1df7101d580fc1ac44485aaf9aaceedc3 |
|
MD5 | 3817e892544682b8fd205c06fa9bb62f |
|
BLAKE2b-256 | 593323966327ad8cc8d7a414f69992976ed40fc7350c53573fb4a8e0069f05c3 |
Hashes for awscrt-0.16.16-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb6415db69a5ed4c454d5615fda2d3fd5eb3839a90456013f286cb36649b7aeb |
|
MD5 | 16f7344782d21ecbc4c4f84479a4e569 |
|
BLAKE2b-256 | 5531e8896a34f9561a3c39e353b8aa181e6a637bd2740d199ef00553268e4deb |
Hashes for awscrt-0.16.16-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad449d6091a6c1e47a1226676ac56d198bf3f0cdf02ca0b368931be69a79b6f9 |
|
MD5 | db54a560d4ff8e8e20ae2f29db544070 |
|
BLAKE2b-256 | 76af6e4f86e9af630dfb7068cb47532fcf6b0185a03c57fd756bcffd1d227278 |
Hashes for awscrt-0.16.16-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22da59f095e852b23ee7945f9d45b2ef5b5617dbcdafa2dc82eb8bfd180665d8 |
|
MD5 | 57169ea28cb7d98dbe4f76bfdaf73b4a |
|
BLAKE2b-256 | 7768949e9aea430f486988b882a845d2507acf806621297ed0d83998a5693996 |
Hashes for awscrt-0.16.16-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb518446d919fe85a9e8c6b64a97cc96d9086cf0d85ff08de058864cc3628a3e |
|
MD5 | 92e56c101ae08a042c514160cda511a7 |
|
BLAKE2b-256 | cdc662b1ff52a34f6462a128028ce5bc79ec602b2fa64f539e7f92afdb263686 |
Hashes for awscrt-0.16.16-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a0152ef0fa5c0e2881833798a127511f38b1241e47e6a9ba5ae044172e5843 |
|
MD5 | 08dd605bf656a7dccebb24b384422a69 |
|
BLAKE2b-256 | 135c70bbd7398023e49d37d45d08704910a6e37b2666dec0790269a22a10272b |
Hashes for awscrt-0.16.16-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e89923afc736e519de9ca8cec3fa5d0ed70d7b00cd89058fe269e7609c0fbd |
|
MD5 | 898aab3cbb9c81e98dc8e5c5b6063513 |
|
BLAKE2b-256 | eb73922b065964032387b6ca624dd0599a2b47d231379a49d8d770217b9af721 |
Hashes for awscrt-0.16.16-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0420cc8975d2a404ed39a1fbfe5c92cfc72e04c2dc50791d7a9d95ee7da1b0e9 |
|
MD5 | 907a489df1bfa368949e742d404c848c |
|
BLAKE2b-256 | 09e387bc2306b52f5d179a25d40f4d364f519354ea31105c4ff5adf5172fed75 |
Hashes for awscrt-0.16.16-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64ebe48a4ce534a3bab5927ec9256dd634b2b3620b761764ef146b846dc934ee |
|
MD5 | 1a180b2f5e87e63c5e3a3bde1191a2aa |
|
BLAKE2b-256 | 5af5d153405d100e212450b0fe30cd1ad2b4b93d52945d2296d79da41c1fbe33 |
Hashes for awscrt-0.16.16-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c87fefab584aec3f13eb079d1cff196e9b364ff081b6469bffafe9cce4578796 |
|
MD5 | 69892d547c50f2fa46e1d3d596574b22 |
|
BLAKE2b-256 | e345b0021fd7a17918054ef6741fa1cd6340afe38b16906d64dc8cb4d19f9349 |
Hashes for awscrt-0.16.16-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b74e404bf6606415ec143e0af64bda066c850dc435b53db118623f03088b7c5 |
|
MD5 | 2251b42e9d56e20e4b9a7c5c98c12e0e |
|
BLAKE2b-256 | 419896c6bcfd755b3ed73e76a87b2117129ab59af807ca41b2a7214802e92daf |
Hashes for awscrt-0.16.16-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 137eca63f6374c0d94daca77490d9551bbea01a79bf2430975ba61b7917ca7e4 |
|
MD5 | 92f14d324e448f28c379f3bcdee6be4a |
|
BLAKE2b-256 | 75015a50a496312b5e40da12dbe28f4b4ae4f727ff1774b8dadc1d8b580a5e02 |
Hashes for awscrt-0.16.16-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d75fa864dadba5bcf4b0b87fc5446a00fdb79f9df125c117faa72c43ab3b733e |
|
MD5 | 27fdfc7f23c95413b25b36f2443b8735 |
|
BLAKE2b-256 | 65f5a33f17883c7aac1f98556227887f69fff28e5a57387c13d3a936908861a1 |
Hashes for awscrt-0.16.16-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4f4c0db8f70cd8d1cbcab3b1cda5ca51174ef72cb9f2db73a55237bc72d4b58 |
|
MD5 | 9fd5a481813e11d6be393184513f24ac |
|
BLAKE2b-256 | 18f89695179487db302b391d2b930fbbfef6d65dcfc0fceb934c4d842f7691d7 |
Hashes for awscrt-0.16.16-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47f9388d1268f4c7d7fc3b5a25013c9535fdabd63518a1d9c5faaa72fba04b78 |
|
MD5 | ecb285118d0cb3f26efd6e7501b9afb5 |
|
BLAKE2b-256 | 7f74eacf75d29cea1bb9e64bd14708f514c34ba5c291cf04b637c0ad93f0d9da |
Hashes for awscrt-0.16.16-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da944e4f8b94f4ad18b922caaae6b19e8c5e3d95848ae9f00c10b22e09baed2e |
|
MD5 | c0f13cd42063fed1096d7daea1bcf599 |
|
BLAKE2b-256 | e1db7b001f18ae956f8a5e3610acfd1862d4a454fee48e3eacca7c72ccd1cba2 |
Hashes for awscrt-0.16.16-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb43326f021e44017efb3b03ed771705fa4b7073ead64f853b5c9d831317cfbe |
|
MD5 | 5174af23ec1b86a059b894de4491ad5e |
|
BLAKE2b-256 | 89e0e2ca0d1bd45c9cc779e5c441a34cc992e837277a1f8f74d0945a0cb8f65b |
Hashes for awscrt-0.16.16-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c68a496c1a09209bcfe374415e7a05602cec855c6150f69c1454e57f1ae92ab0 |
|
MD5 | 554cb4a99b1cf9810e50359f3b54296c |
|
BLAKE2b-256 | e7e9138198cc0200e52224705eca7d86edbebb7eec13f1c654d1ad167225999b |
Hashes for awscrt-0.16.16-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59cea3acbda72e857512743b6098edee6133a0b7634eab0940218855efe1698f |
|
MD5 | 4d973aee2a3d463a5c6862881d9fbb51 |
|
BLAKE2b-256 | 11c485796f1993d34a694dc842598ed226a787a4718791ccc36f51871e2ad6b1 |
Hashes for awscrt-0.16.16-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f95a6b756d395ba9995394c1280192573e5338325fad0e2aed6285a5169de47 |
|
MD5 | 8a019903c6ad32c448c19092db4daf52 |
|
BLAKE2b-256 | 6b407585de56ebd7bc113bf49bef98b76c23a81d82fb87f4fb338a0540d09d94 |
Hashes for awscrt-0.16.16-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd4e3ee9f9259eeaba4f7031b1fb40623ea142b7f5eab5406596f5f74cc2ff34 |
|
MD5 | 228e7ba18cf3ba4ad4a5bbfec2b7c3d6 |
|
BLAKE2b-256 | e7af95bb676fd4ac9a55fb2125ad54a489eda119ac181aab2bfe7155934d42e0 |
Hashes for awscrt-0.16.16-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd121ae8102b4352810acf7fa47f67c8c6257f0265d0f62ad0cde69cc0efe8b7 |
|
MD5 | 7b3bed8d3957c7fef7eed1c665c4f65c |
|
BLAKE2b-256 | 5c72b50f1525a92f9756970bef2b1d4f21ecb595ef2d7d05c46d5fa9eb95ae5c |
Hashes for awscrt-0.16.16-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b95e78534b9c811a558d765068b96bf2509947b73debf882754bb257376e9a93 |
|
MD5 | 340ba0b2ed1b25367342435ab7c60674 |
|
BLAKE2b-256 | bb1cbb242fcf6bd855798419fac8a6bf334f6b8637661b62777eaff927532e0c |
Hashes for awscrt-0.16.16-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4385cd351d0ac3a702d0082bbfb0dc55622b2f65fa03a53cb358b48c67e40d4 |
|
MD5 | 0a7011e265f3b9f0a413ee3422792f76 |
|
BLAKE2b-256 | ad66c3b0762f5ca9112938f57281e0bf0feb2660aa0f1a3161341927faabd019 |
Hashes for awscrt-0.16.16-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f47f92525452543194588477132c6eb2590f8f1eb1cd923c7166c303ac1e54a3 |
|
MD5 | dbee4ef168551a97a35789372d366d51 |
|
BLAKE2b-256 | 0e8d33927a8e8f37328cd4314bb649f4d58722021b6df7b654a67f68ed7a295d |
Hashes for awscrt-0.16.16-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d45fb631bcd185d3852c3126f699ef519c4a57c89a8b15ea86b1233e58525ad |
|
MD5 | ee7022cdb51071441a7ffd7a8ffe034c |
|
BLAKE2b-256 | 1042b61720b9db1b89d3188e440f7d34d6efbc6739276b4b00303d0eac7522df |
Hashes for awscrt-0.16.16-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c15dda48ebf483ce0ec8d1870f34710559abdd2b65590f556c6c223fb2c5f6bc |
|
MD5 | 7d979f7e325b2ff99b0885ee1455b20a |
|
BLAKE2b-256 | e5c7d4b63ed6a2b9d5fe48ef98e2b247d13f098c8badec61b894bdd2e5ab1264 |
Hashes for awscrt-0.16.16-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c6de487630b24c80a95071ac20324bac724cb8073e1600df5b22fe3444b3276 |
|
MD5 | e0924bbfe4e1a3cc23f2b5a2aff9bab5 |
|
BLAKE2b-256 | bc5cae98791894fedbf7ab9f8fee1c7350708301d3142352b286b48229aea393 |
Hashes for awscrt-0.16.16-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bd03df04577f23f93e603bf0647460143db8e3d03ef6373fd12c0c700bc9d1d |
|
MD5 | f6f38ee15ec435a8ec0aa010998e9bde |
|
BLAKE2b-256 | f32e94445327786daa7e5ca351439187d8b7045f8c419a8fb3b164dad4f5b398 |
Hashes for awscrt-0.16.16-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9f77b49b3c283b6caae66d6a060cb0aae13ed379f2e0972440858cb28b8e016 |
|
MD5 | cb381f078bdfe2b214607fa9f3947da3 |
|
BLAKE2b-256 | a79b6cc9d8880e0bbac7e0636d95542b8f513c96d77513bee60afe0eba783e50 |
Hashes for awscrt-0.16.16-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f1f94f2538c2c55f1d17fa81dfe32e3b04180d79a09cc20439cd844ecbe4401 |
|
MD5 | 462bef1221788cfa5ae006e981cb7442 |
|
BLAKE2b-256 | 93f45f24468db3f9e45ce532b90ad9042123ae91fcecd26d9747423acb4b8ac7 |