Metadata-Version: 2.1
Name: bulletind
Version: 0.0.0a4
Summary: Access IERS "Bulletin D" data
Home-page: https://github.com/jepler/bulletind
Author: Jeff Epler
Author-email: jepler@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Provides-Extra: dev

<!--
SPDX-FileCopyrightText: 2021 Jeff Epler

SPDX-License-Identifier: GPL-3.0-only
-->
[![Test bulletind](https://github.com/jepler/bulletind/actions/workflows/test.yml/badge.svg)](https://github.com/jepler/bulletind/actions/workflows/test.yml)
[![Update Bulletin D data](https://github.com/jepler/bulletind/actions/workflows/cron.yml/badge.svg)](https://github.com/jepler/bulletind/actions/workflows/cron.yml)
[![PyPI](https://img.shields.io/pypi/v/bulletind)](https://pypi.org/project/bulletind)
![Lines of code](https://img.shields.io/tokei/lines/github/jepler/bulletind)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/jepler/bulletind.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/jepler/bulletind/context:python)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/jepler/bulletind/main.svg)](https://results.pre-commit.ci/latest/github/jepler/bulletind/main)

# Purpose

bulletind provides access to the IERS "Bulletin D" data to Python or to other
software that can process JSON data.

The source of the data is
https://datacenter.iers.org/availableVersions.php?id=17 and covers April 1991
through the present. (the oldest Bulletin available is Number 21 issued
1991-04-22)

# Use

bulletind includes bulletin data that was available the last time the software
was updated. Further updates can be downloaded to a per-user cache with
the `bulletind --no-cache-only` command or the `get_bulletin_d_data()` function.
Cached data can be printed as json with `bulletind --cache-only` or the
`get_cached_bulletin_d_data()` function.

The structure of the data is described by the `BulletinDInfo` type. The
commandline programs print this data formatted as JSON. Dates are represented
in the ISO standard format YYYY-mm-dd.


# Development status

The author (@jepler) occasionally develops and maintains this project, but
issues are not likely to be acted on.  They would be interested in adding
co-maintainer(s).
