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

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.13
File Size Uploaded
varistar-0.1.13.tar.gz 61.3 kB Details

Built distribution (wheel)

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

Total release size: 133.8 kB

Release files / varistar-0.1.13.tar.gz

Download URL varistar-0.1.13.tar.gz
Size 61.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d121e73a123e41377d1cbd6978971cc23f750cda0d691f1d65effaa0c0a035b2
BLAKE2b-256 checksum
How to use checksums
811cb9aefebfe06642e15cdd92f6dbccbfb7edaaede6a80de44752df4f4e9e1c
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.13-py3-none-any.whl

Download URL varistar-0.1.13-py3-none-any.whl
Size 72.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a879d4b98b264896954ba9cc8fea6062a11449f9dd09f9821b5a5dd86cbfa55
BLAKE2b-256 checksum
How to use checksums
bce84cfd5139eb6f2fcd5cf049a883dcd90fe2f02a45b853ab4d0977bb4c160d
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

This release

0.1.13 This release

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