zsiciarz / pygcvs

A Python library for reading variable star data from the GCVS.

Home Page:http://pygcvs.rtfd.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pygcvs

Requirements Status

Latest PyPI version

Number of PyPI downloads

Supported Python versions

Wheel Status

image

image

A Python library for reading variable star data from the General Catalog of Variable Stars.

Installation

Use pip to install latest release available at PyPI:

pip install pygcvs

Usage

Download the iii.dat file from GCVS and point the read_gcvs function at its location. The function returns a generator which yields a single star data dictionary at a time. See below:

>>> import pygcvs
>>> for star in pygcvs.read_gcvs('iii.dat'):
...     print(star['name'])
R AND
S AND
#...
V0515 VUL
V0516 VUL

Resources

Author

License

pygcvs is free software, licensed under the MIT/X11 License. A copy of the license is provided with the source code in the LICENSE file.

About

A Python library for reading variable star data from the GCVS.

http://pygcvs.rtfd.org/

License:MIT License


Languages

Language:Python 100.0%