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.15-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a56a59c7faabebdbf98d15fcb1f55993fb6e1a28d471eb0b01be0eb0392e65a |
|
MD5 | 61a51f0987fbb746ea42558528189bf7 |
|
BLAKE2b-256 | ea93b5c6c60758ada71aa0b3b8109fb6b1c0dbfaa210683ff87a88982d6ef888 |
Hashes for awscrt-0.16.15-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9373e43716b37e2e9b87556cca14f237d5c058025be7db1bf12ae882be3d773 |
|
MD5 | a3e815affb0f0a0c6edb1b437d3c5b98 |
|
BLAKE2b-256 | cb7b4d86490afc9176d0cf89a185ebddb006a728d867cc82ad16e7fae0424a06 |
Hashes for awscrt-0.16.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9df5526b8d2452e69fbadd4deee3580c2753dbc66f7052f79fa285708a365cd |
|
MD5 | 43b55370b9361ce6210239f51b99fa27 |
|
BLAKE2b-256 | 0918c143dd5522d591088224a597abf56ff8c8676ed07e8c24738bf1ac365dd4 |
Hashes for awscrt-0.16.15-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d88d86b0316597fa3fd8afdb7023ecf5da23ce742e2da5abb71c7f9a7847977 |
|
MD5 | c72c0f2f300fe1f9be36c3f9cf74f61e |
|
BLAKE2b-256 | 26a8b021791c9319cd5d7f55c49592b2c76e3f931ac672a30e30b86d1a94b089 |
Hashes for awscrt-0.16.15-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe142225d2bbc3dab526e1248f03afe0aab7e8a9265d1352eece72d695c4a2c |
|
MD5 | 67f919e73d8e9bf243b177de71769f11 |
|
BLAKE2b-256 | 68ff6a02ed923754aae4af24ae8498f95ae5417fbb0181d57d73880d6dd4618a |
Hashes for awscrt-0.16.15-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f984bd0e8f22584f4a277420cd13321f271dd3438a4e42a445f7e027420a69b |
|
MD5 | 3be89bd283d76b7e617d58c09952b48a |
|
BLAKE2b-256 | 8fa548b3ae2644c3eff77a371b6b5ffdcf70ade4720fd3c6824b648fdcfacfbc |
Hashes for awscrt-0.16.15-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54f7a7d43cff8b75f52e1693d0c8d7a7f58cd336f4773ef097fa0be377ed9160 |
|
MD5 | e907573c1dffc8dee5b4c770aef535c6 |
|
BLAKE2b-256 | 02391d4bd107355d56fdb1489b263d8aac74f77e221042b8a5d6bff452974543 |
Hashes for awscrt-0.16.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98ad80ac0c95d2b4c55c0e4118f9bfede6b318a12dd4b6b6d3b4eade7f63c0d8 |
|
MD5 | b4cac34efd7851918e984880b22453a0 |
|
BLAKE2b-256 | ace1677c7e3627faf9f459eeb8a62ebfb2a284e3f79ddc89e90ab40a24c73556 |
Hashes for awscrt-0.16.15-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d0210977ce56660d3961bdb5fd665ea726e8f6913f48f9692e1fa27351b4238 |
|
MD5 | 27c21c55418d1b40fdebdf9080cf759a |
|
BLAKE2b-256 | b21119440405081f6c27ede689ec425670c0852086ad37cc1f75d8b81e3981bf |
Hashes for awscrt-0.16.15-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20b493226e2e099da6c7ce2dc339435dff19ba3d3d81c5e1740d73ea2a8066c4 |
|
MD5 | 447be3174f7ef638e0d88fe4bc25cf6d |
|
BLAKE2b-256 | 94fb11616f08c5b9c626bc4a58ccb9441cb34d5b0bcefcf16a2fc2a55da643c3 |
Hashes for awscrt-0.16.15-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ceafd9e7548654db937332c209de831eee05f21688277356d878e4b38fd327e |
|
MD5 | b2436512156196d5e14c7186cc71daed |
|
BLAKE2b-256 | 5730bf7f58ebf86b9d87d28e98b50883f42f8a6f3d3628881356d47b04ef9796 |
Hashes for awscrt-0.16.15-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adf2470825d408b5d96003940d9c47ca54a1396469179011e9c074c8be0f8421 |
|
MD5 | 3f92b048101569c02a2e6c77dc2f09ab |
|
BLAKE2b-256 | f24d3d2bf4d9e7be85ddfde0c8f758d1aed834c52de434c2bdf4f7da4ec53ec6 |
Hashes for awscrt-0.16.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aee0992c5b8596798ce4d6af01e7cc169bdc4693e09a9b1a595b41aa7b3ae663 |
|
MD5 | 4920f2f79d2b74c2a3127c72f7871a9b |
|
BLAKE2b-256 | 7cfcaa9311e582577808e076a8ecc94d4e3ac03ba24e003b1d59ed5485008ea0 |
Hashes for awscrt-0.16.15-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 181c0a89b0b9bd4ee89da8959794f4e6f9a627c2e221d3c2206af561ad38e728 |
|
MD5 | 45405c4c0d418404cd73549fc8001041 |
|
BLAKE2b-256 | 5539d6707c275afe5d85d2958dc780a22a510f2132fd39ec414435ac990e6629 |
Hashes for awscrt-0.16.15-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12b1ed6b24e0114b75c94474af9ac3e8cd3bc48be80793148a0545348cbcd092 |
|
MD5 | a62f09474000cd77d6dae1c0b3eb6383 |
|
BLAKE2b-256 | 283db173fa53ffcf870b0549d6646e350a9753a1d82b883dc726fad46e673502 |
Hashes for awscrt-0.16.15-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e145e3715f1dda57f49996f1c0fd0883094bdf9c13197dd34c9e6f883b2698d6 |
|
MD5 | 62c15956b573a520876b55fd433a2151 |
|
BLAKE2b-256 | 7b6b4e8bcf10f7adf0a646b48ed91dd48783d1837875e2a35cbcad8594122d9b |
Hashes for awscrt-0.16.15-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09d828374e263ea99cedc450a7cf1b901236e2733db9a9110a125d51365c2d70 |
|
MD5 | 57ac178e0569672db6584a55ca45e71a |
|
BLAKE2b-256 | ddbcc58c45ba48c7deac56584cfd8a4ab3689816f736042961889583bc964006 |
Hashes for awscrt-0.16.15-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f1d5a45faeb8eeacfa8e5da05b2909ec4357db25c46d958cc9b8c50299981a5 |
|
MD5 | 8301f79620bd47c5d11708e026120220 |
|
BLAKE2b-256 | 40bbfafbe83496f17a2632de4440ce5bdf40a3f5ae55a14bfb56ab3389c1bbd6 |
Hashes for awscrt-0.16.15-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfa1c4469a1a99a8c45e067fd9304191185f5754d625f7629ac42fb4884d1a8e |
|
MD5 | 68a556a142cb1f27d47087921877fcdd |
|
BLAKE2b-256 | 9ab256cc8427b2ef9219fe5f82ebe8886199b3d2f1854977847c9ee76b423dd3 |
Hashes for awscrt-0.16.15-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | baf626860e66fbac1bf69ab1ebe198d4e7cc61e7a92f4f5374e5869f589afd6e |
|
MD5 | 70a00604e075ac911841e9644efc7b56 |
|
BLAKE2b-256 | 4439b8a40e871b94f2fb206592a1ac8214a024a0386d930bb5e8bf2ae6da48e6 |
Hashes for awscrt-0.16.15-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d68b97c7f80c8915b12e98f2d0b1fbce4d20bb113bbe2b8b6e4c466db97ef81f |
|
MD5 | fbf7ee4a93f1deb528a5f4d2813079b4 |
|
BLAKE2b-256 | c1be9d2f4bd62bdcec15a4df9f0019a68f21acf6e47eee6f405e05790be400a4 |
Hashes for awscrt-0.16.15-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63d7499757c9d7736f63935cafec7f9c12955c021d6c2e99408ed02d8f486562 |
|
MD5 | 99e16bcc328afda7198f113a8574556b |
|
BLAKE2b-256 | 13213f5aea0179d42d99fa59c9041646512cfe0fadbe127fcc35add7d781e34f |
Hashes for awscrt-0.16.15-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d639e8f3785abd71e3ca7dc706ef84a8b71ca28d7290586db1420e107845270f |
|
MD5 | de7ea733c48588ce951ed069f81fce83 |
|
BLAKE2b-256 | 8c186509b6e29bc31ab1229a8f5c3d2371a4ea5166a657e9048e5924fc1cd18a |
Hashes for awscrt-0.16.15-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07301e0c77ab899a6201695337b8ba4fe4dc964145d3dcdc384ad1c650380bc1 |
|
MD5 | 74cdbac5d673362ea98a60f4769541c2 |
|
BLAKE2b-256 | 1bd549476fa7de1d6eae3334ae3c9593bf6ade631995045f1050b9a0e034f989 |
Hashes for awscrt-0.16.15-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f055e6b4da269c2779a811a43e7bbe22fa549789924239ef8908be1ebdeef5a |
|
MD5 | 7f81a25f623fd436ebd3a7ee2c355267 |
|
BLAKE2b-256 | 18281204c463bd86266a355a87e90057877aa58c275f1e46274d203e85c512d7 |
Hashes for awscrt-0.16.15-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60d6e21f886282ede4862d561b23cfe2cdc75fd63dce0769cf2f0589295ceb0c |
|
MD5 | 15d35de89181adc06b0845cf56729457 |
|
BLAKE2b-256 | 8ccb6762f6e6e6013197fc46fb4934bc53c8133aa859c7aa9cf28f4c2c0450c6 |
Hashes for awscrt-0.16.15-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2ca9dcf401482d0fde95e0720e82318b974c4ea60b83e7355bd8f0b8f7f012e |
|
MD5 | 2cace4f50b392c5ab6b45e5d41d38121 |
|
BLAKE2b-256 | 6e6431011aebd99911f8fd353c5b69cdfa033f4a998a5fe4fa94e5023042dc9e |
Hashes for awscrt-0.16.15-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ff37217e9412c0c0ba204e4b4bbcc342c5775d7d4a86fb781c18fcffdfc29f |
|
MD5 | 2fb9699db9cdea1e307a30445a508128 |
|
BLAKE2b-256 | dc43182be7b1725b58947c4e0ac21e46e8deb1870f69bc3fd4ebe1a86d7a53ab |
Hashes for awscrt-0.16.15-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6162240cd3d3b450af246b4373f99fabad62698d349edfb1c67357d1c64383ae |
|
MD5 | 7a000c62ee64a82214fe78823071b7e8 |
|
BLAKE2b-256 | 205b3a3abc643dfd1c0d8c83cd88ce0d7979f46b5a55f561c31c3e002fe078e5 |
Hashes for awscrt-0.16.15-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 962691154631722407a0ebdeb47597c29a39b7284b5a74b41795c3213c659d9b |
|
MD5 | 64eb3f2606541caee0a322d00bff1a64 |
|
BLAKE2b-256 | d97a05f796400e2277e6c38a68511ce068e5cf17ce464cebe1b457b308991509 |
Hashes for awscrt-0.16.15-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c7d2eece00163a9861ecf443e1b2c1ac6c306f3e0a0558942177a10816d54e8 |
|
MD5 | 64bf5b071e3a41ce46f3c9f156313f6e |
|
BLAKE2b-256 | 5de3f6cdc5bdc8d71dfd357f8eac3de814dd0c24f1be81f59b54b5281edd449b |