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.1.dev0-cp313-cp313-manylinux_2_34_x86_64.whl (212.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

jposit-0.3.1.dev0-cp313-cp313-macosx_11_0_arm64.whl (186.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

jposit-0.3.1.dev0-cp312-cp312-manylinux_2_34_x86_64.whl (212.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

jposit-0.3.1.dev0-cp312-cp312-macosx_11_0_arm64.whl (186.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

jposit-0.3.1.dev0-cp311-cp311-manylinux_2_34_x86_64.whl (212.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

jposit-0.3.1.dev0-cp311-cp311-macosx_11_0_arm64.whl (186.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

jposit-0.3.1.dev0-cp39-cp39-manylinux_2_34_x86_64.whl (212.2 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.34+ x86-64

jposit-0.3.1.dev0-cp39-cp39-macosx_11_0_arm64.whl (186.8 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for jposit-0.3.1.dev0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9afadd4f77794a41521dd8a97f1ddb70c88d12ed44da76b7d12dc06209928773
MD5 cfa8fb30883af4b0122f0d2d74f6ace6
BLAKE2b-256 7460544f578fe605fbde3d17ad5fb1f24be952e7486cdbd055b4a2e8adc28789

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jposit-0.3.1.dev0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b58da8beb47ff6e018c32b3ee82ecb2a2e9e1fbecbd0f85d8e501a708fbff1c4
MD5 a483b0628aaebde070e899605868412f
BLAKE2b-256 4c38d657c56d5435d270b09ae6eb05d12cce2d2f29a2b911ef057eb763ba07b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jposit-0.3.1.dev0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 37b1deb6cc97c38d297411ed6f31ad1eff296bd3199b8f457ce2f413b39d4dbf
MD5 83bb7f275f084714a75d08949e8c52ae
BLAKE2b-256 c4fc5bd14c1aa52607c0247b3d2e93abeecdca7ce85c1d01f883834d63f785e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jposit-0.3.1.dev0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca07b3a45ca83c47a77e1eac7ee37b9a4414d39d9aa47b50b549169f829da1b5
MD5 b1d7ef1bbcb03eaabc54fd9902047ca5
BLAKE2b-256 40127c35df8c57ea5e15988e3547bec2fdaa64f5c6eb099fc1d0761450f0e831

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jposit-0.3.1.dev0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 00a706383ea525a4c8cbee4be8063f84ce73c0c1922bb90a8765fc250d49489d
MD5 6a51222d7179d5bd561f5b975cd67df5
BLAKE2b-256 371c99549e4fc19eca61f2bd1b080b13e61e7c113ee61567de7ce62d7fe3c66c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jposit-0.3.1.dev0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c3c5145e0614dee91661d6b7c032289556e39327c2c1ee4521aabb8651537a6c
MD5 50c70f3a5285c5f8cedee673ce17a69a
BLAKE2b-256 7f6714a68f4c707a35b92b43afc87a893b11110514797b584165c108a4eb6ead

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jposit-0.3.1.dev0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 d3f07cc15dbbeb60ef523c868ec7cb867f0f65376b11ab27f450644fed8a6383
MD5 79bcea14da7ddfd50842ec11db0fa0d7
BLAKE2b-256 ef26b58d13705ee0a473a983972dd31842bcf60e4330d8d94a95ce15d87cc671

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jposit-0.3.1.dev0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 23875a89040833f0de76c5eb665e71e9b2aa1e95ae8366ca24a6a6e85d2caa98
MD5 87de0b1a57e4be380be37afefa2b81f0
BLAKE2b-256 e619b7a2c9abe9bc862d84162bd61cf9c351f7a687fd9c2042fa2afc76a11e97

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