Skip to main content

Cosmological Large-Scale Structure Analysis Lab.

Project description

LSSlab

LSSlab is a Python toolkit collection for the analysis of Cosmological Large-Scale Structure (LSS).

Let our Universe be a big Lab!

Installation

Install from PyPI:

pip install LSSlab

Or with uv:

uv add LSSlab

Alternatively, install from a local clone with uv:

git clone https://github.com/SiyiZhao/LSSlab.git
cd LSSlab
uv sync

Scripts with extra deps

Some helper scripts in scripts/ may require additional packages (e.g., cutsky prep). Keep those dependencies in a separate environment. See docs/extra-deps.md for notes.

Usage

import lsslab

print(lsslab.__version__)

Development

Set up the project environment with uv:

uv sync

Run the test suite in the project environment:

uv run pytest

Build the wheel:

uv build --wheel

Recommended pre-release smoke test from a clean environment:

python -m venv /tmp/lsslab-wheel-test
source /tmp/lsslab-wheel-test/bin/activate
python -m pip install dist/lsslab-*.whl
python -c "import lsslab; import lsslab.mock.cutsky"
deactivate

Release a new version by updating the version metadata, committing the release files, and pushing a version tag:

uv version --bump patch
git add pyproject.toml uv.lock CHANGELOG.md
git commit -m "Release vX.Y.Z"
git tag vX.Y.Z
git push origin main --tags

License

BSD-3-Clause (see LICENSE)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

lsslab-0.3.3-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file lsslab-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: lsslab-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lsslab-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6253c7ee7bb7b5c0f9ee671190c3335e9e7f3e75c4a92f1bfe68f82b593db646
MD5 ea3f2c83138006d32f5352379ee8c0cf
BLAKE2b-256 a2d28ca1e9a84401ccde184f596c61da0cdad2e95b66c30366a9b2e12a5033be

See more details on using hashes here.

Provenance

The following attestation bundles were made for lsslab-0.3.3-py3-none-any.whl:

Publisher: publish.yml on SiyiZhao/LSSlab

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