Skip to main content

Models

This component contains data models that are used to communicate between at least two different components of the project.

This includes the following models:

  • database: models/classes for interfacing with hot and cold storage
    • hot: use plain Python classes that abstract away the path variables and include static types
    • cold: data models in SQL alchemy

Note that the hot storage essentially caches parts of the data structures of the cold storage. This should be reflected in the SQL alchemy model:

Principles

  • make sure to use object-oriented expressons and techniques, for example abstract models and classes which have different implementations to account for versioning.
  • consider the fact that the API itself is mostly consisting of CRUD-type of endpoints
  • for hot storage, favor small field with primitive data types
  • for cold storage, prefer large objects that enable fast data read without too many joins when reading/writing through the API endpoints

Modelled data

This is a very rough first draft which does not correspond to an 1:1 ORM:

Cold storage

  • run
    • id
    • type of job (compile, run, verify...)
    • state changes (array of timestamp/status)
    • logs
    • number of channels
    • measurements (per channel) for run/verify jobs
    • device id
    • input type
    • input (JSON data)
    • output (JSON data)
  • device
    • id
    • type
    • input type
    • parameter schema (as a data type that will simplify the model checking later)

Hot storage

  • run (by UUID)
    • state changes (array of pairs timestamp/status)
    • logs (array of lines, lines are appended)
    • measurements (on different channels, each channel is a time series of floating point values)
  • list of active devices (device IDs), regularly updated from scanner

Metadata

Release files for analogcloud-common 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for analogcloud-common 0.2.1
File Size Uploaded Provenance Actions
analogcloud_common-0.2.1.tar.gz 73.7 kB Without provenance Details for analogcloud_common-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for analogcloud-common 0.2.1
File Interpreter ABI Platform Actions
analogcloud_common-0.2.1-py3-none-any.whl Python 3 none any Details for analogcloud_common-0.2.1-py3-none-any.whl

Total release size: 115.7 kB

Release files / analogcloud_common-0.2.1.tar.gz

Download URL analogcloud_common-0.2.1.tar.gz
Size 73.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1e1558044ee429d09aaeee2c92f66231b2b4037119de04b574be55455c83bc66
BLAKE2b-256 checksum
How to use checksums
5223ac982037120c37a9cd5409bfc88d9767e17a717a61c87c2692dddaa34c5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / analogcloud_common-0.2.1-py3-none-any.whl

Download URL analogcloud_common-0.2.1-py3-none-any.whl
Size 42.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
daafaaf459e30fd0e2a9cd51c0e17a0ce20b4bf9de1f2b5808d54ebe2115a300
BLAKE2b-256 checksum
How to use checksums
7044da37f57b936dbcbe43090b4db8633218cbfd5fa1c8e1f2134db929675587
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for analogcloud-common 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page