Skip to main content

A module to handle module compatibility between free-threading and regular Python builds

Project description

Modules for free-threading built python

Description

See https://github.com/python/cpython/pull/135550, PEP779. 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"[, module_version="2.2.0"])
import 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.2.1.tar.gz (2.9 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.2.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for modules_for_freethreading-0.2.1.tar.gz
Algorithm Hash digest
SHA256 90c0e40c25ce5e4f49a1fdc6540c07bc0728f8eef494970ad04c538b3c1adf4d
MD5 bd801d0faa0716bd311dd47b5ab1a93f
BLAKE2b-256 9cf3fa5a846ebd18627178a04fe18970069513ae0f819c2638d39c2dfd9c089c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modules_for_freethreading-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a839888ae3554a9fff9f9fc485c8d59910d61893a2ff7b42f6df810202d74d4
MD5 97966bba7ca128b2371a3df2d402fbce
BLAKE2b-256 257d0cb1235ecd640e7aeacde293c57a516ea771f2988d8908f766e178bea3e4

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