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.44.tar.gz (3.2 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.44-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: larch-6.0.44.tar.gz
  • Upload date:
  • Size: 3.2 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.44.tar.gz
Algorithm Hash digest
SHA256 9d3dd26ec21e3f73fb18fec0dacf5e23d5771a63a3eea5572ee5859321d5877f
MD5 65e259307cc5e1f66f0af92516c992b8
BLAKE2b-256 95886fee6431f407924e03a52971085ecb8aa5faa6dd818e54043bffcc8e852b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: larch-6.0.44-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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.44-py3-none-any.whl
Algorithm Hash digest
SHA256 950a939b8af5fdfded0abd7112cbfde4197d6c200b2439ffeb7e6850d33c1088
MD5 dd9c6cb3f2dee7fde52dbc6289e73a4d
BLAKE2b-256 a4525ebd63395696c8a46f42537da52c7e054072ad6def4fb108fd8dbafbd74d

See more details on using hashes here.

Provenance

The following attestation bundles were made for larch-6.0.44-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