Python/WinRT
The Windows Runtime Python Projection (Python/WinRT) enables Python developers to access Windows Runtime APIs directly from Python in a natural and familiar way.
Getting Started
Prerequisites
- Windows 10, October 2018 Update or later.
- Python for Windows, version 3.7 or later
- pip, version 19 or later
Installing
Python/WinRT can be installed from the Python Package Index via pip. Assuming pip is on the path, Python/WinRT can be installed from the command line with the following command:
> pip install winrt
You can test that Python/WinRT is installed correctly by launching Python and running the following snippet of Python code. It should print "https://github.com/Microsoft/xlang/tree/master/src/tool/python" to the console.
import winrt.windows.foundation as wf
u = wf.Uri("https://github.com/")
u2 = u.combine_uri("Microsoft/xlang/tree/master/src/tool/python")
print(str(u2))
For more information on accessing Windows Runtime APIs from Python, please visit Python/WinRT's homepage.
For an end-to-end sample of using Python/WinRT, please see the WinML Tutorial in the samples folder of the xlang GitHub repo.
Metadata
Release files for winrt 1.0.21033.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| winrt-1.0.21033.1-cp39-none-win_amd64.whl | CPython 3.9 | none | Windows x86-64 | Details for winrt-1.0.21033.1-cp39-none-win_amd64.whl |
| winrt-1.0.21033.1-cp39-none-win32.whl | CPython 3.9 | none | Windows x86-32 | Details for winrt-1.0.21033.1-cp39-none-win32.whl |
| winrt-1.0.21033.1-cp38-none-win_amd64.whl | CPython 3.8 | none | Windows x86-64 | Details for winrt-1.0.21033.1-cp38-none-win_amd64.whl |
| winrt-1.0.21033.1-cp38-none-win32.whl | CPython 3.8 | none | Windows x86-32 | Details for winrt-1.0.21033.1-cp38-none-win32.whl |
| winrt-1.0.21033.1-cp37-none-win_amd64.whl | CPython 3.7 | none | Windows x86-64 | Details for winrt-1.0.21033.1-cp37-none-win_amd64.whl |
| winrt-1.0.21033.1-cp37-none-win32.whl | CPython 3.7 | none | Windows x86-32 | Details for winrt-1.0.21033.1-cp37-none-win32.whl |
Total release size: 26.8 MB
Release files / winrt-1.0.21033.1-cp39-none-win_amd64.whl
| Download URL | winrt-1.0.21033.1-cp39-none-win_amd64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ad4afd1c7b041a6b770256d70e07093920fa83eecd80e42cac2704cd03902243
|
|
BLAKE2b-256 checksum How to use checksums |
78e7179a6599dfd47132ef7cf29d9deee5212bb5d7c38345740b981c96bbbef5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
|
Release files / winrt-1.0.21033.1-cp39-none-win32.whl
| Download URL | winrt-1.0.21033.1-cp39-none-win32.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.9 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
9d7b7d2e48c301855afd3280aaf51ea0d3c683450f46de2db813f71ee1cd5937
|
|
BLAKE2b-256 checksum How to use checksums |
c77b0599e61103c2eb10cde633e93917f481026a551595a6d193a4a9448008c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
|
Release files / winrt-1.0.21033.1-cp38-none-win_amd64.whl
| Download URL | winrt-1.0.21033.1-cp38-none-win_amd64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f5ab502117da4777ab49b846ad1919fbf448bd5e49b4aca00cc59667bae2c362
|
|
BLAKE2b-256 checksum How to use checksums |
810bd92048a884b50d3e385f15a1f6ce964bafd2bd66e127db9bd96001d1ee00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
|
Release files / winrt-1.0.21033.1-cp38-none-win32.whl
| Download URL | winrt-1.0.21033.1-cp38-none-win32.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.8 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
224e13eb172435aaabdc7066752898a61dae0fcc3022f6f8cbd1ce953be3358c
|
|
BLAKE2b-256 checksum How to use checksums |
6986a3ee7811a3282f27f39192c8c768ac22e965a182d1be6130a41ed6aefaf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
|
Release files / winrt-1.0.21033.1-cp37-none-win_amd64.whl
| Download URL | winrt-1.0.21033.1-cp37-none-win_amd64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.7 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
da3ca3626fb992f2efa4528993d4760b298f399a7f459f7e070a2f8681d82106
|
|
BLAKE2b-256 checksum How to use checksums |
9de547cc328844ce56d4aba98e750e00f0669fd0d434b22159d2f7ed20519a5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
|
Release files / winrt-1.0.21033.1-cp37-none-win32.whl
| Download URL | winrt-1.0.21033.1-cp37-none-win32.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.7 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
d035570ce2cf7e8caa785abb43f25a6ede600c2cde0378c931495bdbeaf1a075
|
|
BLAKE2b-256 checksum How to use checksums |
a5c3c7d4eafd8e55b4bd5aba5e68a820399d063b553921206a43e4b554104c94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
|
Security for winrt 1.0.21033.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.