OTTER API
Open mulTiwavelength Transient Event Repository
A Python API for the OTTER.
Installation
To install the OTTER API use
python3 -m pip install astro-otter[standard]
Developer Instructions
- Set the
OTTER_ROOTenvironment variableexport OTTER_ROOT=/path/to/where/to/clone - Clone the relevant repos:
git clone https://github.com/astro-otter/otter.git $OTTER_ROOT/otter git clone https://github.com/astro-otter/otterdb.git $OTTER_ROOT/otterdb git clone https://github.com/astro-otter/otter-web.git $OTTER_ROOT/otter-web - Install the NASA ADS Python API by following the instructions at https://ads.readthedocs.io/en/latest/#getting-started
- Install otter, the API for this database. From
the root directory where you installed these repos:
cd $OTTER_ROOT/otter python -m pip install -e . - Process the data to build the local copy of the database. Follow the instructions in the otterdb repo README.
- Easily access the data using the Otter code! In python:
import os
from otter import Otter
otter = Otter(os.path.join(os.environ['OTTER_ROOT'], 'otterdb', '.otter'))
res = otter.query(names='AT2018hyz')
print(res)
Installation from Source
To install the OTTER API from the source code use
git clone https://github.com/astro-otter/otter.git
cd otter
python -m pip install .
This will be changed into the more convenient python -m pip install astro-otter at a later date!
For developers, please also enable the pre-commit hooks using
pre-commit install
Repo Organization
| Directory | Contents |
|---|---|
src/otter |
A pip installable API for interfacing with the OTTER database |
scripts |
The pipeline scripts for converting unprocessed data into the OTTER JSON format |
docs |
Documentation for the OTTER API |
test |
Some Unit tests for the source code |
Metadata
Release files for astro-otter 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| astro_otter-1.5.0.tar.gz | 86.6 kB | With provenance | Details for astro_otter-1.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| astro_otter-1.5.0-py3-none-any.whl | Python 3 | none | any | Details for astro_otter-1.5.0-py3-none-any.whl |
Total release size: 154.7 kB
Release files / astro_otter-1.5.0.tar.gz
| Download URL | astro_otter-1.5.0.tar.gz |
|---|---|
| Size | 86.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
028e08ca5e636776d85bd56c7aef802002f2e604e222d041dc20f18a6b1bc63b
|
|
BLAKE2b-256 checksum How to use checksums |
829b4416f33d70b15c1c3ed8b9b4cbef21d435ecdcf38a91fe0b897f3c77cefb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 6, 2026.
Transparency logRelease files / astro_otter-1.5.0-py3-none-any.whl
| Download URL | astro_otter-1.5.0-py3-none-any.whl |
|---|---|
| Size | 68.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a1c3960fae8f7b3bbe87b570b6ab241bb381b0d1132ac2c022c5ceb8988228a
|
|
BLAKE2b-256 checksum How to use checksums |
473cc617b729f30f04048cfe8b21500ae2494b8337fdc280b315d63bb18b1a31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 6, 2026.
Transparency logSecurity for astro-otter 1.5.0
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for astro_otter-1.5.0.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 Sep 6, 2026.
Transparency logA 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.