Skip to main content

xepmts

A helper package for managing the PMT database used by the XENONnT Dark Matter Experiment.

https://img.shields.io/pypi/v/xepmts.svg https://img.shields.io/travis/jmosbacher/xepmts.svg Documentation Status

Basic Usage

import xepmts

# If you are using a notebook:
xepmts.notebook()

# use v1 client
db = xepmts.login("v1", token='YOUR-API-TOKEN')

# or the v2 client
db = xepmts.login("v2")

# set the number of items to pull per page
db.tpc.installs.items_per_page = 25

# get the next page
page = db.tpc.installs.next_page()

# iterate over pages:
for page in db.tpc.installs.pages():
    df = page.df
    # do something with data

# select only top array
top_array = db.tpc.installs.filter(array="top")

# iterate over top array pages
for page in top_array.pages():
    df = page.df
    # do something with data

query = dict(pmt_index=4)
# get the first page of results for this query as a list of dictionaries
docs = db.tpc.installs.find(query, max_results=25, page_number=1)

# same as find, but returns a dataframe
df = db.tpc.installs.find_df(query)


# insert documents into the database
docs = [{"pmt_index": 1, "position_x": 0, "position_y": 0}]
db.tpc.installs.insert_documents(docs)

Features

  • TODO

Credits

This package was created with Cookiecutter and the briggySmalls/cookiecutter-pypackage project template.

Metadata

Release files for xepmts 0.5.9

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

Source distribution (sdist)

Source distribution for xepmts 0.5.9
File Size Uploaded Provenance Actions
xepmts-0.5.9.tar.gz 11.7 kB Without provenance Details for xepmts-0.5.9.tar.gz

Built distribution (wheel)

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

Total release size: 23.1 kB

Release files / xepmts-0.5.9.tar.gz

Download URL xepmts-0.5.9.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6d99a00e2be1ef9723f88467d8b9c99f82ca63ad4b1791f06c1891ec76e38330
BLAKE2b-256 checksum
How to use checksums
7adf9b7ddf1006679f4b3fabd8ea918cb55f1d53fcec5af67ebf0a369a2fdf07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.4 Linux/5.15.32-1-MANJARO

Release files / xepmts-0.5.9-py3-none-any.whl

Download URL xepmts-0.5.9-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2370d9b02d04c32d5a2ccef44345a0a616fe7649a2ca32cb4396ae904d56dd35
BLAKE2b-256 checksum
How to use checksums
711e192f43e30f88a4862924af77a4974c107df3ea44900972dd14fbb15a0ac9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.4 Linux/5.15.32-1-MANJARO

Security for xepmts 0.5.9

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

0.5.9 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