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.17-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d1ed725d34269970b64bd60b676f735619a2fcce0b30f8e7592c599915552b |
|
MD5 | 436eb31fbb432951e18571b0a0a6d449 |
|
BLAKE2b-256 | 162e569f77dfaa1a30996f0f28fc4e02e5e605a70280b5e18cba975ef975b4ea |
Hashes for awscrt-0.16.17-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 704a99cd49a517f89675864e6e08a6a48392e82d43ca99f7277df11240f9b321 |
|
MD5 | 6ed5d684c0c85c33099d328d103de719 |
|
BLAKE2b-256 | ca0712c175af9f136fd0452b5a28f6294016eb9cc272426bb2118b7bcff610ca |
Hashes for awscrt-0.16.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9d39b48c9398c6066a49931b56e6d8cdd21ac61e1cd8bb98b175d37c193d2e9 |
|
MD5 | da7e880e5347dda2e4f4cabd962ac52d |
|
BLAKE2b-256 | 5f3e20151cf7ce921c136f8a8aaa330c865ae3d3459745f746e687ce3cc84b97 |
Hashes for awscrt-0.16.17-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e53282f01b2c1f9d670d4df958953a77b0cfa1b840d18ec559fb2152f982e13 |
|
MD5 | f4b008a3904b7b4b9bc1fc696f7f39e1 |
|
BLAKE2b-256 | bf88978d2c3afee542d365d457861d6792e4e3adbcecf493814563b9d3566920 |
Hashes for awscrt-0.16.17-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b72fe52a9fd69507cb05fe34c3b52e6b562ad7dc4bd85f728a030805ec5b351b |
|
MD5 | 57f9b8389e94dcc94bd96dab882a0af6 |
|
BLAKE2b-256 | 2daf7d3797e92cb8d5895b3803bc5d95672902bb5f5614679dfe38669192d97b |
Hashes for awscrt-0.16.17-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f580b4a093f95a7cdc0d4f1160ae04f38f30d0add813cda14718cf16ef284a5 |
|
MD5 | 03f00d25879ebb508d675624cd5733f4 |
|
BLAKE2b-256 | 184fe4acb8fd6603ac31675cd90afd2dbd7e4e918546c57cfe223eb7bc3dfb56 |
Hashes for awscrt-0.16.17-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 753e61a71539b68f3f48924091b97b2b820bca24dde53cf328e76474dd2503bb |
|
MD5 | ee84f99a6eeb283e359d2b413ab9888b |
|
BLAKE2b-256 | 1620aa07e3478637b4ef737a68dd17d75c93e9cf2640de1b333722bd47b33145 |
Hashes for awscrt-0.16.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a52e98f48aa4ae540d46d594bbd03d1eabad4c56913e1366cfa92c38cce2cbe0 |
|
MD5 | c0f833d604988fd4296a75f1f509a5d8 |
|
BLAKE2b-256 | f63b3bc08f765adb00c1af59dcb14b249a112d7cfae3afad3463e9ee0f78bd67 |
Hashes for awscrt-0.16.17-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0396ef4db0442b7cbe70709301239afac5f7d164cfbf191f200b4acb93d26c2 |
|
MD5 | 4957d8232ef0431c8e88609dbee11e8c |
|
BLAKE2b-256 | 2ab7f8ffa44ddba0e818a9c781de24dcda0a515517b0b85a8a40f09f659bf760 |
Hashes for awscrt-0.16.17-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5561a4589773ac630f6d605a9e0d9b2a63058fe0a0a0411f7302ffaf6982593 |
|
MD5 | d59cca11b2d66864a720e841af044f70 |
|
BLAKE2b-256 | dbea5dc042e1eb082e9299ebec57fcf22437ac66244aed9be17a78acdc9f4f50 |
Hashes for awscrt-0.16.17-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65926064bbec9e1a454f1c9d306b288c1c9d0fd0a21b411675a294d6dcb1a2f7 |
|
MD5 | b0fc64bd23d1719b5bbe24452160b02a |
|
BLAKE2b-256 | 51f07cd39516bf495e509a4629ae14311c54f6c5cd31317a31521cbbc8f6b11c |
Hashes for awscrt-0.16.17-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8036dc6097fd29995a917edbaf72145f41f0c9cb6ac0b2a62de127507f48d513 |
|
MD5 | ddc6a588528dca86f68e4570ec9db936 |
|
BLAKE2b-256 | 49a863027ac54ccf497bd0b0933ed1285f4ef9a39e6c607ceca5d1810cc0f328 |
Hashes for awscrt-0.16.17-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c133ae33c05dc15cc332c1764d0cfc5f36940d6b2527c418cc8948951b78b47a |
|
MD5 | c6d3befda1aee273bacd416d7166b1a9 |
|
BLAKE2b-256 | f34edf572efdf7851fd0d61d0d50b63fc62d1bb4036b687266bc59c6b86f8637 |
Hashes for awscrt-0.16.17-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b4b71d71b75c4134837ff380ce8ac7568fb48c4f10d8abbe71b457b7769797d |
|
MD5 | f91e8c4fcae28b0ade44d6975ef08145 |
|
BLAKE2b-256 | a114ef2a6fa394a1d9f291185db54b07b6f049f8ffb35c4dd2aa4bdcd288f506 |
Hashes for awscrt-0.16.17-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ec3875ae6bb5eff9d2d93c379b8e07b4b6bdb00030d26b44f57adca026ee5da |
|
MD5 | fd3256ba0e182115d234ad893357f856 |
|
BLAKE2b-256 | 59db9b251cb6bfdd159d991dd0b490043375e991b4168a9914c8210218811bf6 |
Hashes for awscrt-0.16.17-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07df1882f527f1fc68f04ee6b89aa2a29d669cdc06de1d67eff11352181122f7 |
|
MD5 | 832a6b57bf34ec5533c8f1fbb5e0f929 |
|
BLAKE2b-256 | 4cd5c0a4aa65e82410601630ad55c7b48ffc052391c27c63e99f89db51605c72 |
Hashes for awscrt-0.16.17-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d58622197d4259cc38d4ec9eedf443d01be650244f592ba640322eee793579b3 |
|
MD5 | 0c1bbb6c4529286ac694b6c1909bbf44 |
|
BLAKE2b-256 | 1237c46910f932dca277087675c1fce04c1690c8df9d787ac08e51f46fad7589 |
Hashes for awscrt-0.16.17-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3c6bf6e55b2b4ce6a4b149298a5ad11cd96b37e0f3b2b038a3cadc108069fa8 |
|
MD5 | e645e24017a4ba976ac1b6db58ebf79f |
|
BLAKE2b-256 | ce9f87b668741c86fa52418d7be4982cfef9ce0d6fea7fe20d108268b83d81e7 |
Hashes for awscrt-0.16.17-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b115306726b2a1b9c9d8289d22a0252dcd8d048f980f0990599dc7fa03d8780e |
|
MD5 | 2f1c75da2779856425a902fe3a688be9 |
|
BLAKE2b-256 | 28d8ee6da11b07a72f695fe7e55873b1411d8870c467ec2c099cccdccebd975e |
Hashes for awscrt-0.16.17-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f1c5228ea85a5c15581c512fc9b9e84560a71e9da9f9c1200d5e8c6e851ee39 |
|
MD5 | 10999b73078c7fb32c22e1d6963569ac |
|
BLAKE2b-256 | ef92b1d988fd4198b6047a0bbdbd8babe693ca8cc8369f4c2a63545819eafcd1 |
Hashes for awscrt-0.16.17-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea1de02078ce71930c9ce19c37253c9d9218fc16c08083cbf526cb87001bc931 |
|
MD5 | f9f91c6ffe7ccee040196431a70e1e2e |
|
BLAKE2b-256 | 31e9191ca40b72c593cc9edbf5af21569335f8170331606fd59e1792ec2ba3bd |
Hashes for awscrt-0.16.17-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227af1ed3ee86b633a5b551dc9e8355ac2479457ad569cfd55a003830b50096d |
|
MD5 | aa7a8ff6f7693b8b367c31b0b96e794c |
|
BLAKE2b-256 | 2b18946e102ff4c36799bb391cddc171bba73c70f88c4a0afc329b8899b996d3 |
Hashes for awscrt-0.16.17-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbc8c0b39810b2eb3286a72dc2fb5b81771e96c5eb61575c4bf642307e32f8ab |
|
MD5 | aacecac47f6b2c759a9e6f17b1a5dfe6 |
|
BLAKE2b-256 | aedb0c45a4176e83edd8c782ea066a132b87c036c90903383fa6cea3f92a7803 |
Hashes for awscrt-0.16.17-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72e9347b4ad60ab56d0a9f537abc3c2a2def43a869976da2140133ec4cbf29f3 |
|
MD5 | aafd6b57d713f4f5f2fb99b975084446 |
|
BLAKE2b-256 | 582cf7a1654644238d419f17bd6363523b977c39a58f2701232e37f0db704c77 |
Hashes for awscrt-0.16.17-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce3686fc607b506e7467d51e622216c4a56d25540234b768a3422b336fe60770 |
|
MD5 | 8f931b96cdf99644a3abd92246eb05e0 |
|
BLAKE2b-256 | f165f72f67b63fb6520c5f254ac494f3ad7146a389b9c0564b873342da1ba779 |
Hashes for awscrt-0.16.17-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2209a0c60b6a9ee13dc9130cb2f949059985eb58fbbfa2d8c80d2a272c40f4b |
|
MD5 | 89bccba7e36f703df75305cc44ca13f9 |
|
BLAKE2b-256 | 489163c1dd14b65278919ef693a65aefa3a37b1a3a826dfc81e393efdc610528 |
Hashes for awscrt-0.16.17-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae5120bd5518b715afb1adf9b2ac9d3bed0961dc1f099c52893a11e9729320ed |
|
MD5 | a2a9f6d86dc0610d776915e40a428965 |
|
BLAKE2b-256 | 2378ef5b72243f4b3bb8d09e09f45a8624c399c049ebfbec768413d61f999d0b |
Hashes for awscrt-0.16.17-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c56c825a801f36d65518aeee1c18d979153f31e6f96027f3a7599d2536e34148 |
|
MD5 | 4e0dad2b40c60f75063c134f060018a3 |
|
BLAKE2b-256 | 378fd8906b30aea83f2270070b55e35e54a1b28b7221a2f9b56e556a52f21938 |
Hashes for awscrt-0.16.17-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dfa151452370009d147f1db6190c28769279afa3d46ca7a2f90dd307e0b7982 |
|
MD5 | 225da95843242731470acbc41e84f00c |
|
BLAKE2b-256 | 637ef8957b526202ad144fcab22597a878f8a60defa156369d72f6a87882372a |
Hashes for awscrt-0.16.17-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ac7943293cdb422490f9436eec99dc218ff78ed12d4918569e139211b1523b2 |
|
MD5 | c4fb907c3d71a7435626f14cc85e6563 |
|
BLAKE2b-256 | 3101987e02830e667055c9cf3847bbcd73dcf951c8dc335aa8c4e82cb3a5bf4f |
Hashes for awscrt-0.16.17-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dd1e616b6b3210bdb885ebea1a60bc86d02e4d5aedb51d79dd4936de7e2618d |
|
MD5 | a7817ffd6f33ddf21cefd15e64b73fd1 |
|
BLAKE2b-256 | 80b66eec06b8a678e927ad645a42300b07cecda67719dd0415c2a5368119b9b8 |