Skip to main content

Larch v6

This repository contains the under-development next generation of 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.

:warning: This is a work in progress. A lot of things are working, but not everything. The interface is quite similar to Larch v5 and existing users will likely find it familiar. If you want to try it out, please do, and feel free to open issues in the issue tracker. But, please don't expect it to work perfectly yet, especially for more advanced models.

Quick Start Guide

You can install Larch v6 with pip:

python -m pip install larch6

This will install the package and all of its required dependencies. Note that while the installation name is "larch6", the package import name is "larch", and you cannot install both Larch v5 and Larch v6 in the same environment.

Or you can install it using conda to create a new environment:

conda env create -p ARBORETUM -f https://raw.githubusercontent.com/driftlesslabs/larch/main/envs/arboretum.yml
conda activate ./ARBORETUM

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.

Metadata

Release files for larch6 6.0.36

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

Source distribution (sdist)

Source distribution for larch6 6.0.36
File Size Uploaded
larch6-6.0.36.tar.gz 2.1 MB Details

Built distribution (wheel)

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

Total release size: 4.0 MB

Release files / larch6-6.0.36.tar.gz

Download URL larch6-6.0.36.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
e2badca9d4f30a0d8b628059f5fdd86bc351fecc9b83cc61e7b5d77f004455d0
BLAKE2b-256 checksum
How to use checksums
1e782f537479603716774f8e2fd45755b6ecfc9f5cfba40eeee89a806014c896
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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 Dec 17, 2024.

Transparency log

Release files / larch6-6.0.36-py3-none-any.whl

Download URL larch6-6.0.36-py3-none-any.whl
Size 1.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
738c014b181eac431adb23b58e97714a4b2058fb4da13612a6276a2ab71f761c
BLAKE2b-256 checksum
How to use checksums
0426bb7ce829844bd8328ea41e9268accc7fa4683f5ef1eaf5bbce5fe2f4ad0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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 Dec 17, 2024.

Transparency log

Release history Release notifications | RSS feed

This release

6.0.36 This release

2 release files

6.0.35

2 release files

6.0.30

2 release files

6.0.27

2 release files

6.0.26

2 release files

6.0.18

2 release files

6.0.17

2 release files

6.0.16

2 release files

6.0.15

2 release files

6.0.14

2 release files

6.0.13

2 release files

6.0.12

2 release files

6.0.11

2 release files

6.0.9

2 release files

6.0.8

2 release files

6.0.7

2 release files

6.0.6

2 release files

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