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.3-cp313-cp313-manylinux_2_34_x86_64.whl (210.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

jposit-0.3.3-cp313-cp313-macosx_11_0_arm64.whl (183.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

jposit-0.3.3-cp312-cp312-manylinux_2_34_x86_64.whl (210.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

jposit-0.3.3-cp312-cp312-macosx_11_0_arm64.whl (183.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

jposit-0.3.3-cp311-cp311-manylinux_2_34_x86_64.whl (210.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

jposit-0.3.3-cp311-cp311-macosx_11_0_arm64.whl (183.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

jposit-0.3.3-cp39-cp39-manylinux_2_34_x86_64.whl (210.7 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.34+ x86-64

jposit-0.3.3-cp39-cp39-macosx_11_0_arm64.whl (183.8 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file jposit-0.3.3-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for jposit-0.3.3-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 853fd0e41b52346576425416d6a6f545f765a9b9173c01b0b82d0645f5e63323
MD5 9aad468219981bfb9162b8f4ff13af09
BLAKE2b-256 4667e3a833e30d6137e142b533de76e91d72f3c442f3786c7a0cb3f49d5a630c

See more details on using hashes here.

File details

Details for the file jposit-0.3.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jposit-0.3.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7ce094fa665da2491908b1686abd47ba6c29e0cde4b5c847b9f69c19613275ff
MD5 4eb9a5ee9fa2340befdae883fd41dc59
BLAKE2b-256 f6b655c72a249cc6ecc9b45e81d8db2bd086415d43c9edd780b139f70e574b66

See more details on using hashes here.

File details

Details for the file jposit-0.3.3-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for jposit-0.3.3-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 b1abf31bf3ac4d514184bd46201b9122163bbf28cccf0aa10cc65097a0201278
MD5 e9d8ddf16cdad160bb7e1e1bea8dd198
BLAKE2b-256 0c3dab961aea1c9d6e4116960108f4c63aeacd0185acef2a947793965918c0ab

See more details on using hashes here.

File details

Details for the file jposit-0.3.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jposit-0.3.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2fc46ae56cde876c1c84527f618cea0fc7f0a31879adf76de6171f28bcff4ad1
MD5 1399ef3b9478a8eb0a9d2a92aed6a6e8
BLAKE2b-256 f57c64721576d98a7df99f39ee4c4402d67b079b44341ecfc5e521c974bbc24e

See more details on using hashes here.

File details

Details for the file jposit-0.3.3-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for jposit-0.3.3-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 59e6ed3a8a7a4a644144c65d7420019d93ac858810a8fc7db451709cef7b5f18
MD5 6516357a57e6812449ae0d91b8e72eb2
BLAKE2b-256 2413df3ee635ee00e0e2ddc8f6ec01e02d767132202ce667bab0e0d8adb49faf

See more details on using hashes here.

File details

Details for the file jposit-0.3.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jposit-0.3.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46bd4cdd7a4df2eb88b3526825ef1fd5d4c4f86d21baeb8a443e335e26543c77
MD5 95c5e067ce0cb21ed0e95abb9015f22f
BLAKE2b-256 605b7f401fccb9f41f6e7f79c1adfba0f39c0ef55dd810729e07a26de7b7ba2c

See more details on using hashes here.

File details

Details for the file jposit-0.3.3-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for jposit-0.3.3-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1d3e3175a961a7a9caf616ee2e5117c43af9d6f27815e3142cf100511f7beef1
MD5 54dc3e048f2364e6ea836bd71794d66b
BLAKE2b-256 4600a316f64aec40079b4d757817cac23dfb6b98ea303c12805c5b02ea0115ba

See more details on using hashes here.

File details

Details for the file jposit-0.3.3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jposit-0.3.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c31bd4fae5c4039c1fd34ebfd5f0c928b5eacad0671449dabfefb898f910617
MD5 a3b429f01693ebe90589158d0c4caf0b
BLAKE2b-256 50817b5523ee6951efe76c5796367510bcce8536c237e3d7bd2c45c54fed563a

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