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 >=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 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.1.tar.gz (197.1 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.1-py3-none-any.whl (168.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ialdev_core-0.2.1.tar.gz
Algorithm Hash digest
SHA256 28d36e3c560f1adee9ad36527a2b4722af1f378ce4bd9b00c2b9b83519bfde1c
MD5 df237520baf391c3c1ea47a7258f43d2
BLAKE2b-256 cac34348983aed4566cf70a48ae21c63e66d922cdbe94afec8d79ac1f82ceab2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ialdev_core-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17d4005ee3170584a0c44e9d8ef3e9d2d3ca9c259236e094f22b4be1b4ac7359
MD5 28d21cd7edc78f9d29edbd293fafbb93
BLAKE2b-256 f584ddfe23a77fef887fe5146c46f682a9a3dcef368f53125aa44b00e711a59f

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