Mathematical utilities for the SciTeX ecosystem (parity helpers, etc.) — standalone module
Project description
scitex-math
Mathematical utilities for the SciTeX ecosystem — parity helpers and friends.
Full Documentation · uv pip install scitex-math
Installation
pip install scitex-math
Architecture
scitex_math/
├── _to_even.py ← to_even — round down to nearest even integer
└── _to_odd.py ← to_odd — round down to nearest odd integer
Pure-stdlib core — zero runtime deps.
Quick Start
from scitex_math import to_even, to_odd
to_even(5) # 4
to_even(6) # 6
to_even(3.7) # 2
to_even(-2.3) # -4
to_odd(6) # 5
to_odd(7) # 7
to_odd(5.8) # 5
Status
Standalone module split out of scitex-gen. Same semantics as the
original scitex_gen.to_even / scitex_gen.to_odd — those exports
have been removed from scitex-gen; import from scitex_math instead.
Part of SciTeX
scitex-math is part of SciTeX.
Four Freedoms for Research
- The freedom to run your research anywhere — your machine, your terms.
- The freedom to study how every step works — from raw data to final manuscript.
- The freedom to redistribute your workflows, not just your papers.
- The freedom to modify any module and share improvements with the community.
AGPL-3.0 — because we believe research infrastructure deserves the same freedoms as the software it runs on.
License
AGPL-3.0-only (see LICENSE).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scitex_math-0.1.0.tar.gz.
File metadata
- Download URL: scitex_math-0.1.0.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c80bd42d7e23f225a659b66ebea812dce9a4089500e3d29cac6d43bdf644c0f
|
|
| MD5 |
ead8693ed94330940e21cef9fcc780e9
|
|
| BLAKE2b-256 |
a85281bb62248a1a0dbe3687802cccfc4fa186042dbe171e55276cd2ef15879a
|
Provenance
The following attestation bundles were made for scitex_math-0.1.0.tar.gz:
Publisher:
pypi-publish-and-github-release-on-tag.yml on ywatanabe1989/scitex-math
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_math-0.1.0.tar.gz -
Subject digest:
4c80bd42d7e23f225a659b66ebea812dce9a4089500e3d29cac6d43bdf644c0f - Sigstore transparency entry: 1739940583
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-math@6cc97bd35b49fbe9912e438add1204661244aa09 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish-and-github-release-on-tag.yml@6cc97bd35b49fbe9912e438add1204661244aa09 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scitex_math-0.1.0-py3-none-any.whl.
File metadata
- Download URL: scitex_math-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e736e5ba04d4bf80cbe600f33e26053d9e1888f6dc87033dabaf36fe4cc54539
|
|
| MD5 |
a5fe4231390ef6ced5e65d811330ced6
|
|
| BLAKE2b-256 |
72cac1e357e6aeeabaa5684dbb49c2626abdb59e370c002c8f0659a5c8318fd9
|
Provenance
The following attestation bundles were made for scitex_math-0.1.0-py3-none-any.whl:
Publisher:
pypi-publish-and-github-release-on-tag.yml on ywatanabe1989/scitex-math
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_math-0.1.0-py3-none-any.whl -
Subject digest:
e736e5ba04d4bf80cbe600f33e26053d9e1888f6dc87033dabaf36fe4cc54539 - Sigstore transparency entry: 1739940607
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-math@6cc97bd35b49fbe9912e438add1204661244aa09 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish-and-github-release-on-tag.yml@6cc97bd35b49fbe9912e438add1204661244aa09 -
Trigger Event:
push
-
Statement type: