Skip to main content

Larch

This repository contains the Larch package, for estimating and applying discrete choice models. Version 6 is a substantial rewrite of the package, changing to a platform that allows swapping out the underlying computational engine, so that the same model can run in numba or JAX.

Quick Start Guide

You can install Larch with pip:

python -m pip install larch

Developer's Installation

You can install larch for development by running the following script:

curl -LsSf https://driftless.xyz/larch-dev.sh | bash -s -- -d ~/Git/larix

You can change the install directory by changing the -d argument. The script will clone the larch repository and install it in the specified directory. It will also install the required dependencies and create a new uv virtual environment for development.

To run the test suite, you'll need to run with the --extra test flag, which will ensure that all the extra dependencies needed for testing are installed. To do this, from the larch directory, run the following command:

uv run --extra test pytest .

Release files for larch 6.0.46

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

Source distribution (sdist)

Source distribution for larch 6.0.46
File Size Uploaded
larch-6.0.46.tar.gz 2.1 MB Details

Built distribution (wheel)

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

Total release size: 3.8 MB

Release files / larch-6.0.46.tar.gz

Download URL larch-6.0.46.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
be78a4196a6c5cbe6300ef6d7718406fab545799d8262af18f6f20021115cb5c
BLAKE2b-256 checksum
How to use checksums
3b0d6274565f53dba31cfc5af5033e95e64261baee7352d82f67804d49d330ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 13, 2026.

Transparency log

Release files / larch-6.0.46-py3-none-any.whl

Download URL larch-6.0.46-py3-none-any.whl
Size 1.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dccbb0f014bd5dc53fef58957801e06da2f06afb0a90c5f6ef60b903b245f7f6
BLAKE2b-256 checksum
How to use checksums
7bf5f875dafd1da4e80157783800ecf9548b2259cd287fe10f9bf1b2a65f5269
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

6.0.46 This release

2 release files

6.0.45

2 release files

6.0.44

2 release files

6.0.43

2 release files

6.0.42

2 release files

6.0.41

2 release files

6.0.40

2 release files

6.0.39

2 release files

4.0

1 release file

3.3.24

4 release files

3.3.23

2 release files

3.3.21

1 release file

3.3.17

1 release file

3.3.15

2 release files

3.3.14

2 release files

3.3.13

1 release file

3.3.11

2 release files

3.3.10

2 release files

3.3.9

1 release file

3.3.8

1 release file

3.3.7

1 release file

3.3.6

2 release files

3.3.5

2 release files

3.3.2

1 release file

3.3.1

2 release files

3.2.16

2 release files

3.2.14

1 release file

3.2.11

2 release files

3.2.10

2 release files

3.2.9

2 release files

3.2.8

2 release files

3.2.7

1 release file

3.2.4

1 release file

3.2.3

1 release file

3.2.2

1 release file

3.2.1

1 release file

3.1.61

2 release files

3.1.60

1 release file

3.1.59

1 release file

3.1.58

2 release files

3.1.57

1 release file

3.1.56

2 release files

3.1.55

1 release file

3.1.42

3 release files

3.1.41

1 release file

3.1.40

3 release files

3.1.39

1 release file

3.1.38

3 release files

3.1.37

3 release files

3.1.36

3 release files

3.1.35

3 release files

3.1.33

1 release file

3.1.31

1 release file

3.1.30

1 release file

3.1.29

3 release files

3.1.28

1 release file

3.1.27

1 release file

3.1.25

1 release file

3.1.23

1 release file

3.1.22

1 release file

3.1.18

1 release file

3.1.17

3 release files

3.1.16

3 release files

3.1.15

3 release files

3.1.14

2 release files

3.1.13

1 release file

3.1.11

2 release files

3.1.10

2 release files

3.1.9

2 release files

3.1.8

2 release files

3.1.7

2 release files

3.1.6

2 release files

3.1.5

2 release files

3.1.4

2 release files

3.1.2

2 release files

3.1.1

1 release file

3.1.0

1 release file

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