Skip to main content

Estimating and applying discrete choice models

Project description

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 .

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

larch-6.0.46.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

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

larch-6.0.46-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file larch-6.0.46.tar.gz.

File metadata

  • Download URL: larch-6.0.46.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for larch-6.0.46.tar.gz
Algorithm Hash digest
SHA256 be78a4196a6c5cbe6300ef6d7718406fab545799d8262af18f6f20021115cb5c
MD5 96d20f57c6a113b8e48b54fe1c8ee011
BLAKE2b-256 3b0d6274565f53dba31cfc5af5033e95e64261baee7352d82f67804d49d330ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for larch-6.0.46.tar.gz:

Publisher: release.yml on driftlesslabs/larch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file larch-6.0.46-py3-none-any.whl.

File metadata

  • Download URL: larch-6.0.46-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for larch-6.0.46-py3-none-any.whl
Algorithm Hash digest
SHA256 dccbb0f014bd5dc53fef58957801e06da2f06afb0a90c5f6ef60b903b245f7f6
MD5 e16c0fb86f801d121887636f4c675d88
BLAKE2b-256 7bf5f875dafd1da4e80157783800ecf9548b2259cd287fe10f9bf1b2a65f5269

See more details on using hashes here.

Provenance

The following attestation bundles were made for larch-6.0.46-py3-none-any.whl:

Publisher: release.yml on driftlesslabs/larch

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