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 done (0.1.0rc8: one copy of the download code; diplo never writes the project's verdicts table)
5 Guide for newcomers, a worked example with its expected answer, a fresh-install test guide written (GUIDE.md, 29 Nov); fresh-install test = the install checks
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

Version numbers (Derek, 29 Nov 2026): release candidates 0.1.0-rcN until DIPLO matches the Transit Trials toolkit; then 0.1.0, the first non-RC version and the one Transit Trials switches to (merged by Derek after testing on his Mac, like every non-RC release); then 0.2, 0.3, ... as new commands land; 1.0 only after professional review.

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; the ten known answers in tests/data/known_answers.csv). Release candidates get only the installs and the ruled-out star on their PR; the Ember run and the known answers run every night on main (nightly.yml, Derek, 30 Nov 2026), and a release candidate does not merge while the latest nightly run failed.

  • Testing outside CI (RELEASE_TEST.md): 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[leo]"         # 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.0rc9

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

Built distribution (wheel)

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

Total release size: 394.9 kB

Release files / diplo-0.1.0rc9.tar.gz

Download URL diplo-0.1.0rc9.tar.gz
Size 172.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e5c1131cffd935ac6e2e4871a18b40538dd77f68e85c28be051bc09b83abfc6c
BLAKE2b-256 checksum
How to use checksums
4757118321a3208f1e726fcc81877539ebedfe325b4a454d4198025cf86cf37e
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.0rc9-py3-none-any.whl

Download URL diplo-0.1.0rc9-py3-none-any.whl
Size 222.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd763f7cca0068fb42e25d08d47217e7856c8e35dcbd511d3928d386e4b339fd
BLAKE2b-256 checksum
How to use checksums
3972fd6d69cbd5f5ae5e6494229581381625fa4644aea3b2b73f4fb8d1706ee5
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.0rc9

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.0rc9.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