No project description provided
Project description
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 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file astro_otter-1.2.3.tar.gz.
File metadata
- Download URL: astro_otter-1.2.3.tar.gz
- Upload date:
- Size: 85.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72b1d2f9cb6b33bca4fd52b19ee11dfbf2f6af1acc74ee8df2baeb0a531adec7
|
|
| MD5 |
59ca5d5af382c3a5ded69d85b5ed875b
|
|
| BLAKE2b-256 |
ab2c066e07b455dfd263c1640b5f49f5ebf6fac276209a9f72b59472a2118a09
|
Provenance
The following attestation bundles were made for astro_otter-1.2.3.tar.gz:
Publisher:
pypi-publish.yml on astro-otter/otter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
astro_otter-1.2.3.tar.gz -
Subject digest:
72b1d2f9cb6b33bca4fd52b19ee11dfbf2f6af1acc74ee8df2baeb0a531adec7 - Sigstore transparency entry: 1238294004
- Sigstore integration time:
-
Permalink:
astro-otter/otter@95b0cb2c58338824cf47cd7a0b41b70a24259a1b -
Branch / Tag:
refs/tags/v1.2.3 - Owner: https://github.com/astro-otter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@95b0cb2c58338824cf47cd7a0b41b70a24259a1b -
Trigger Event:
release
-
Statement type:
File details
Details for the file astro_otter-1.2.3-py3-none-any.whl.
File metadata
- Download URL: astro_otter-1.2.3-py3-none-any.whl
- Upload date:
- Size: 66.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
148510607e10572a3958e86dc6541ea12bb22d375cc97cac754bf3166a849d05
|
|
| MD5 |
3fba5824ad0c3c06bee4d2b38a442398
|
|
| BLAKE2b-256 |
784e6229607913cc904e93dff32f9c5203693bbcb0af2a036f4b62df6c9b2b92
|
Provenance
The following attestation bundles were made for astro_otter-1.2.3-py3-none-any.whl:
Publisher:
pypi-publish.yml on astro-otter/otter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
astro_otter-1.2.3-py3-none-any.whl -
Subject digest:
148510607e10572a3958e86dc6541ea12bb22d375cc97cac754bf3166a849d05 - Sigstore transparency entry: 1238294011
- Sigstore integration time:
-
Permalink:
astro-otter/otter@95b0cb2c58338824cf47cd7a0b41b70a24259a1b -
Branch / Tag:
refs/tags/v1.2.3 - Owner: https://github.com/astro-otter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@95b0cb2c58338824cf47cd7a0b41b70a24259a1b -
Trigger Event:
release
-
Statement type: