Skip to main content

Life Cycle Models

Ruff pre-commit.ci status image

This package aims to generalize and facilitate the specification, solution, and simulation of finite-horizon discrete-continuous dynamic choice models.

Installation

PyLCM can be installed via PyPI or via GitHub. To do so, type the following in a terminal:

$ pip install pylcm

or, for the latest development version, type:

$ pip install git+https://github.com/OpenSourceEconomics/pylcm.git

GPU Support

By default, the installation of PyLCM comes with the CPU version of jax. If you aim to run PyLCM on a GPU, you need to install a jaxlib version with GPU support. For the installation of jaxlib, please consult the jax docs.

[!NOTE] GPU support is currently only tested on Linux with CUDA 12.

Developing

We use pixi for our local development environment. If you want to work with or extend the PyLCM code base you can run the tests using

$ git clone https://github.com/OpenSourceEconomics/pylcm.git
$ pixi run tests

This will install the development environment and run the tests. You can run mypy using

$ pixi run mypy

Before committing, install the pre-commit hooks using

$ pixi global install pre-commit
$ pre-commit install

Questions

If you have any questions, feel free to ask them on the PyLCM Zulip chat.

License

This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.

Copyright (c) 2023- The PyLCM Authors

Metadata

Release files for pylcm 0.0.1

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

Source distribution (sdist)

Source distribution for pylcm 0.0.1
File Size Uploaded
pylcm-0.0.1.tar.gz 40.0 kB Details

Built distribution (wheel)

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

Total release size: 93.7 kB

Release files / pylcm-0.0.1.tar.gz

Download URL pylcm-0.0.1.tar.gz
Size 40.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8992ae17a36858d1db6bceee0a57fd8f407768d902b111db71945f54ecf32fd0
BLAKE2b-256 checksum
How to use checksums
01402e970845b799a31b0f37ab62b3f80a659821e96d815d31cf13223a631db0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / pylcm-0.0.1-py3-none-any.whl

Download URL pylcm-0.0.1-py3-none-any.whl
Size 53.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8933922c51e2de649443ee04236a602c3b25be1ea0aba7229d84ab6b94c8d852
BLAKE2b-256 checksum
How to use checksums
9d17e87e23d3f717708bc1eafc7de8255ddd708a2553ef99fbf8c46d1257aed9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.0.1 This release

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