Pre-release
This release is a pre-release and may not be stable for production use.
pyegcdb
pyegcdb is the official Python client for the Konkoly Cepheid Database. It provides astronomers and researchers with a seamless interface to query light curves and stellar catalog data directly within a Python environment.
Installation
You can install the package directly from PyPI:
pip install pyegcdb
Quick Start
To begin using the library, initialize the client and fetch data by the star's name:
from pyegcdb import KonkolyCepheids
# 1. Initialize the client
db = KonkolyCepheids()
# 2. Fetch light curve data for a specific star
star_name = "OGLE LMC-SC1 14252"
lc_df = db.load_datapoints(identifier=star_name, bands=['B'])
# 3. Preview the results
if not lc_df.empty:
print(lc_df.head())
Key Features
- Light Curve Retrieval: Easily download raw photometric time-series data for specific Cepheids.
- Catalog Querying: Perform advanced searches based on galaxy, variable type, or perform a Cone Search (RA/Dec).
- Smart Filtering: Built-in deduplication logic that prioritizes the most recent publication data.
Citation
If you use pyegcdb in your research, please cite our relevant work:
@INPROCEEDINGS{2020svos.conf..115T,
author = {{Tarczay-Neh{\'e}z}, D. and {Szabados}, L. and {Dencs}, Z.},
title = "{Cepheids Near and Far}",
keywords = {Stars: variables: Cepheids, Astronomical databases: miscellaneous, Galaxies: statistics, Stars: statistics, Galaxy: stellar content, (Cosmology:) distance scale},
booktitle = {Stars and their Variability Observed from Space},
year = 2020,
editor = {{Neiner}, C. and {Weiss}, W.~W. and {Baade}, D. and {Griffin}, R.~E. and {Lovekin}, C.~C. and {Moffat}, A.~F.~J.},
month = jan,
pages = {115-118},
adsurl = {https://ui.adsabs.harvard.edu/abs/2020svos.conf..115T},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
@INPROCEEDINGS{2022eas..conf..420T,
author = {{Tarczay-Neh{\'e}z}, D{\'o}ra and {Dencs}, Zolt{\'a}n and {Szabados}, L{\'a}szl{\'o} and {Moln{\'a}r}, L{\'a}szl{\'o}},
title = "{Extragalactic Cepheid Database}",
booktitle = {EAS2022, European Astronomical Society Annual Meeting},
year = 2022,
month = jul,
eid = {420},
pages = {420},
adsurl = {https://ui.adsabs.harvard.edu/abs/2022eas..conf..420T},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
License
This software is released under the [GNU GPLv3] license.
Metadata
Release files for pyegcdb 0.2.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyegcdb-0.2.0a0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyegcdb-0.2.0a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / pyegcdb-0.2.0a0.tar.gz
| Download URL | pyegcdb-0.2.0a0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f96b70075b29f70d8bda9b970d63311a625222fafb4d9634e43c119cc0296220
|
|
BLAKE2b-256 checksum How to use checksums |
abd9c20b5f7967057ff33d5e9d79ae503c7e18f50db21e6e8418567a98160568
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.5
|
Release files / pyegcdb-0.2.0a0-py3-none-any.whl
| Download URL | pyegcdb-0.2.0a0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d5b1eb0b54aa91561f5035639b97db0c7913c9b000d2653b5bc339edec8a559
|
|
BLAKE2b-256 checksum How to use checksums |
471b50e935c83c2fbf5c11c9d0f18246af984d88a278a88f57ef185dbbf7c25d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.5
|