Skip to main content

Access Windows Runtime APIs from Python

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

winrt-1.0.20330.1-cp39-none-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

winrt-1.0.20330.1-cp39-none-win32.whl (4.7 MB view details)

Uploaded CPython 3.9 Windows x86

winrt-1.0.20330.1-cp38-none-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

winrt-1.0.20330.1-cp38-none-win32.whl (4.7 MB view details)

Uploaded CPython 3.8 Windows x86

winrt-1.0.20330.1-cp37-none-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.7 Windows x86-64

winrt-1.0.20330.1-cp37-none-win32.whl (4.7 MB view details)

Uploaded CPython 3.7 Windows x86

File details

Details for the file winrt-1.0.20330.1-cp39-none-win_amd64.whl.

File metadata

  • Download URL: winrt-1.0.20330.1-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for winrt-1.0.20330.1-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 f52a0dad773488bf220307cde24064ae1f227334b2a8d2a2fc1548e569cfd0cb
MD5 3786e1bb5c59f28f4286f1d07490da89
BLAKE2b-256 12d134378c1640a3c965f3318834c4914889cf2a8b215069f722af61fba6b0f8

See more details on using hashes here.

File details

Details for the file winrt-1.0.20330.1-cp39-none-win32.whl.

File metadata

  • Download URL: winrt-1.0.20330.1-cp39-none-win32.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using 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

File hashes

Hashes for winrt-1.0.20330.1-cp39-none-win32.whl
Algorithm Hash digest
SHA256 9de5467afc634e3542aabc4df5777983b21b246d41a00676c575afec8c5ea4cb
MD5 5c55d46c1d56ec1c92777a8ac94df60c
BLAKE2b-256 e38b3ca8d1e2e09cdba80078dca98643270f162a01fd5b60276b71a987c7a7bc

See more details on using hashes here.

File details

Details for the file winrt-1.0.20330.1-cp38-none-win_amd64.whl.

File metadata

  • Download URL: winrt-1.0.20330.1-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for winrt-1.0.20330.1-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 425d5a22763061d5650505f04a09eef86e3641266f45829e799c23efab955dc0
MD5 3918e73b5bfa2b58dced01cbdc598810
BLAKE2b-256 937f3a2ad0e90b72c7cb31969a93606ae9ca7ce6f44d4ba3d4bcac5b8aef66bf

See more details on using hashes here.

File details

Details for the file winrt-1.0.20330.1-cp38-none-win32.whl.

File metadata

  • Download URL: winrt-1.0.20330.1-cp38-none-win32.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using 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

File hashes

Hashes for winrt-1.0.20330.1-cp38-none-win32.whl
Algorithm Hash digest
SHA256 3434550f7352018f4cacf08ba053754ba801cded825587d2462e266a353cc79a
MD5 601bc9ea97601388c940938708020f45
BLAKE2b-256 1c10b22d28ee04a5ce56e5130449262735a48d4ef2011e6d542b5b7d5ed982f3

See more details on using hashes here.

File details

Details for the file winrt-1.0.20330.1-cp37-none-win_amd64.whl.

File metadata

  • Download URL: winrt-1.0.20330.1-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.7, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for winrt-1.0.20330.1-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 8eebc91823f494c5d223ee62b3b125a517afbeb0c388e24aa405885da96a215c
MD5 54090f0e5ea4ca0438ee60fd3938db19
BLAKE2b-256 6a8f45efc1edf8947cb4c175fd2e9c5f9c5b4831b71a9f69dc66331cd38304f1

See more details on using hashes here.

File details

Details for the file winrt-1.0.20330.1-cp37-none-win32.whl.

File metadata

  • Download URL: winrt-1.0.20330.1-cp37-none-win32.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.7, Windows x86
  • Uploaded using 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

File hashes

Hashes for winrt-1.0.20330.1-cp37-none-win32.whl
Algorithm Hash digest
SHA256 2b4cea178df9bee76e8e0b7a6d50704d07bf3d1c292e200473eee54a46cd0bb6
MD5 ed0fd4fcf838f50942f56518fd77c80f
BLAKE2b-256 62914e69ac65aebe0c0f9483e435ce4bc71cb11ee826aeb9fb2efd63b539ec26

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page