awscrt
A common runtime for AWS Python projects
Decision gist · record as of 2026-08-14
Yes, if you are building or using AWS SDKs in Python and need the native runtime they depend on. Install friction is moderate due to compiled extensions, but wheels are well-distributed. No security vulnerabilities reported. Active maintenance and permissive Apache-2.0 license pose no barriers. Main gotcha: incompatible with os.fork() by default—requires multiprocessing configuration if you use ProcessPoolExecutor or similar.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8+.
- On POSIX systems (except macOS), multiprocessing defaults to 'fork', which is unsafe with awscrt's background threads—use 'spawn' or 'forkserver' context if using ProcessPoolExecutor or similar.
- Medium install friction due to compiled C extensions across multiple platforms (macOS, Linux, Windows, ARM).
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
last release 2026-08-11 (3 days) · last repo commit 2026-08-11 · 100 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 19,738,690 downloads/mo, #1,055 on PyPI
Alternatives
Verify before relying
pip install awscrt
from awscrt.logging import init_logging, CRT_LOG_FORMAT
import logging
handler = logging.StreamHandler()
handler.setFormatter(logging.Formatter(CRT_LOG_FORMAT))
logging.getLogger('awscrt').addHandler(handler)
init_logging(logging.DEBUG)- Whether prebuilt wheels cover all target deployment platforms and Python versions in your environment
- Performance characteristics compared to pure-Python AWS SDK implementations
- Compatibility with specific AWS services or SDK versions that depend on this runtime
What it is and what it does
awscrt is a Python wrapper around AWS's native Common Runtime library, written in C. It exposes low-level primitives for networking, TLS, event loops, and cryptographic operations that underpin AWS SDKs and tools. The package requires Python 3.8+ and ships as precompiled wheels for macOS, Linux (x86_64 and ARM), Windows, and musl-based systems.
The library uses platform-native TLS backends: Schannel on Windows, Apple Secure Transport (or optionally s2n-tls) on macOS, and s2n-tls on Linux. It bundles its own copy of libcrypto to avoid system OpenSSL dependencies. Key constraint: it uses background threads, making it incompatible with os.fork() on POSIX systems—multiprocessing must be configured to use 'spawn' or 'forkserver' instead of the default 'fork' mode.
Use it for
- Building AWS SDK clients that require high-performance, native-code networking and TLS
- Integrating cryptographic primitives (ED25519, hashing, signing) into AWS-adjacent applications
- Deploying AWS tools in environments where pure-Python implementations are too slow
- Configuring advanced TLS behavior (e.g., enabling TLS 1.3 on macOS via environment variable)
- Debugging AWS service communication via hierarchical logging integrated with Python's logging module
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or using AWS SDKs in Python and need the native runtime they depend on.
Install friction is moderate due to compiled extensions, but wheels are well-distributed. No security vulnerabilities reported. Active maintenance and permissive Apache-2.0 license pose no barriers. Main gotcha: incompatible with os.fork() by default—requires multiprocessing configuration if you use ProcessPoolExecutor or similar.
Install
awscrt on PyPI
Before you install
Medium install friction due to compiled C extensions across multiple platforms (macOS, Linux, Windows, ARM). Actively maintained with recent releases; no runtime dependencies simplifies deployment once installed.
Requires Python 3.8+. On POSIX systems (except macOS), multiprocessing defaults to 'fork', which is unsafe with awscrt's background threads—use 'spawn' or 'forkserver' context if using ProcessPoolExecutor or similar.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install awscrt
from awscrt.logging import init_logging, CRT_LOG_FORMAT
import logging
handler = logging.StreamHandler()
handler.setFormatter(logging.Formatter(CRT_LOG_FORMAT))
logging.getLogger('awscrt').addHandler(handler)
init_logging(logging.DEBUG)
Verify before relying
- Whether prebuilt wheels cover all target deployment platforms and Python versions in your environment
- Performance characteristics compared to pure-Python AWS SDK implementations
- Compatibility with specific AWS services or SDK versions that depend on this runtime
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 19,738,690 / month, #1,055 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: Python :: 3 |
Evidence: awscrt-0.36.2-cp310-cp310-macosx_10_15_universal2.whl; awscrt-0.36.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; awscrt-0.36.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; awscrt-0.36.2-cp310-cp310-musllinux_1_1_aarch64.whl; awscrt-0.36.2-cp310-cp310-musllinux_1_1_x86_64.whl; awscrt-0.36.2-cp310-cp310-win32.whl; awscrt-0.36.2-cp310-cp310-win_amd64.whl; awscrt-0.36.2-cp311-abi3-macosx_10_15_universal2.whl; awscrt-0.36.2-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; awscrt-0.36.2-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; awscrt-0.36.2-cp311-abi3-musllinux_1_1_aarch64.whl; awscrt-0.36.2-cp311-abi3-musllinux_1_1_x86_64.whl; awscrt-0.36.2-cp311-abi3-win32.whl; awscrt-0.36.2-cp311-abi3-win_amd64.whl; awscrt-0.36.2-cp313-abi3-macosx_10_15_universal2.whl; awscrt-0.36.2-cp313-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; awscrt-0.36.2-cp313-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; awscrt-0.36.2-cp313-abi3-musllinux_1_1_aarch64.whl; awscrt-0.36.2-cp313-abi3-musllinux_1_1_x86_64.whl; awscrt-0.36.2-cp313-abi3-win32.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “AWS common runtime python”
- awscrtPython bindings for the AWS Common Runtime, providing low-level…
- awslambdaricImplements the AWS Lambda Runtime API to make custom Python container…
- awacsawacs generates AWS IAM policy JSON from Python code, with built-in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also awsiotsdk · types-awscrt · pyOpenSSL · nassl · tlslite-ng · pyobjc-framework-Security · amazon-transcribe · google-cloud-common · PyNaCl · thrift-sasl