Skip to main content

jposit

Project description

uv venv
source .venv/bin/activate
uv pip install maturin
# if macOS
uv pip install pip

maturin develop
python
>>> import jposit
>>> jposit.from_bits(...)
>>>

Deprecated:

Rust

Posit

Added python bindings exploiting Python FFI lib. Working with Python 3.9/3.10

>>> import jposit
>>> jposit.from_bits(123, 8, 0)
14.0
>>> jposit.from_double(35.1, 16, 1)
35.09375

Jupyter notebook: https://github.com/urbanij/posit/blob/master/py-posit/notebooks/demo.ipynb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

jposit-0.3.2.dev0-cp313-cp313-manylinux_2_34_x86_64.whl (214.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

jposit-0.3.2.dev0-cp313-cp313-macosx_11_0_arm64.whl (188.3 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

jposit-0.3.2.dev0-cp312-cp312-manylinux_2_34_x86_64.whl (214.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

jposit-0.3.2.dev0-cp312-cp312-macosx_11_0_arm64.whl (188.3 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

jposit-0.3.2.dev0-cp311-cp311-manylinux_2_34_x86_64.whl (213.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

jposit-0.3.2.dev0-cp311-cp311-macosx_11_0_arm64.whl (188.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

jposit-0.3.2.dev0-cp39-cp39-manylinux_2_34_x86_64.whl (214.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.34+ x86-64

jposit-0.3.2.dev0-cp39-cp39-macosx_11_0_arm64.whl (188.2 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file jposit-0.3.2.dev0-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for jposit-0.3.2.dev0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f1ca6d33603ab60656be8ae72e4fb26e0e00cf9e62b304b8ced6351ee2ec982e
MD5 71b43a67506d74009a15dd324d6f8d79
BLAKE2b-256 5c127335e7c6ecbbb84a1a1facc9c315b591aa72bc4962e9732e0310cdec6543

See more details on using hashes here.

File details

Details for the file jposit-0.3.2.dev0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jposit-0.3.2.dev0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5360cbe1a946f2c6ea4041d7da85a6b3ae029a4934bba1760de0cd372f861fea
MD5 480ce27ffaaa0a1765613d31eb62c713
BLAKE2b-256 d2b35ec48d16137c2efcc80498925c554c0137af566145c29584e9b3ca7f99ce

See more details on using hashes here.

File details

Details for the file jposit-0.3.2.dev0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for jposit-0.3.2.dev0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8b41aba0bb4c0cc0d2236bdc8f901c68831175edea4705663354c4ddabde4c13
MD5 110e5e86b1d15b201ff98e7fb099f4f7
BLAKE2b-256 2463c9fbdaa63e99eb2b2465ac1b503ae9185579c6800c8853ecd35fea96cad4

See more details on using hashes here.

File details

Details for the file jposit-0.3.2.dev0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jposit-0.3.2.dev0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5fcfcd753a4f2d2ee00d4e694a34e4b837dadadf944ea5b9f667f82dc9986974
MD5 7713d4e57d8a6aa4eca276fe1a08d6ab
BLAKE2b-256 0d2c1d055dd7af9cc4a8c663f11cb2d6e3ae9c03e765b3e39ce19c0d4d251c00

See more details on using hashes here.

File details

Details for the file jposit-0.3.2.dev0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for jposit-0.3.2.dev0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7ad3a1ec556f2cc0711b4cd66289e504c6986c0d56124eb510f7354f34013929
MD5 e2c2eac5a62efcdcf3cf2eb089648fcf
BLAKE2b-256 b5a550e6ca5272bffde72ffa26bd88f1f33778661f622f2485aea2128ec791f1

See more details on using hashes here.

File details

Details for the file jposit-0.3.2.dev0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jposit-0.3.2.dev0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4602f2a9013f72a47d8b5e027b9265af3d81271864d4b6ab21394cdd80f6c904
MD5 8c8c987c4df15f8573c68227003040d7
BLAKE2b-256 6b59847952039ddf5473b965e050d20785f878261cdfb74634ec4a42f374f24f

See more details on using hashes here.

File details

Details for the file jposit-0.3.2.dev0-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for jposit-0.3.2.dev0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f000079ed91a6a953f8b24d91142ade4a8de455a6c7866c6cf93f9e5b9547e82
MD5 80280b341621ca11c49a5d2c55a489d7
BLAKE2b-256 d8dd05afd727595a0d3e0a696248b2e1c53a9178e72bbc1aa2f351576eb4935c

See more details on using hashes here.

File details

Details for the file jposit-0.3.2.dev0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jposit-0.3.2.dev0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 59f198e720c8aec25f2143576765b12772b0ffef01b58498b9c5024dc1fadeb1
MD5 b95446ba40d0b6fbfcaf29fc0b5d244c
BLAKE2b-256 479e070922e4814d25bdafedacc142b5dc561fe4e8de43ea7498099fd0a6c3fc

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