Skip to main content

scitex-math

SciTeX

Mathematical utilities for the SciTeX ecosystem — parity helpers and friends.

Full Documentation · uv pip install scitex-math

PyPI Python Tests License: AGPL v3


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

  1. The freedom to run your research anywhere — your machine, your terms.
  2. The freedom to study how every step works — from raw data to final manuscript.
  3. The freedom to redistribute your workflows, not just your papers.
  4. 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).


SciTeX

Metadata

Release files for scitex-math 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 scitex-math 0.1.0
File Size Uploaded Provenance
scitex_math-0.1.0.tar.gz 16.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for scitex-math 0.1.0
File Interpreter ABI Platform
scitex_math-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.9 kB

Release files / scitex_math-0.1.0.tar.gz

Download URL scitex_math-0.1.0.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4c80bd42d7e23f225a659b66ebea812dce9a4089500e3d29cac6d43bdf644c0f
BLAKE2b-256 checksum
How to use checksums
a85281bb62248a1a0dbe3687802cccfc4fa186042dbe171e55276cd2ef15879a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 6, 2026.

Transparency log

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

Download URL scitex_math-0.1.0-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e736e5ba04d4bf80cbe600f33e26053d9e1888f6dc87033dabaf36fe4cc54539
BLAKE2b-256 checksum
How to use checksums
72cac1e357e6aeeabaa5684dbb49c2626abdb59e370c002c8f0659a5c8318fd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 6, 2026.

Transparency log

Security for scitex-math 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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for scitex_math-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 6, 2026.

Transparency log

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 Full 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