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.0.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.0-py3-none-any.whl (168.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ialdev_core-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 13d39ebd41e66e299e76d4fb26ab9971dccaac71971d907a7ee737be10176781
MD5 487835d58432c70f48f663964b1c0c27
BLAKE2b-256 a6182e27a38225ab3b328978ddbe935a2c6cfe1a2829c46a5ec40413034233bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ialdev_core-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc5f8d0732b86682d1c9b4e12cc388084de53e095d1497fd34e526c58dec2841
MD5 3b0bcc0d4a3b6c91163692723e52611c
BLAKE2b-256 ad5490c05969a36cb4d02bc942fd194550fab7df93d99cdeab94a4dd8250b807

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