Skip to main content

iccore

This package is part of the Common Tooling Project at the Irish Centre for High End Computing.

It is a collection of common data structures, data types and low-level utilities used in other ICHEC 'common tools'.

Features

The package consists of:

  • data structures (list, strings, dicts etc.) and utilities for working with them
  • tooling for interacting with system resources, such as external processes, the filesystem and network
  • basic database interaction tooling with sqmlmodel

Useful Data Types

  • HPC and Networking: CPU, GPU, Process, SystemEvent, Node, ClusterAllocation, Host

Filesystem

Utilities to find files with pattern matching and replace content inside files.

CLI Example:

You can replace all occurences of a string with another recursively in files with:

iccore filesystem replace_in_files --target $REPLACE_DIR --search $FILE_WITH_SEARCH_TERM --replace $FILE_WITH_REPLACE_TERM 

The search and replace terms are read from files. This can be handy to avoid shell escape sequences - as might be needed in sed.

Networking

Includes a:

  • HttpClient

CLI Example:

You can download a file with:

iccore network download --url $RESOURCE_URL --download_dir $WHERE_TO_PUT_DOWNLOAD

Serialization

Tools for reading and writing ymal and json with some error handling.

Install

It is available on PyPI:

pip install iccore

Copyright and License

This software is copyright of the Irish Centre for High End Computing (ICHEC).

You may use it under the terms of GPLv3+ license. See the incluced LICENSE.txt file for details.

Release files for iccore 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iccore 0.2.6
File Size Uploaded
iccore-0.2.6.tar.gz 40.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iccore 0.2.6
File Interpreter ABI Platform
iccore-0.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 84.9 kB

Release files / iccore-0.2.6.tar.gz

Download URL iccore-0.2.6.tar.gz
Size 40.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f965af70ebd610c3d36d0ce1c19f8992027cd9d02265f746dac8c878c2bf3442
BLAKE2b-256 checksum
How to use checksums
aa5177950ef6836c21fe9a2bac4e1d68b61faeaf9ae9cb03497f765572ff64c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.8

Release files / iccore-0.2.6-py3-none-any.whl

Download URL iccore-0.2.6-py3-none-any.whl
Size 44.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5e155141166f5a2f3c90014b5d766f974e92fc34730fd7836adc73113bf3168
BLAKE2b-256 checksum
How to use checksums
c93bfe52b23fe48dbd0fcab4d0b460a28ec0e22944c0903490fa72a64cf06839
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.8

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page