Skip to main content

A package to query helmsdeep for sentry metadata

Project description

HelmsdeepToSentry

The purpose of this package is to query helmsdeep for the relevant metadata and format it to be put into sentry.

Credentials

You must have a .env file with your helmsdeep credentials in the working directory or provide the .env path to the get_database_url function.

Usage

from helmsdeep_to_sentry import *

# Set up the connection to helmsdeep
url = get_database_url(dotenv_path="path/to/.env") # or omit kwarg
session = get_local_session(url)

# Create a query for the experiment of interest
query_str = get_experiment_query_str("Screen Frodo") # or manually write query

# Query helmsdeep
result = query_database(session, query_str)

# Format the metadata for Sentry
result_df = result_to_df(result)
sentry_metadata = result_df_to_metadata(result_df)

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

helmsdeep_to_sentry-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

helmsdeep_to_sentry-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file helmsdeep_to_sentry-0.1.0.tar.gz.

File metadata

  • Download URL: helmsdeep_to_sentry-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for helmsdeep_to_sentry-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d417cf5ccc4f71b1a7639abd7bf1a1e2671cba36989e49358b4eb9b69a59291
MD5 7f00bf16387180e735e3dbf077b29a59
BLAKE2b-256 133a28fde7a82f5b0d243b20d3cb50c73c5c1de3722c6f1b58ca9432522998a8

See more details on using hashes here.

File details

Details for the file helmsdeep_to_sentry-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for helmsdeep_to_sentry-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35c271515ced498293267778e647792ebb6945e7f1e20089f3c5f9f7b06eea09
MD5 e0c90e71b42971b981afcd806036527d
BLAKE2b-256 aa6bb02477e55084034eb4fc353e230da75f0977651a0ed34a56c34cbf560015

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