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

Install

pip install --pre diplo         # Python 3.13 or newer
diplo-setup                     # once: makes TRICERATOPS's pytransit import under numpy 2
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.0rc2

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

Built distribution (wheel)

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

Total release size: 352.6 kB

Release files / diplo-0.1.0rc2.tar.gz

Download URL diplo-0.1.0rc2.tar.gz
Size 154.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3fa8490569954698f18cf0533c7c2e3f087ba009787000fdba9fa1eb48933e65
BLAKE2b-256 checksum
How to use checksums
05461524b28e116ceb0192f67a85971228783fad1c19aba9f761e962e742301f
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.0rc2-py3-none-any.whl

Download URL diplo-0.1.0rc2-py3-none-any.whl
Size 197.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a72dbbd09aaab188147288bc57fa225e47bd7befc162f476f5a0760225b371d4
BLAKE2b-256 checksum
How to use checksums
3ec96da4165181b46d7abd652e7532fc566bfc3b3b7f9df8a69b9ee704e74b15
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.0rc2

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