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.41.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

larch-6.0.41-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for larch-6.0.41.tar.gz
Algorithm Hash digest
SHA256 e481b1aec37ee3e9f7e83f1333b85d12bca71bba8abd2843bddf0dc92d0c7118
MD5 98a043bfdd92c4ca0e2bd1ec705c039e
BLAKE2b-256 5cd197530abd90733f7841f8c3ee33fc9439d5dbec941b91644290613ef2fe93

See more details on using hashes here.

Provenance

The following attestation bundles were made for larch-6.0.41.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.41-py3-none-any.whl.

File metadata

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

File hashes

Hashes for larch-6.0.41-py3-none-any.whl
Algorithm Hash digest
SHA256 51be8365cf083578d12582fe47d7f984d74c09b1998dae5770ae3a9b71d0746b
MD5 bb2dc70f2164681f532edcea0a4f0f81
BLAKE2b-256 5591651748855bd1fccf2fccab59e7f6082f92944f383b3d5640bb54a4157a25

See more details on using hashes here.

Provenance

The following attestation bundles were made for larch-6.0.41-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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page