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)
| File | Size | Uploaded | |
|---|---|---|---|
| iccore-0.2.6.tar.gz | 40.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|