Skip to main content

varistar 🌟

PyPI - Version PyPI - License Python Versions

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.12

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.12
File Size Uploaded
varistar-0.1.12.tar.gz 61.1 kB Details

Built distribution (wheel)

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

Total release size: 133.7 kB

Release files / varistar-0.1.12.tar.gz

Download URL varistar-0.1.12.tar.gz
Size 61.1 kB
Tags Source
SHA-256 checksum
How to use checksums
21ac18933bc039981824b8d68c08299149906b2f7a9d262ee64568b003175cab
BLAKE2b-256 checksum
How to use checksums
88a3ae22a02edca31dcbae51ab85d14d2d11dead50ddafc06ed23c28ab521aa8
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.12-py3-none-any.whl

Download URL varistar-0.1.12-py3-none-any.whl
Size 72.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7fa2324afcdeb0f18a0a1b4c60951a8a655dcb5008b3b63cab3ff01fb10c387
BLAKE2b-256 checksum
How to use checksums
ac84aeb07b47dfca1f0bbc5d0d4c61d0c7ecd7d8d41a0c2bfad343d3a2367e5d
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

0.1.14

2 release files

0.1.13

2 release files

This release

0.1.12 This release

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