Scientific type definitions (ArrayLike, ColorLike) and validation
Project description
scitex-types
Scientific type definitions (ArrayLike, ColorLike) and validation utilities.
Installation
pip install scitex-types
With optional dependencies:
pip install scitex-types[numpy,pandas]
pip install scitex-types[all]
Usage
from scitex_types import ArrayLike, ColorLike, is_array_like, is_list_of_type
# Type annotations
def process(data: ArrayLike) -> None: ...
def set_color(c: ColorLike) -> None: ...
# Runtime checks
is_array_like([1, 2, 3]) # True
is_list_of_type([1, 2, 3], int) # True
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_types-0.1.1.tar.gz.
File metadata
- Download URL: scitex_types-0.1.1.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c63e74fa4264850468307da5366bebe2b4bf082b6f50919eb61883c57fdc7b2f
|
|
| MD5 |
d9edf3329c4cdb8584c454c1e378160e
|
|
| BLAKE2b-256 |
a10442c628ed5c30507dd7a9ce48eb0206de9230602797fd0cc394ffdf21fe84
|
Provenance
The following attestation bundles were made for scitex_types-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-types
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_types-0.1.1.tar.gz -
Subject digest:
c63e74fa4264850468307da5366bebe2b4bf082b6f50919eb61883c57fdc7b2f - Sigstore transparency entry: 1364384406
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-types@105615d9fa773ff05aae5662f2b35e9cec8e46c4 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@105615d9fa773ff05aae5662f2b35e9cec8e46c4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scitex_types-0.1.1-py3-none-any.whl.
File metadata
- Download URL: scitex_types-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.6 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 |
d182cd396c28ad02c801a7f371a46f0add27d76ce5dfe7789a6fe431d6b93652
|
|
| MD5 |
c1f08094ab4a6311996a9b7942fbe1fc
|
|
| BLAKE2b-256 |
c8ee202df51ed4479638b1bda79f970f15eefe29a06dd813cf0d91b0f1b27a69
|
Provenance
The following attestation bundles were made for scitex_types-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-types
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_types-0.1.1-py3-none-any.whl -
Subject digest:
d182cd396c28ad02c801a7f371a46f0add27d76ce5dfe7789a6fe431d6b93652 - Sigstore transparency entry: 1364384473
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-types@105615d9fa773ff05aae5662f2b35e9cec8e46c4 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@105615d9fa773ff05aae5662f2b35e9cec8e46c4 -
Trigger Event:
push
-
Statement type: