Core infrastructure and fundamental utilities for the SciTeX ecosystem
Project description
scitex-core
Bundled foundation utilities (logging, errors, sh, path, str, dict, types, dt, parallel, repro) for the SciTeX ecosystem.
Full Documentation · pip install scitex-core
Problem and Solution
| # | Problem | Solution |
|---|---|---|
| 1 | 10 separate scitex- utility packages for dev tooling* — pip install scitex-str, scitex-dict, scitex-path, ... gets tedious |
Bundled foundation — import scitex_core exposes logging, errors, sh, path, str, dict, types, dt, parallel, repro in one install |
Installation
pip install scitex-core
Quick Start
from scitex_core import logging, path, repro
logger = logging.getLogger(__name__)
logger.info("Hello from scitex-core!")
git_root = path.find_git_root()
exp_id = repro.gen_id()
1 Interfaces
Python API
# Logging
from scitex_core import logging
logger = logging.getLogger(__name__)
logger.info("Hello"); logger.success("Done")
# Path
from scitex_core import path
path.find_file("/home/user/project", "*.py")
path.this_path()
path.find_git_root()
# Reproducibility
from scitex_core.repro import RandomStateManager, gen_id
rng = RandomStateManager(seed=42)
data = rng("data").random(100)
rng.verify(data, "my_data")
# Types
from scitex_core.types import ArrayLike, is_array_like, is_list_of_type
is_list_of_type([1, 2, 3], int)
# Datetime
from scitex_core.dt import linspace
import datetime
linspace(datetime.datetime(2026, 1, 1), datetime.datetime(2026, 1, 2),
n_samples=24)
# Parallel
from scitex_core.parallel import run
run(my_func, [(arg1,), (arg2,)], n_jobs=4)
# Dict
from scitex_core.dict import DotDict
d = DotDict({"a": {"b": 1}})
d.a.b # 1
Status
Foundation package — used by scitex-writer, scitex-scholar,
scitex-io, and the umbrella scitex distribution.
Part of SciTeX
scitex-core 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_core-0.2.8.tar.gz.
File metadata
- Download URL: scitex_core-0.2.8.tar.gz
- Upload date:
- Size: 9.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1b2642184c1612f3a43f4ca5689e61e1068c46f8d1be9adbc9121baf06ae83b
|
|
| MD5 |
1a0425262ffd7f1da70a11af0764356c
|
|
| BLAKE2b-256 |
5c40549b822e5d566976aa849b06cb601016b3b82d6978d76d7c7b743a5363e2
|
Provenance
The following attestation bundles were made for scitex_core-0.2.8.tar.gz:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_core-0.2.8.tar.gz -
Subject digest:
e1b2642184c1612f3a43f4ca5689e61e1068c46f8d1be9adbc9121baf06ae83b - Sigstore transparency entry: 1417375166
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-core@cd46564c0ad237573d14462fd92e47a2599b8d3b -
Branch / Tag:
refs/heads/develop - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@cd46564c0ad237573d14462fd92e47a2599b8d3b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file scitex_core-0.2.8-py3-none-any.whl.
File metadata
- Download URL: scitex_core-0.2.8-py3-none-any.whl
- Upload date:
- Size: 112.7 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 |
7db8b02389f07f9cdca0d195215ed3683b47cc752573c2fb65d4f42dfaf39f12
|
|
| MD5 |
edfdf2298b589958f7a9154264162c16
|
|
| BLAKE2b-256 |
b29db0e77a67c50036f9b2df33eb3e9a5410444c87b333fdf9f54cb89ad2472f
|
Provenance
The following attestation bundles were made for scitex_core-0.2.8-py3-none-any.whl:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_core-0.2.8-py3-none-any.whl -
Subject digest:
7db8b02389f07f9cdca0d195215ed3683b47cc752573c2fb65d4f42dfaf39f12 - Sigstore transparency entry: 1417375174
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-core@cd46564c0ad237573d14462fd92e47a2599b8d3b -
Branch / Tag:
refs/heads/develop - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@cd46564c0ad237573d14462fd92e47a2599b8d3b -
Trigger Event:
workflow_dispatch
-
Statement type: