A module to handle module compatibility between free-threading and regular Python builds
Project description
Modules for freethreading built python
Description
See https://github.com/python/cpython/pull/135550.
Now the free-threading is not a experimental feature anymore. However, the .pyd files are different between two executable.
This repository is make sure that if the .pyd files are not the files for the executable version, it will be reinstall for the currently version.
Note
Make sure that the packages have at least a version that is compatible with the current python executable version.
The cp313-cp313 should be used for the normal, while the cp313-cp313t should be used for the free-threading.
Usage
pip install modules_for_freethreading
The code below is an example of using the numpy module. If the numpy module is not compatible with the current python executable version, it will be reinstalled for the corrently version.
import modules_for_freethreading
modules_for_freethreading.add_module("numpy")
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modules_for_freethreading-0.1.0.tar.gz.
File metadata
- Download URL: modules_for_freethreading-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14702f447630ac0b45a2013baf81d4571cacaa338ef0a33046c441b6ae32e14d
|
|
| MD5 |
9adb7c9d9444d9ced0d0d978a6634a14
|
|
| BLAKE2b-256 |
13e01651f19435c218c85319d5f891e69b4aba9b3d44e6ccfea160b8f051837a
|
File details
Details for the file modules_for_freethreading-0.1.0-py3-none-any.whl.
File metadata
- Download URL: modules_for_freethreading-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0a4cdd4cc0ce2baf63f460a4ba554159b726ef79b806b805dc68c465e45fd09
|
|
| MD5 |
de3bf527f0465e247be7a5640211756a
|
|
| BLAKE2b-256 |
4a031174b01c011bee6596f2ce22c886092cd2a8e0d5849b72e8be3744875ccc
|