Skip to main content

A Python library for reading variable star data from GCVS.

Project description

Requirements Status Latest PyPI version Number of PyPI downloads Supported Python versions Wheel Status https://travis-ci.org/zsiciarz/pygcvs.svg?branch=master https://coveralls.io/repos/zsiciarz/pygcvs/badge.svg?branch=master

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pygcvs-1.1-py2.py3-none-any.whl (6.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Dec 30, 2016
pygcvs-1.1.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None Dec 30, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page