Continuum Objects
This python library is used to describe objects of the digital continuum :
-
computing clusters,
-
data centers,
-
user workspaces,
-
...
All objects are described through pydantic BaseModel, ensuring easy importation, exportation and validation.
Examples
See file example.py to get an example of usage.
Example of object description :
{
"id": "c11a0535-b154-4deb-ba71-ed1613290271",
"type": "Partition",
"name": "cpu_p1",
"totalNodeCount": 720,
"nodes": [
{
"type": "NodeGroup",
"id": "415a18d3-ae83-43e6-8013-a19d771ed3d5",
"nodeComponents": [
{
"type": "CPU",
"name": "Intel Xeon Gold 6248",
"count": 2
},
{
"type": "RAM",
"capacity": {
"value": 192,
"unit": "GB"
},
"count": 1
},
{
"type": "MotherBoard",
"count": 1
}
]
}
]
}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file continuum_objects-0.0.6.tar.gz.
File metadata
- Download URL: continuum_objects-0.0.6.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ebaa6d41f25873b2c0150b41b3bbb4329fefe0e46886590cd4c547aed0cc9c7
|
|
| MD5 |
5eba4ed86ed8de90919b93a4e00aee60
|
|
| BLAKE2b-256 |
eb8d799a6add342947e3011e80cae3d52a18c01ae1c0a0b5006ced2d7b37e207
|