iad.core — algorithmic utilities: data tools, parameters, paths, caching, and more
Project description
ialdev-core
Core utilities for the iad toolbox, published as ialdev-core and imported as iad.core.
Use this package when you need the shared building blocks used by the other ialdev-* libraries: collection helpers, typed dictionaries, path transformations, file discovery, caching, logging, event timing, decorators, and NumPy/Pandas utility functions.
Install
pip install ialdev-core
Requires Python >=3.10, NumPy >=2.0, and pandas >=2.1.0.
Highlights
iad.core.short: scalar/list normalization and keyword filtering (as_list,as_iter,drop_undef).iad.core.tbox:TBox, a convenience wrapper aroundpython-box.iad.core.fs: path normalization, file discovery, locators, and transformable path templates.iad.core.cache: pickle-based caches and cached processing pipes.iad.core.data: NumPy/Pandas helpers, labels, units, binary packing, and table utilities.iad.core.events: timers, progress helpers, and joblib/tqdm integration.
Examples
from iad.core import as_list, drop_undef
from iad.core.tbox import TBox
names = as_list("sample")
config = TBox(drop_undef(root="/data", cache=None, batch=8))
from iad.core.fs.filesproc import Locator
from iad.core.fs.paths import TransPath
locator = Locator("/data/project")
path_template = TransPath("{scene}/{frame}.png")
Development
pip install -e .
pixi run test
pixi run lint
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 ialdev_core-0.2.2.tar.gz.
File metadata
- Download URL: ialdev_core-0.2.2.tar.gz
- Upload date:
- Size: 197.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.34.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d2e5eaa4d1b6ff4660b58e671d76674a3b8cfeca8ba0991c2789295f75e80fb
|
|
| MD5 |
5a78697a74322d93697c2c1f9c0c69d9
|
|
| BLAKE2b-256 |
94e65a495a31304b8b81326026674f801c0283568e999cde91d6d1e8df7ed5ba
|
File details
Details for the file ialdev_core-0.2.2-py3-none-any.whl.
File metadata
- Download URL: ialdev_core-0.2.2-py3-none-any.whl
- Upload date:
- Size: 168.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.34.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b23587e6ed05f67783d6a07736b0bbca1b70b1fca186eac108c6609675c58b1c
|
|
| MD5 |
12b729377a4563498b08eb8ae7f0b09b
|
|
| BLAKE2b-256 |
495633fc700590f340449639cc1a949b0c85182c193b7deb13962f42f7f17cd4
|