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)
9 diplo timing TIC...: eclipse timing for eclipsing pairs, to find a third star from the eclipses arriving early and late planned (Derek agreed, 28 Nov 2026)
10 Older eclipse times from AAVSO's ground-based brightness database (read-only), to stretch a triple's timing record back years, as ASAS did for Trinity's 16-year orbit; nothing is uploaded to AAVSO planned, after step 9 (Derek, 29 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.

  • Reviewed and useful for science (Derek, 29 Nov 2026): 1.0 waits until professional astronomers have reviewed the method and it is fit for a paper to cite. Until then DIPLO stays at 0.x: an honest attempt at being accurate, not a reviewed tool. Passing every check above is not enough on its own.

  • 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 TIC259377017             # search a star, test its strongest signal, write diplo-TIC259377017/
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.0rc5

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.0rc5
File Size Uploaded Provenance Actions
diplo-0.1.0rc5.tar.gz 169.1 kB With provenance Details for diplo-0.1.0rc5.tar.gz

Built distribution (wheel)

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

Total release size: 384.5 kB

Release files / diplo-0.1.0rc5.tar.gz

Download URL diplo-0.1.0rc5.tar.gz
Size 169.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f03cf9d523284ca3c1dfc6d453f173eeb2ca101b06dcd510de86e49052f3fea2
BLAKE2b-256 checksum
How to use checksums
2b37d414cca4b204cfa82aa1809ed3f15b3c71a03e497f992d466d878d90aede
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 30, 2026.

Transparency log

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

Download URL diplo-0.1.0rc5-py3-none-any.whl
Size 215.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6f3697e1f5ffae87c1155809e00d3f00a4a2c5300c9217a7edf8f604ecd1f09
BLAKE2b-256 checksum
How to use checksums
7cfb0eb1704037ffe7060e94af8975162495d3596a3fa0a64c5d052365bd2f6c
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 30, 2026.

Transparency log

Security for diplo 0.1.0rc5

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.0rc5.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 30, 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