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.19-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a6a6072f30f15b03f5dfc9e86abd47a0ba6111405d92388941a222dda78e4c0 |
|
MD5 | 78648cc12f70d5748ecba4dd10e67c07 |
|
BLAKE2b-256 | 63e1d050c052f7dc19194447664eb5cfa6160d5cfc9482cf784a3e3c6bdc9c52 |
Hashes for awscrt-0.16.19-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff8575f3f787d3a668702dc19eb65cba82a3dde65e8633c49a4d5b029382faaf |
|
MD5 | 4dbd650bb5b5d8450f78abd1916ec3af |
|
BLAKE2b-256 | 4c78ccad08574347d108bf3e7579bd175fee1762694eee8ccb228aec02b4316d |
Hashes for awscrt-0.16.19-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2cfbf1bf042d5a6f85dca528be7d07b3d0e9b76a3d6022397c6dd08ed0e02e8 |
|
MD5 | 5c4d51c4e764c849892851c7041af8f3 |
|
BLAKE2b-256 | ca046e6d2cd72c4c8b5d58249b3a624cce4304ab7164c16acda531b379878524 |
Hashes for awscrt-0.16.19-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92a7a32e4651874126b06347b335ed43e4816a0853c39fcad43bb627155dacbd |
|
MD5 | e79852dd83379e9897f0be942ab0cd63 |
|
BLAKE2b-256 | d7852095dfc77994db85cc64ea6a3708d8e11d2ee860f8258ffa9c937ea0d909 |
Hashes for awscrt-0.16.19-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba6d068bc9d0e7980bc50c0afdc94306f9c6ee0e9de763532fa1723f2cb87877 |
|
MD5 | 5618ea16c20bb0af70382e94ab8d6dbc |
|
BLAKE2b-256 | ad88802e53926ebe535b4a98ac0123a2dba7b03b4c6314c24f044e6f5931f3db |
Hashes for awscrt-0.16.19-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 473d7f6fc5cf68d91910bbaacc283a926b18a06eca5923c595900537e2e08e4f |
|
MD5 | 0b7f2601f8922588f7be1d25d79719eb |
|
BLAKE2b-256 | 34721e3222dac16f7e2ddec962ba4ae5937a0628230b2be8c74613735f9437c3 |
Hashes for awscrt-0.16.19-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae58db84458b39d06208ef8a4c20801172f449b7ad09bd788deb6f622b36469a |
|
MD5 | 732e29ab1b3a892c64e32c8bf5a0814d |
|
BLAKE2b-256 | f0c8f7c98c6d73a996c39ecbf6b9ef8e081e1ecc23d1e631410be5f995a9d6be |
Hashes for awscrt-0.16.19-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51baa25f7a63e198ebdc4ffcddd2bcbaba58aefc29b9d8fec13d8fddeac04fd1 |
|
MD5 | 3d195faab7a5d38311fd943bd0fb573b |
|
BLAKE2b-256 | 7001f02e5a3107f4bbb19a93fbb62c2b9a71a8eb9e6f0e024e2bb78e9274af96 |
Hashes for awscrt-0.16.19-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b34c213646922b3909c76b9d7e1a4e7743fd373bca4a920893c8d58226ab8ebc |
|
MD5 | 2edfe3ea4c7d56449f8ca3ecef51c85f |
|
BLAKE2b-256 | c0ad745a08cfdbb3b33b69ee7dd53f548b68b42d821647e884abe87c9f2c9960 |
Hashes for awscrt-0.16.19-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83498cc957fb7b4e055e3ac2b5bf68bc17988839e3760c7ec8d18777f5b968b3 |
|
MD5 | f0909cc25087fc3f61d1b90e092fee45 |
|
BLAKE2b-256 | 862ff344917b5fbaf6b1af1824a70b77ae2a925cdded219a7e1b72c74c66c35d |
Hashes for awscrt-0.16.19-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c753a289e908af69bfbc69d7ee071e03d286bb11bd9c043050b5e552bbcd2c5b |
|
MD5 | 44aff700e4ba76fec8725aa720017e0b |
|
BLAKE2b-256 | e487f0880be3d3cd6ec887b235e2abb4c626175e71065b54d3054e152a1775d2 |
Hashes for awscrt-0.16.19-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c52e0a09ab740354371cd2cbdd9c76d782e390496ccd08991738f99cfd7f9178 |
|
MD5 | 696ad8a91c6130c99f1c80e9d57eeb79 |
|
BLAKE2b-256 | 6c5259eaf8423e860d103854e6562eec7647337b8c573ca8b353040957613aa8 |
Hashes for awscrt-0.16.19-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a12604475043d51bf7697ef906deb86f52c22a2792f0dacdfc557d36c4d2c6 |
|
MD5 | 90e669576b056cec121bfc6daed65a2f |
|
BLAKE2b-256 | 2aa147b1a06b95b2f7be5676a86dd9c00e698f815ffa6448f8b6f46068540ba6 |
Hashes for awscrt-0.16.19-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19add6a7ff15f0388b7015b4b66e2f4dcc2e6c7cb82e313478772751ad712000 |
|
MD5 | d08399530c1387a0f1fb66860b23075e |
|
BLAKE2b-256 | f254991a84a0812f9aeec7c54d043dbf177053bb71388c4664cff32c083096e3 |
Hashes for awscrt-0.16.19-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 082c47e3d59227025132e555aa5e4eb0a947482e63fab9c8cf9bf5a49760e492 |
|
MD5 | 93d89946b372dc724a1d1208c8638672 |
|
BLAKE2b-256 | ab91593bc0d5a068f0ad8d5746ca424e44cb227bedb1c35f2026b63f1fe51e1f |
Hashes for awscrt-0.16.19-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c24857bee7040aaad4306cbb824ab71fe0b01f09bdba07e27ee87057f3ed8e13 |
|
MD5 | 43817e844a748ff5be72eb51d5e4ebbc |
|
BLAKE2b-256 | ec89418e45d4a18c05d6b668428551b4dea4fb4f10f9fc9ee367ceccd9c1cacc |
Hashes for awscrt-0.16.19-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce443946778daae4f1b1b6c3f0c6555abc8bfdf139488596fdc4eeef360d7837 |
|
MD5 | 7c4e44a0beafe25af47fdafbe564912f |
|
BLAKE2b-256 | cffc295a8874e1f9c651f592f606fbb566546d91f40ca943eefcce5051420b5c |
Hashes for awscrt-0.16.19-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d69659488d98f2257401581f07c255a3901def223848267526ef283db9afd3 |
|
MD5 | 12d986157dd7db53b544bf55f0eda222 |
|
BLAKE2b-256 | 753726185557b03c179c560785fccf98989a61b9df3a2967653855885ff3635d |
Hashes for awscrt-0.16.19-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf093b5f9cd56f54a4d98e5ffca81a6f383c7003d575a9e0c12af9f4bd6f02f2 |
|
MD5 | 2275b4abb97dc4e88be94a9eada154ce |
|
BLAKE2b-256 | b103dcc992fd76d99ce6518b7a59a07f8108a4afaf3984b2c858d78a8e7ea670 |
Hashes for awscrt-0.16.19-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c1259568f8a1962f5d1ef65bff4d932b3bcb17b6740e1a8edb36fb81fe4a84b |
|
MD5 | 5bd72285f07cf4c1af3e13817097dfa1 |
|
BLAKE2b-256 | d076b4023d25005f7240644de6eb7c3c040c05318ffc9cd676c62d0a64df4a23 |
Hashes for awscrt-0.16.19-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5590350f9132a7f82e19e42f71869c0602af2abe7bab9f391309b4b10410cb4c |
|
MD5 | 6bb440c41878b70053ecb3def85a8e1b |
|
BLAKE2b-256 | d4d771ec04550343fc52fe75fb704601bc34cb045369c4ffea6ea32763a31c80 |
Hashes for awscrt-0.16.19-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec0f862a0bcb53e52a3e892a3b7a0caaf822a371cac4ac64aaa176851d40db82 |
|
MD5 | 4deb0c23bf3123c91912b05961dc1314 |
|
BLAKE2b-256 | 75d0b61fbab160db6bf3d440c2a15fe58d7e82387f0d4ed6020506aa9e1ea220 |
Hashes for awscrt-0.16.19-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66cf451f3e483af3f7a38e9262f8c2d84b6d9f6610f9bd99df54fd43dc788deb |
|
MD5 | 94cc16cc1f915dc498745e42643d96c2 |
|
BLAKE2b-256 | f88792eb0c3c49f55ce4f4ab9e04d3811e984a84bd847ab8765181652926c7e8 |
Hashes for awscrt-0.16.19-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2dd7683d29903e15a936ef251c825e144d34275666775ef7479929f2d450a1e |
|
MD5 | a9dc1d34b9f54512c24bb545fb0f6138 |
|
BLAKE2b-256 | 71e9f2f9091e1c926b7a73b648c8069650fac7bf47981ee74e795a289df4a800 |
Hashes for awscrt-0.16.19-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ae120bbe68bd49426fa10c11da448de8352b2d154dea29aad70b53b2466ea2 |
|
MD5 | ad4eb3edae2ddb6d5bb9b04f4bba7f16 |
|
BLAKE2b-256 | 5b62e374257ec3af045806a7bcbdb03ad4474d49123a57610d4182dd63858c7a |
Hashes for awscrt-0.16.19-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab57cc09bac9f10e2f12ec1104d03d67e2efbf3075079ef2d8137145154a8991 |
|
MD5 | 86d03d02f4ce9b76cc16f68318ff3b38 |
|
BLAKE2b-256 | fa0a024ecd618c798d1ef6d503806474f54463f88cbde29eaff68ab8baf53693 |
Hashes for awscrt-0.16.19-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e42df93f7f169b7720e4a97f53d3e3438492bd55029a9dce013d275fc9adf12 |
|
MD5 | 79a1304c95a23ca5225b006abf92b831 |
|
BLAKE2b-256 | 92b652eb2d163bd03c6b8369951cfeb29fa14f0faea58d78922895d68e893bc8 |
Hashes for awscrt-0.16.19-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91c7c462f0ea7c10205f07bd2a514cc09fed3dc0e3717019126b1ba42fa3eb50 |
|
MD5 | 93697d6f0397bfb94e97ac5dc1ae16fb |
|
BLAKE2b-256 | 7a0e4b40b4f94c4767bad52a6c1838ab032c0ad51d3102cf724eef54f02d044a |
Hashes for awscrt-0.16.19-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd46fbf9ce60e695e102fcc53c9f9d2b49a4e4a2eeffa25c25cdb58da408c9cc |
|
MD5 | 875d30587c55f1c0c43840b051ac83a3 |
|
BLAKE2b-256 | 7d2542b52233b0b233f1f8e3e1348ce34acef8507eada662a6e2e166e9c3ad6a |
Hashes for awscrt-0.16.19-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 309f4f480423cb7494459a9f706e468fe2d25f8b67dd76270e026ec07e794509 |
|
MD5 | 9b1294e0642222f1ea5b48b1257b82b4 |
|
BLAKE2b-256 | 2656fce7057d4027a4a2aa8185476faf5802fb8e2ae45a429a0966ee178111a6 |
Hashes for awscrt-0.16.19-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2622c4cdf4a164a85468fede7a6262275b79a452e45860723c7f09e5a752026d |
|
MD5 | f7b61d0cb043bb86dd4c74a1dec02f78 |
|
BLAKE2b-256 | 8e017f7bd413cc10af53d28008b2dbfa02f30e609aadc20a4605cee5f843add2 |