Skip to main content

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 >=1.26.4,<2, 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 around python-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

ialdev_core-0.2.5.tar.gz (199.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ialdev_core-0.2.5-py3-none-any.whl (170.2 kB view details)

Uploaded Python 3

File details

Details for the file ialdev_core-0.2.5.tar.gz.

File metadata

  • Download URL: ialdev_core-0.2.5.tar.gz
  • Upload date:
  • Size: 199.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.34.2

File hashes

Hashes for ialdev_core-0.2.5.tar.gz
Algorithm Hash digest
SHA256 710e81c794b43e167d57a964130e13fb4cdf7ca16889d4dd243a3b50aad7d243
MD5 60ae9287f1189173dcd6cdbe8b03ab50
BLAKE2b-256 e1e4d782372398045d307400c5b8600f25bcaab041ffe70178dd6f73b83afe57

See more details on using hashes here.

File details

Details for the file ialdev_core-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: ialdev_core-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 170.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.34.2

File hashes

Hashes for ialdev_core-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b38df3e926030d503e037183400c32cec57bdec4322943f603c7b34600f2c24a
MD5 b34a2308cb91539623f2b86064d2c6f0
BLAKE2b-256 c06ea9fa22d7112c5c68c1e5ca7c579461e7881277b6049d7ad92c584773977f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page