Skip to main content

ogle is a Python package helps users to manage and interact with OGLE (Optical Gravitational Lensing Experiment) data.

Project description

ogle 🔭

PyPI - Version PyPI - License Python Versions

ogle is a Python package designed to simplify the management, retrieval, and interaction with Optical Gravitational Lensing Experiment (OGLE) data. It provides a streamlined interface for astronomers and researchers to handle light-curve data and lensing events.


Features

  • Data Retrieval: Automated utilities to fetch data from OGLE databases.
  • Format Conversion: Seamlessly convert OGLE-specific data into astropy tables or pandas DataFrames.
  • Analysis Tools: Functions for processing gravitational lensing light-curves.
  • Modern Workflow: Full support for uv, pip, and type-hinting for high-performance research.

Roadmap & Feature Status

Legend:

  • Completed: Stable and available in the current version.
  • 🏗️ In Progress: Actively being developed in the main or dev branch.
  • 📅 Planned: On the radar for future releases.

OGLE I

Feature Status Priority
Multiple Features 📅 Planned Low

OGLE II

Feature Status Priority
Basic Data Fetching (ASCII/Text) ✅ Completed High
Astropy/Pandas Integration 🏗️ In Progress High
Interactive Light-Curve Plotting 🏗️ In Progress Medium
Automated Event Classification 📅 Planned Medium
Cross-matching with Gaia DR3 📅 Planned Low
API Support for OGLE-IV Early Warning 📅 Planned High

OGLE III

Feature Status Priority
Multiple Features 📅 Planned Low

OGLE IV

Feature Status Priority
Multiple Features 📅 Planned Low

Installation

Install the stable version from PyPI:

pip install ogle

Or, if you prefer using uv:

uv add ogle

Documentation and Usage

All the docs can be found at docs.jjsm.science/ogle

Development

This project is built using the latest Python standards. If you are using this as a template or contributing:

  1. Clone the repo:
    git clone https://github.com/jj-sm/ogle.git
    cd ogle
    
  2. Sync the environment (using uv):
    uv sync
    
  3. Run the test suite:
    uv run pytest
    

License

This project is licensed under the GNU General Public License v3 (GPLv3). This ensures the software remains free and open for the scientific community. See the LICENSE file for details.

Contributing

Contributions make the scientific community stronger!

  1. Check out the Contributing Guidelines.
  2. Adhere to the Code of Conduct.
  3. Open a Feature Request for new ideas.

Citation

If you use ogle in your research or publications, please cite it using the metadata provided in the CITATION.cff file, or click the "Cite this repository" button in the GitHub sidebar.


Maintained by Juan José Sánchez Medina, BSc. Astronomy Student (Pontificia Universidad Católica de Chile)

Project details


Download files

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

Source Distribution

ogle-0.1.0.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ogle-0.1.0-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

Details for the file ogle-0.1.0.tar.gz.

File metadata

  • Download URL: ogle-0.1.0.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ogle-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d6819c793a4268ac06de290bdafef6a30c3436d8676a02dd6a8cd06b2ee11345
MD5 98faec6b53a0ddb508b34c598376664c
BLAKE2b-256 03bb201bbd3906f7ea1f2ce4caa4d52c9b2191950787e09f7e7061b014e7179c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ogle-0.1.0.tar.gz:

Publisher: publish.yml on jj-sm/ogle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ogle-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ogle-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 38.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ogle-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25557d8f713d9215459632c19791de5db50c5593ac480d8971ece2632e28c445
MD5 d95935d98a6249ad5aa7b06bd825a764
BLAKE2b-256 87f6ffc06759d2141d5dc9917984eb27485650ee1dcf869c2ccdafacc80305a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for ogle-0.1.0-py3-none-any.whl:

Publisher: publish.yml on jj-sm/ogle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page