Skip to main content

insta-science

PyPI Version License Supported Pythons CI

The insta-science Python project distribution provides two convenience console scripts to make bootstrapping science for use in Python projects easier:

  • insta-science: This is a shim script that ensures science is installed and then forwards all supplied arguments to it. Instead of science, just use insta-science. You can configure the science version to use, where to find science binaries and where to install them via the [tool.insta-science] table in your pyproject.toml file.
  • insta-science-util: This script provides utilities for managing science binaries. In particular, it supports downloading families of science binaries for various platforms for use in internal serving systems for offline or isolated installation.

This project is under active early development and APIs and configuration are likely to change rapidly in breaking ways until the 1.0 release.

Configuration

By default, insta-science downloads the latest science binary release appropriate for the current platform from the science GitHub Releases and caches it before executing for the 1st time. You can control aspects of this process using the [tool.insta-science] table in your pyproject.toml file. Available configuration options are detailed below:

Option Default pyproject.toml entry Environment Variable
science version latest [tool.insta-science.science] version
science Base URL https://github.com/a-scie/lift/releases [tool.insta-science.science] base-url
Cache directory Unix: ~/.cache/insta-science [tool.insta-science] cache INSTA_SCIENCE_CACHE
Mac: ~/Library/Caches/insta-science
Windows: ~\AppData\Local\insta-science

Offline Use

There is full support for offline or firewalled science use with insta-science. You can seed a repository of science binaries by using the insta-science-util download command to download science binaries for one or more versions and one or more target platforms. The directory you download these binaries to will have the appropriate structure for insta-science to use if you serve up that directory using your method of choice at the configured base url. Note that file:// base URLs are supported.

Likewise, you can seed a repository of ptex binaries, scie-jump binaries and interpreter provider distributions by using the insta-science download {ptex,scie-jump,provider} ... family of commands and updating corresponding base_url options in your scie lift manifest.

Development

Development uses uv. Install as you best see fit.

With uv installed, running uv run dev-cmd is enough to get the tools insta-science uses installed and run against the codebase. This includes formatting code, linting code, performing type checks and then running tests.

Metadata

Release files for insta-science 0.8.0

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

Source distribution (sdist)

Source distribution for insta-science 0.8.0
File Size Uploaded
insta_science-0.8.0.tar.gz 52.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for insta-science 0.8.0
File Interpreter ABI Platform
insta_science-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 85.6 kB

Release files / insta_science-0.8.0.tar.gz

Download URL insta_science-0.8.0.tar.gz
Size 52.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c25c7ce64956cbc43c39ba50491df1f0ebda8e47e294d2be4fa015670955da3b
BLAKE2b-256 checksum
How to use checksums
07c6ef3eb700ec7d1f1b81bf0fe15ee31aae705df6a314b89608ae09e7fb13b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 21, 2025.

Transparency log

Release files / insta_science-0.8.0-py3-none-any.whl

Download URL insta_science-0.8.0-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49b55f700b7028d6c595e344983fa1d8d9873b67486aee457eeb7b9f49e934a9
BLAKE2b-256 checksum
How to use checksums
72edf0dcfbbe76432be947164e98f5a02d5a3647412540157187b6dceea2d003
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 21, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

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