A collection of common data structures and utilities used in other ICHEC tools
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iccore-0.2.6.tar.gz.
File metadata
- Download URL: iccore-0.2.6.tar.gz
- Upload date:
- Size: 40.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f965af70ebd610c3d36d0ce1c19f8992027cd9d02265f746dac8c878c2bf3442
|
|
| MD5 |
888f7181eb7eb96eea7273cac53ee9d4
|
|
| BLAKE2b-256 |
aa5177950ef6836c21fe9a2bac4e1d68b61faeaf9ae9cb03497f765572ff64c9
|
File details
Details for the file iccore-0.2.6-py3-none-any.whl.
File metadata
- Download URL: iccore-0.2.6-py3-none-any.whl
- Upload date:
- Size: 44.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5e155141166f5a2f3c90014b5d766f974e92fc34730fd7836adc73113bf3168
|
|
| MD5 |
643fd2723f5bec8fcadba0b0b4e8339f
|
|
| BLAKE2b-256 |
c93bfe52b23fe48dbd0fcab4d0b460a28ec0e22944c0903490fa72a64cf06839
|