Skip to main content

Python package to load, validate and export objects of the digital continuum

Project description

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
        }
      ]
    }
  ]
}

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

continuum_objects-0.0.4.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file continuum_objects-0.0.4.tar.gz.

File metadata

  • Download URL: continuum_objects-0.0.4.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for continuum_objects-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d2fc0a321d4bced6c8789625e2810b0f066feba54787028b0e1f09642847c36f
MD5 691b0bdbf92a8d0b6a0fdf8f8ffa182b
BLAKE2b-256 224d1123e604e96c7b08fdc069466fa4745b56b29baa776fdeeaecadf557419f

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