Skip to main content

Two numpy

This is the module that ensure that you import the right version of numpy.

In python3.13, there are two python interpreters, different interpreters have different numpy versions.

This module will help you to import the right version of numpy.

Install

pip install two_numpy

Usage

It will import the right version of numpy based on the python interpreter you are using.

from two_numpy import np

You can also use it like this:

import two_numpy
two_numpy.np

You can also set the version of numpy you want to use:

import os
os.environ["NUMPY_VERSION"] = "2.2.0"
from two_numpy import np

Tips: can only set the official version of numpy, such as "2.2.0", "2.2.1" and so on.

Don't set the other version of numpy, such as "2.2.0.dev0", "2.2.0rc1" and so on.

License

MIT

Metadata

Release files for two-numpy 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for two-numpy 0.1.0
File Size Uploaded Provenance
two_numpy-0.1.0.tar.gz 2.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for two-numpy 0.1.0
File Interpreter ABI Platform
two_numpy-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / two_numpy-0.1.0.tar.gz

Download URL two_numpy-0.1.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6c21f5016dc258a85a1cd5137feceb49b1c8405a348c4f697c3cf5f0b3027f5a
BLAKE2b-256 checksum
How to use checksums
8df1e3c65c8723db2c2141362a95be59d76df5b301b055e2be3e9f6f41f1ec1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / two_numpy-0.1.0-py3-none-any.whl

Download URL two_numpy-0.1.0-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
120039456000ea761b2a9c4ee0132f9ed653e59616224b64fecaac779751d44f
BLAKE2b-256 checksum
How to use checksums
6da70a3b14a4f7bf3edb88b6f2cdf15df8eab242edaad1a761e559b2392e1fd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for two-numpy 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page