Python for Window Extensions
Project description
pywin32
This is the readme for the Python for Win32 (pywin32) extensions, which provides access to many of the Windows APIs from Python.
See CHANGES.txt for recent notable changes.
Only Python 3 is supported. If you want Python 2 support, you want build 228
.
Support
Feel free to open issues for all bugs (or suspected bugs) in pywin32. pull-requests for all bugs or features are also welcome.
However, please do not open github issues for general support requests, or for problems or questions using the modules in this package - they will be closed. For such issues, please email the python-win32 mailing list - note that you must be subscribed to the list before posting.
Binaries
By far the easiest way to use pywin32 is to grab binaries from the most recent release
Installing via PIP
You can install pywin32 via pip:
pip install pywin32
If you encounter any problems when upgrading (eg, "module not found" errors or similar), you should execute:
python Scripts/pywin32_postinstall.py -install
This will make some small attempts to cleanup older conflicting installs.
Note that if you want to use pywin32 for "system wide" features, such as registering COM objects or implementing Windows Services, then you must run that command from an elevated (ie, "Run as Administrator) command prompt.
Building from source
Building from source has been simplified recently - you just need Visual Studio and the Windows 10 SDK installed (the free compilers probably work too, but haven't been tested - let me know your experiences!)
setup.py
is a standard distutils build script. You probably want:
python setup.py install
or
python setup.py --help
You can run setup.py
without any arguments to see
specific information about dependencies. A vanilla MSVC installation should
be able to build most extensions and list any extensions that could not be
built due to missing libraries - if the build actually fails with your
configuration, please open an issue.
Release process
The following steps are performed when making a new release - this is mainly to form a checklist so mhammond doesn't forget what to do :)
-
Ensure CHANGES.txt has everything worth noting, commit it.
-
Update setup.py with the new build number.
-
Execute build.bat, wait forever, test the artifacts.
-
Upload .whl artifacts to pypi - we do this before pushing the tag because they might be rejected for an invalid
README.md
. Done viapy -3.5 -m twine upload dist/*XXX*.whl
. -
Commit setup.py (so the new build number is in the repo), create a new git tag
-
Upload the .exe installers to github.
-
Update setup.py with the new build number + ".1" (eg, 123.1), to ensure future test builds aren't mistaken for the real release.
-
Make sure everything is pushed to github, including the tag (ie,
git push --tags
) -
Send mail to python-win32
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 Distributions
Built Distributions
File details
Details for the file pywin32-302-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: pywin32-302-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 9.2 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79cf7e6ddaaf1cd47a9e50cc74b5d770801a9db6594464137b1b86aa91edafcc |
|
MD5 | 2d42604db1fe2b59eac26add634a2bdb |
|
BLAKE2b-256 | 69c74928e67c9ce73348c2ac121df55811a718d7185d748a9a376695b2c39d7e |
File details
Details for the file pywin32-302-cp310-cp310-win32.whl
.
File metadata
- Download URL: pywin32-302-cp310-cp310-win32.whl
- Upload date:
- Size: 8.4 MB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 251b7a9367355ccd1a4cd69cd8dd24bd57b29ad83edb2957cfa30f7ed9941efa |
|
MD5 | 4fab38ab4b1f12fecf30687ee36b385a |
|
BLAKE2b-256 | aadedf415649e1caf8cbd703ac65696230d38fc2cbf6fdbe597d84c57c82d323 |
File details
Details for the file pywin32-302-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: pywin32-302-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 9.3 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af5aea18167a31efcacc9f98a2ca932c6b6a6d91ebe31f007509e293dea12580 |
|
MD5 | 6b3e270ea1a753f0faa98cfda95f8603 |
|
BLAKE2b-256 | 0adb6772985c99b5770875b677163de3be6f83b91b8791fddfc6f251f6bf5ce4 |
File details
Details for the file pywin32-302-cp39-cp39-win32.whl
.
File metadata
- Download URL: pywin32-302-cp39-cp39-win32.whl
- Upload date:
- Size: 8.5 MB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2393c1a40dc4497fd6161b76801b8acd727c5610167762b7c3e9fd058ef4a6ab |
|
MD5 | 7854a56bdc21a51a4fa58f157df7b517 |
|
BLAKE2b-256 | fd981c57a1e0f0f2a7204189f18f9fd4ce46e87e4c8996968dae58febc4cea92 |
File details
Details for the file pywin32-302-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: pywin32-302-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 9.3 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 543552e66936378bd2d673c5a0a3d9903dba0b0a87235ef0c584f058ceef5872 |
|
MD5 | add80c775638f4734da0ac8c34ce1531 |
|
BLAKE2b-256 | b1e6ddf43219ac2b2145b73bb7dc2163abbf0ea83a6d01ff7284b053eaf531e7 |
File details
Details for the file pywin32-302-cp38-cp38-win32.whl
.
File metadata
- Download URL: pywin32-302-cp38-cp38-win32.whl
- Upload date:
- Size: 8.5 MB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e372e477d938a49266136bff78279ed14445e00718b6c75543334351bf535259 |
|
MD5 | 8562fa62d85ef97a28e2ac0586cc8008 |
|
BLAKE2b-256 | 2d381adf3b5e97f315bb439501ef08f8ccc0ee066e2dff497e1082f8dc62b137 |
File details
Details for the file pywin32-302-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: pywin32-302-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 9.2 MB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 496df89f10c054c9285cc99f9d509e243f4e14ec8dfc6d78c9f0bf147a893ab1 |
|
MD5 | 0a15603a4d6bc635e4ef73f50c485ce4 |
|
BLAKE2b-256 | 066bec826577b89db0b90dbe1f01165d0694bed605c1b2843195b3356140472f |
File details
Details for the file pywin32-302-cp37-cp37m-win32.whl
.
File metadata
- Download URL: pywin32-302-cp37-cp37m-win32.whl
- Upload date:
- Size: 8.5 MB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48dd4e348f1ee9538dd4440bf201ea8c110ea6d9f3a5010d79452e9fa80480d9 |
|
MD5 | 437956ec44bdc3e321f334aa99a32a22 |
|
BLAKE2b-256 | c63ee81f822cd24fda9268eb77f5c30199084f860ad9a7731978e95eaceb5d9e |
File details
Details for the file pywin32-302-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: pywin32-302-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 11.5 MB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3761ab4e8c5c2dbc156e2c9ccf38dd51f936dc77e58deb940ffbc4b82a30528 |
|
MD5 | ce33d7f6598e1ac79fa08298b88726f8 |
|
BLAKE2b-256 | 3ca50acb70bd455a03da901d418e5f4fe4be99bbd762519193bbd3705bec0305 |
File details
Details for the file pywin32-302-cp36-cp36m-win32.whl
.
File metadata
- Download URL: pywin32-302-cp36-cp36m-win32.whl
- Upload date:
- Size: 10.3 MB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe21c2fb332d03dac29de070f191bdbf14095167f8f2165fdc57db59b1ecc006 |
|
MD5 | 67d87eba0385d5a12ac0322e110dd95f |
|
BLAKE2b-256 | 24e48cfef4a67b5e985323761c894d94584817029b405969a00a2f265dfba943 |