Skip to main content

No project description provided

Project description

hep-data-llm

PyPI - Version PyPI - Python Version


Table of Contents

Installation

To run out of the box you'll need to do the following once:

Prerequisites:

  1. You'll need to have docker installed on your machine
  2. Build the docker image that is used to run servicex, awkward, and friends: docker build -t atlasplotagent:latest Docker
  3. If you are running a servicex workflow, get an access token. Make sure the servicex.yaml file is either in your home directory or your current working directory.
  4. You'll need token(s) to access the LLM. Here is what the .env looks like. Please create this either in your local directory or your home directory. Make sure only you can read it: this is access to a paid service!
api_openai_com_API_KEY=<openai-key>
api_together_xyz_API_KEY=<together.ai key>
openrouter_ai_API_KEY=<openrouter-key>

Running in a local python environment

pip install hep-data-llm
hep-data-llm plot "Plot the ETmiss of all events in the rucio dataset mc23_13p6TeV:mc23_13p6TeV.801167.Py8EG_A14NNPDF23LO_jj_JZ2.deriv.DAOD_PHYSLITE.e8514_e8528_a911_s4114_r15224_r15225_p6697." output.md

The output will be in output.md - view in a markdown rendering problem (I use vscode). A img directory will be created and it will contain the plot (hopefully).

Use hep-data-llm plot --help to see all the options you can give it. It defaults to using gpt-5, the most successful model in tests.

Running with uvx

This is great if you want to just run once or twice.

uvx hep-data-llm plot "Plot the ETmiss of all events in the rucio dataset mc23_13p6TeV:mc23_13p6TeV.801167.Py8EG_A14NNPDF23LO_jj_JZ2.deriv.DAOD_PHYSLITE.e8514_e8528_a911_s4114_r15224_r15225_p6697." output.md

This uses the uvx tool to install a temporary environment. If you want to keep this around to use, you can use uv tool install hep-data-llm. Do remember to update it every now and then!

License

hep-data-llm is distributed under the terms of the MIT license.

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

hep_data_llm-1.0.0b3.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

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

hep_data_llm-1.0.0b3-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file hep_data_llm-1.0.0b3.tar.gz.

File metadata

  • Download URL: hep_data_llm-1.0.0b3.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hep_data_llm-1.0.0b3.tar.gz
Algorithm Hash digest
SHA256 ab5b961c23d5224a5875501c2a00a65f6ac373c8efd746a70566e47360e3b0a7
MD5 c55c55bda790e9295979594cc7dee0e7
BLAKE2b-256 792cb27dc00adcb189827bc572d30f6f0eb639801305736560a4677d183db1d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for hep_data_llm-1.0.0b3.tar.gz:

Publisher: publish.yaml on gordonwatts/hep-data-llm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hep_data_llm-1.0.0b3-py3-none-any.whl.

File metadata

  • Download URL: hep_data_llm-1.0.0b3-py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hep_data_llm-1.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 6510ac04ffd9456cfe0b5d1cb8c01d1749a90bd09ca4453370db9b7d595007dd
MD5 7bbf604771973cec2f16fa72758919e1
BLAKE2b-256 b7f6766291003edff31b595b63160e12de1c77c2abb6ca4fec4bbf61334535cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for hep_data_llm-1.0.0b3-py3-none-any.whl:

Publisher: publish.yaml on gordonwatts/hep-data-llm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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