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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e481b1aec37ee3e9f7e83f1333b85d12bca71bba8abd2843bddf0dc92d0c7118
|
|
MD5 |
98a043bfdd92c4ca0e2bd1ec705c039e
|
|
BLAKE2b-256 |
5cd197530abd90733f7841f8c3ee33fc9439d5dbec941b91644290613ef2fe93
|
Provenance
The following attestation bundles were made for larch-6.0.41.tar.gz
:
Publisher:
release.yml
on driftlesslabs/larch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
larch-6.0.41.tar.gz
-
Subject digest:
e481b1aec37ee3e9f7e83f1333b85d12bca71bba8abd2843bddf0dc92d0c7118
- Sigstore transparency entry: 226508942
- Sigstore integration time:
-
Permalink:
driftlesslabs/larch@ef47c45e8598ed8bf15d231feb391caf71ec630e
-
Branch / Tag:
refs/tags/v6.0.41
- Owner: https://github.com/driftlesslabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@ef47c45e8598ed8bf15d231feb391caf71ec630e
-
Trigger Event:
release
-
Statement type:
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
51be8365cf083578d12582fe47d7f984d74c09b1998dae5770ae3a9b71d0746b
|
|
MD5 |
bb2dc70f2164681f532edcea0a4f0f81
|
|
BLAKE2b-256 |
5591651748855bd1fccf2fccab59e7f6082f92944f383b3d5640bb54a4157a25
|
Provenance
The following attestation bundles were made for larch-6.0.41-py3-none-any.whl
:
Publisher:
release.yml
on driftlesslabs/larch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
larch-6.0.41-py3-none-any.whl
-
Subject digest:
51be8365cf083578d12582fe47d7f984d74c09b1998dae5770ae3a9b71d0746b
- Sigstore transparency entry: 226508948
- Sigstore integration time:
-
Permalink:
driftlesslabs/larch@ef47c45e8598ed8bf15d231feb391caf71ec630e
-
Branch / Tag:
refs/tags/v6.0.41
- Owner: https://github.com/driftlesslabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@ef47c45e8598ed8bf15d231feb391caf71ec630e
-
Trigger Event:
release
-
Statement type: