Skip to main content

varistar 🌟

PyPI - Version PyPI - License Python Versions DOI

varistar is a Python package designed to simplify the management and interaction with timeseries and lightcurve data coming from multiple sources.


Features

  • Data Retrieval: Automated utilities to fetch data from varistar databases.
  • Format Conversion: Seamlessly convert varistar-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.

Installation

Install the stable version from PyPI:

pip install varistar

Or, if you prefer using uv:

uv add varistar

Documentation and Usage

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

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/varistar.git
    cd varistar
    
  2. Sync the environment (using uv):
    uv sync
    
  3. Run the test suite:
    uv run pytest
    

Releasing

Releases are cut with the Makefile, which runs lint + tests locally, bumps the version, pushes, tags, waits for the PyPI publish workflow to succeed, and only then creates the GitHub release:

make check              # ruff check + pytest (same gate as CI)
make lint                # ruff check only
make test                # pytest only
make format-check        # ruff format --check (advisory, not release-blocking)

make release VERSION=0.1.12

make release requires a clean working tree on main, up to date with origin/main. It bumps the version in pyproject.toml and src/varistar/__init__.py, commits (chore: release vX.Y.Z), pushes, tags vX.Y.Z, pushes the tag (which triggers .github/workflows/publish.yml to test and publish to PyPI), watches that workflow, and creates the GitHub release only if it succeeds — a release is never created for a version that failed to publish.

See CHANGELOG.md for release history.

License

This project is licensed under the MIT License. See the LICENSE.md file for details.

Contributing

  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 varistar 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)

Release files for varistar 0.1.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for varistar 0.1.14
File Size Uploaded
varistar-0.1.14.tar.gz 61.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for varistar 0.1.14
File Interpreter ABI Platform
varistar-0.1.14-py3-none-any.whl Python 3 none any Details

Total release size: 133.8 kB

Release files / varistar-0.1.14.tar.gz

Download URL varistar-0.1.14.tar.gz
Size 61.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7e0148a7f74fb4a264ad379be19c2ba88d5d8c572bc5fe13017369da96576d32
BLAKE2b-256 checksum
How to use checksums
d1f647a367a48d1dfd9e78041fce992bbd270dad49d94ba138d202dd756ddc25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release files / varistar-0.1.14-py3-none-any.whl

Download URL varistar-0.1.14-py3-none-any.whl
Size 72.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
638c07624419d52c19ea11c3b133e84e2be4459ce8f943b80d2d9ad7abffa486
BLAKE2b-256 checksum
How to use checksums
90ea8536418e3a7646c9acab6e8dbda33aa236651fe9e4f7561ee4ae079794d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.14 This release

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.7

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page