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.4.tar.gz (197.2 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.4-py3-none-any.whl (168.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ialdev_core-0.2.4.tar.gz
Algorithm Hash digest
SHA256 210fdd9d925df68cc0a5fdcb23ffed6201b0a2983d47c08bee1554f0795e8528
MD5 201643c6b4b3ce94fc20b2c7b8c87f66
BLAKE2b-256 fb1b2cce90a802922f13065d7df70dda8f2f8cbe71ef5efb4944d284545ecffe

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ialdev_core-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 80563084bd74fe4d6fd97b10a6c9c409e54b8f3f11be19a622751123620730e8
MD5 e10d63ae07aa89d72588ffc081a94a80
BLAKE2b-256 b6d337736e621cd1f3c5f1cb8f1ed68d2c26870b021190eea4b17d1ce55403e4

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