General utilities (caching, env detection, normalization, mat→npy, xml→dict, TimeStamper, …) — standalone module from the SciTeX ecosystem
Project description
scitex-gen
General-purpose utilities (caching, environment detection, normalization, mat→npy, xml→dict, TimeStamper, etc.) extracted from the SciTeX ecosystem as a standalone package.
Install
pip install scitex-gen
API
import scitex_gen as gen
gen.cache(...)
gen.TimeStamper()
gen.xml2dict(...)
gen.to_z(tensor) # requires torch
gen.to_even(n)
gen.to_odd(n)
gen.transpose(...)
Status
Standalone fork of scitex.gen. The umbrella package's scitex.gen import path
is preserved via a sys.modules-alias bridge.
Decoupling notes:
scitex.{decorators,str,os,introspect,session,context,sh,dict}→scitex_*direct imports (peer packages).scitex.torch.nanstd→ optional viatry/exceptwith a torch-only fallback (only matters for_norm.to_z / to_nanz).import scitexremoved from_less.py(was unused in module body).- self-references in
_norm_cache.pyrewritten toscitex_gen.*.
License
AGPL-3.0-only (see LICENSE).
Project details
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_gen-0.1.5.tar.gz.
File metadata
- Download URL: scitex_gen-0.1.5.tar.gz
- Upload date:
- Size: 130.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f49a7f80a97646107f4bca8134a1150160debb700d1149895b7925bd7843f98
|
|
| MD5 |
8a9160cffb1f1e7d5b7f5f695d0786d9
|
|
| BLAKE2b-256 |
a4460bd215b8acb2338490115065e03c131bfce23b2ae64aa8acb7db377ee73f
|
Provenance
The following attestation bundles were made for scitex_gen-0.1.5.tar.gz:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-gen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_gen-0.1.5.tar.gz -
Subject digest:
4f49a7f80a97646107f4bca8134a1150160debb700d1149895b7925bd7843f98 - Sigstore transparency entry: 1396616937
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-gen@0a7ab6ccaa7dbdbc3843c9c3eec0d7e3e1d30c15 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@0a7ab6ccaa7dbdbc3843c9c3eec0d7e3e1d30c15 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scitex_gen-0.1.5-py3-none-any.whl.
File metadata
- Download URL: scitex_gen-0.1.5-py3-none-any.whl
- Upload date:
- Size: 51.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 |
fafd018aa84f33d1e86a9a3d5e9377989eee8fcd8d5ce38d7fa38db9ee599bfd
|
|
| MD5 |
f388c8627dafbd0eddffe1beca2abf55
|
|
| BLAKE2b-256 |
0798a5620e471511166a84ced96653da32961f83cbd10ccf7c3263772cff3421
|
Provenance
The following attestation bundles were made for scitex_gen-0.1.5-py3-none-any.whl:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-gen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_gen-0.1.5-py3-none-any.whl -
Subject digest:
fafd018aa84f33d1e86a9a3d5e9377989eee8fcd8d5ce38d7fa38db9ee599bfd - Sigstore transparency entry: 1396616942
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-gen@0a7ab6ccaa7dbdbc3843c9c3eec0d7e3e1d30c15 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@0a7ab6ccaa7dbdbc3843c9c3eec0d7e3e1d30c15 -
Trigger Event:
push
-
Statement type: