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.0.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.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for modules_for_freethreading-0.2.0.tar.gz
Algorithm Hash digest
SHA256 563fe836b6fd9ed300c7ebb6f17ef10c1652bd95cd2b5a9afb09865b60f2a3fc
MD5 7f5acd6e1d1b3a25b5368068fe66ed03
BLAKE2b-256 f2e849650456c7058524c539e9bbaed00e2e769cac9fbdfbebc2b2f33e21cf09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modules_for_freethreading-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b38e4a39759e7b825539c618f13a5af91b8ff8809945bb6108f37230aba5a58
MD5 565664532351902778ecaf7a959bf334
BLAKE2b-256 4fc689daaab34ab4110396076d4bfc7069d1da538c01645fdde9653d2aab5970

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