Skip to main content

etlup

This project contains code for plotting for CMS MTD ETL project. To install you can do,

pip install etlup

Or if you are developing locally you can clone the repo and cd into it. Then do,

pip install -U -e ./

Plotting

from etlup.tamalero.Noisewidth import NoisewidthV0
from etlup import now_utc
nw = NoisewidthV0(
    user_created = "hayden",
    location = "CERN",
    measurement_date = now_utc(),
    module = "Module 206",
    pos_0 = [[4, 4, 3, 4, 3, 4, 2, 4, 3, 3, 3, 3, 4, 4, 3, 3,],
            [3, 4, 4, 3, 4, 4, 3, 4, 4, 4, 3, 4, 3, 3, 4, 3,],
            [3, 5, 4, 3, 3, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 4,],
            [3, 3, 3, 3, 4, 3, 4, 3, 4, 3, 3, 3, 4, 3, 3, 3,],
            [3, 4, 3, 3, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3,],
            [3, 4, 4, 3, 4, 3, 3, 3, 3, 4, 3, 3, 3, 3, 4, 4,],
            [3, 4, 4, 4, 3, 3, 4, 4, 4, 5, 4, 4, 4, 4, 4, 3,],
            [3, 3, 3, 3, 2, 4, 3, 3, 4, 4, 3, 3, 4, 3, 3, 4,],
            [3, 4, 4, 4, 4, 3, 3, 4, 5, 3, 4, 3, 3, 4, 3, 3,],
            [4, 3, 3, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 3, 4, 4,],
            [4, 4, 4, 4, 3, 4, 3, 4, 4, 4, 3, 3, 4, 3, 3, 4,],
            [3, 3, 4, 3, 3, 3, 3, 3, 3, 4, 3, 4, 4, 3, 3, 3,],
            [4, 3, 4, 3, 4, 3, 4, 3, 3, 3, 4, 3, 3, 4, 3, 3,],
            [3, 4, 5, 4, 3, 4, 3, 3, 4, 4, 3, 4, 3, 4, 3, 4,],
            [3, 3, 4, 4, 3, 4, 3, 4, 4, 3, 4, 3, 4, 3, 4, 3,],
            [4, 3, 3, 3, 3, 3, 3, 4, 4, 3, 3, 4, 3, 4, 3, 3,]]
    # there are the other three positions you can also give
    # pos_1, pos_2, pos_3
)
fig = nw.plot()
fig.savefig("noisewidth.png")

Uploading to Database

In order for you to upload to the database you will need to create a .env file in the same directory as the script or pass in its path to the Session. Here is an example of a .env file:

API_TOKEN_ENV = "your token goes here"

To upload,

from etlup.tamalero.Noisewidth import NoisewidthV0
from etlup import prod_session

tests = [
    NoisewidthV0(...),
    ...
]

prod_session.add_all(tests)
prod_session.upload()

Metadata

Release files for etlup 4.2.14

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

Source distribution (sdist)

Source distribution for etlup 4.2.14
File Size Uploaded Provenance Actions
etlup-4.2.14.tar.gz 28.0 kB Without provenance Details for etlup-4.2.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for etlup 4.2.14
File Interpreter ABI Platform Actions
etlup-4.2.14-py3-none-any.whl Python 3 none any Details for etlup-4.2.14-py3-none-any.whl

Total release size: 86.0 kB

Release files / etlup-4.2.14.tar.gz

Download URL etlup-4.2.14.tar.gz
Size 28.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f18691f8d2a3eb2b969a8e7cc34d87589b527a405b0c12d533f2143d6c9c00a8
BLAKE2b-256 checksum
How to use checksums
90ed061a50d9ef5db6fdf0412a3cfd854ccdbc3f9f83c24153755399dc2f2865
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / etlup-4.2.14-py3-none-any.whl

Download URL etlup-4.2.14-py3-none-any.whl
Size 58.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
869c7c3e0579b927b63906fd8dd2ce78294ae34f91ff27dcb24461269fe646e6
BLAKE2b-256 checksum
How to use checksums
bb6749bf0d72bd4f5410875b15472361f6ec9f6ca9aebab78f0a835a3d3ee2f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for etlup 4.2.14

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.

Release history Release notifications | RSS feed

This release

4.2.14 This release

2 release files No provenance

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