skip to navigation
skip to content

pygcvs 1.1

A Python library for reading variable star data from GCVS.

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

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.

 
File Type Py Version Uploaded on Size
pygcvs-1.1-py2.py3-none-any.whl (md5, pgp) Python Wheel py2.py3 2016-12-30 6KB
pygcvs-1.1.tar.gz (md5, pgp) Source 2016-12-30 4KB