pyaavso
pyaavso is a Python library for working with AAVSO (American Association of Variable Star Observers) data. The library is compatible with both Python 2.7 and 3.3+.
Features
reading and writing variable star observations in AAVSO’s Visual File Format
downloading all observation data for a given observer
Installation
Use pip to install latest release available at PyPI:
pip install pyaavso
Usage
The following code uses VisualFormatWriter to report a single observation of SS Cyg between the outbursts.
>>> from pyaavso.formats import VisualFormatWriter
>>> observer_code = 'XYZ'
>>> with open('data.txt', 'wb') as fp:
... writer = VisualFormatWriter(fp, observer_code)
... writer.writerow({
... 'name': 'SS CYG',
... 'date': '2450702.1234',
... 'magnitude': '<11.0',
... 'comp1': '110',
... 'chart': '070613',
... })
The data.txt file can be now submitted to AAVSO.
Resources
License
pyaavso is free software, licensed under the MIT/X11 License. A copy of the license is provided with the source code in the LICENSE file.
Metadata
Release files for pyaavso 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyaavso-0.2.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyaavso-0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 22.3 kB
Release files / pyaavso-0.2.tar.gz
| Download URL | pyaavso-0.2.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9cebca3e23cccaaa7c06c13ea1bbe34472e4dfaf481782371f4c63e327ddf24e
|
|
BLAKE2b-256 checksum How to use checksums |
9666740951842b68299e74a93edb5721bb0b701ad4a5ea4cc7ba713bb899e78d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyaavso-0.2-py2.py3-none-any.whl
| Download URL | pyaavso-0.2-py2.py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8173915c8477095a5a932fbf5b00778010b985ef06384c8d2b61f1e0050d8162
|
|
BLAKE2b-256 checksum How to use checksums |
49ed05ce9acd12aaa7d15db662cb0a592d1fdb935b177029594bcc316d96ded2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |