Skip to main content

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

modules_for_freethreading-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modules_for_freethreading-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file modules_for_freethreading-0.1.0.tar.gz.

File metadata

File hashes

Hashes for modules_for_freethreading-0.1.0.tar.gz
Algorithm Hash digest
SHA256 14702f447630ac0b45a2013baf81d4571cacaa338ef0a33046c441b6ae32e14d
MD5 9adb7c9d9444d9ced0d0d978a6634a14
BLAKE2b-256 13e01651f19435c218c85319d5f891e69b4aba9b3d44e6ccfea160b8f051837a

See more details on using hashes here.

File details

Details for the file modules_for_freethreading-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for modules_for_freethreading-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0a4cdd4cc0ce2baf63f460a4ba554159b726ef79b806b805dc68c465e45fd09
MD5 de3bf527f0465e247be7a5640211756a
BLAKE2b-256 4a031174b01c011bee6596f2ce22c886092cd2a8e0d5849b72e8be3744875ccc

See more details on using hashes here.

Supported by

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