Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

DIPLO: the Transit Trials toolkit as a stand-alone download

DIPLO (Dip Investigation Pipeline for Light-curve Observations, after Diplodocus) is the transit-vetting toolkit of Transit Trials (tools/transit, TOOLKIT.md) packaged so that anyone can install it and run it on their own computer. Its home is github.com/derek/diplo. 0.1.0rc2 is a release candidate (29 Nov 2026): a test release for install and packaging problems, not for real science yet.

Step What State
1 Installable package; frozen cutoff files shipped inside it; version stamp without git done
2 One command, diplo: give it a TIC (and optionally a period), get a folder with an automatic tier, a test table, a TRICERATOPS score, plots, case.yaml and a plain report done
3 Slow real-star scorecard for steps 1 and 2 done: identical to the in-repo toolkit on every line (29 Nov)
4 Downloads kept in a folder on the user's own computer (first version in 0.1.0rc1); one copy of the data-cache code; the project's verdicts table optional next
5 Guide for newcomers, a worked example with its expected answer, a fresh-install test planned
6 diplo inject TIC...: plant fake planets in the star's own light curves and report how many the search and vetting tests recover, by size and period, with the 95% range planned (Derek, 28 Nov 2026)
7 diplo survey stars.txt: a list of stars with one upside-down cutoff for the group, the vetting tests and an optional fake-planet pass, summed up as stars searched, signals, tiers and recovery rate planned (Derek, 28 Nov 2026)
8 diplo scorecard: the "never get worse" check (known planets, upside-down stars, planted planets); also the star-for-star comparison with the Transit Trials toolkit planned (Derek, 28 Nov 2026)

Steps 6 to 8 are built in Transit Trials' toolkit first and copied here, so both projects run the same commands. Blind tests with sealed answer keys, the verdicts table and the website stay in Transit Trials.

Before 1.0

Release candidates release themselves once every automatic check passes. An official version (1.0 and every later one) is merged by Derek only, after these:

  • The full automatic checks pass on its release pull request (installs on Linux, Intel Mac and Apple-silicon Mac; the ruled-out star; Ember with all 20 TRICERATOPS runs).

  • Testing outside CI: a fresh install and full run on Derek's own computer, and the same stars giving the same answers there.

  • DRIFT.md has no open rows and scripts/drift.py prints "identical"; the deep scorecard on DIPLO matches the Transit Trials toolkit star for star.

  • Derek switches on Zenodo's GitHub link for derek/diplo only (not transit-trials) just before publishing 1.0, so 1.0 gets the first DOI (recommended 28 Nov 2026); then the DOI goes into CITATION.cff and the README.

Install

pip install --pre diplo         # Python 3.13 or newer
diplo-setup                     # once: makes TRICERATOPS's pytransit import under numpy 2
diplo --check                   # is this computer ready? (about 30 seconds; runs no tests)
diplo TIC38699429              # search a star, test its strongest signal, write diplo-TIC38699429/
diplo TIC278139343 --period 6.2016 --quick   # test a known signal; --quick skips TRICERATOPS

DIPLO needs Python 3.13 or newer: below 3.13, TRICERATOPS 1.1 requires numpy 1, so pip would fall back to TRICERATOPS 1.0.x, which asks the TRILEGAL server for background stars and fails on its security certificate. A progress bar shows the step running and a rough time left (--quiet turns it off; the percentage comes from typical step times, so treat it as a guide).

The install brings in standard science libraries (numpy, scipy, astropy, numba, batman, TRICERATOPS and others), about 1 GB in a fresh environment. TRICERATOPS asks for an old version of one of its parts (pytransit 2.2) that no longer imports with numpy 2; diplo-setup edits that installed part so it does, the same fix the project's own runs use. Without it the false-positive test is not measured. pip install --pre "diplo[leo]" adds LEO-Vetter; without it that test is reported as not measured. Downloads are kept in ~/.cache/diplo and ~/.cache/lccache (set LCCACHE_ROOT and LCCACHE_BULK to move them).

Known limits: it reads NASA's SPOC and TESS-SPOC light curves only (a star with only QLP light curves comes out "not found"), and the automatic tier can sit below a hand-checked tier.

What is in the package

  • transit: the search, the vetting tests and the report writer, exactly as the project runs them.
  • gates, vetting_gates, lccache: the cheap gates and the data cache the toolkit uses.
  • transit/_calibration: a copy of the frozen cutoff files in calibration/, unchanged (transit.paths.CAL_DIR). The environment variable DIPLO_CALIBRATION can point to another folder.

Not in it: cases, the website, the project's verdicts table, scheduled searches or anything in the project folder. Nothing is sent anywhere: results stay on the user's computer.

Rules that still apply

Results are candidates, never planets, and nothing is called "validated". An outage, missing value or empty input is not measured, never a pass. The tier words are those of the project's tier ladder.

Metadata

Release files for diplo 0.1.0rc4

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

Source distribution (sdist)

Source distribution for diplo 0.1.0rc4
File Size Uploaded Provenance Actions
diplo-0.1.0rc4.tar.gz 162.5 kB With provenance Details for diplo-0.1.0rc4.tar.gz

Built distribution (wheel)

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

Total release size: 368.5 kB

Release files / diplo-0.1.0rc4.tar.gz

Download URL diplo-0.1.0rc4.tar.gz
Size 162.5 kB
Tags Source
SHA-256 checksum
How to use checksums
76bb7b41dd765ca0688084ee2ae6df77085af3171a979b1dd9854271fe339d5a
BLAKE2b-256 checksum
How to use checksums
2f7e6ddd9d8e2e5e1d79f1fef27f08c851cee9896ed4bb5c42cc972011dabeed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / diplo-0.1.0rc4-py3-none-any.whl

Download URL diplo-0.1.0rc4-py3-none-any.whl
Size 206.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06f3b7830773068d93428ea193a0aba793bb1e1795727a5cf7c46714e21e5281
BLAKE2b-256 checksum
How to use checksums
3444fea872e42468ab7031234f0a11a1a90ee9054c2b53aa8f09501841ae55be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for diplo 0.1.0rc4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for diplo-0.1.0rc4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

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