How qarnot/qarnot-sdk-python works
Project type and purpose
• From the README and file tree, this is an open-source Python SDK for Qarnot’s cloud computing service.
• Purpose: expose Qarnot compute and storage REST APIs via a convenient Python interface, enabling users to create/manage tasks, pools, buckets, quotas, secrets, etc.
File structure
• Top-level packaging and CI:
• setup.py, pyproject.toml, setup.cfg, MANIFEST.in – package metadata & build
• .github, .gitlab, CI YAMLs – continuous integration & publishing
• Source code:
• qarnot/ – core SDK modules
– connection.py – handles authentication, endpoint resolution, HTTP session
– job.py, task.py, pool.py, bucket.py, storage.py, etc. – one module per API resource
– _util.py, _retry.py, _filter.py – shared utilities (pagination, retries, filters)
• versioneer.py – version management
• Documentation:
• doc/source/api – Sphinx-generated per-module API docs
• Tests:
• test/ – unit tests targeting each resource module
README for additional insights
• Describes core usage: create Connection, create and run a Task, fetch stdout
• Points to Docker-batch payloads, digital-boiler nodes on the cloud
Detail without overthinking
• Every logical component/module identified in the file tree