Skip to content

OpenSourceEconomics/dev-pylcm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dev-pylcm Pixi workspace

This directory contains a Pixi-based workspace that ties together the following projects:

The workspace is configured via pyproject.toml and uses Pixi for environment management.

Clone all repositories (SSH, copy-paste)

Run the following in an empty directory where you want to keep the workspace (for example, this dev-pylcm directory):

git clone git@github.com:OpenSourceEconomics/dags.git
git clone git@github.com:OpenSourceEconomics/pylcm.git
git clone git@github.com:OpenSourceEconomics/lcm-paper.git

After cloning, your layout should look like:

dev-pylcm/
  pyproject.toml
  README.md
  dags/
  pylcm/
  lcm-paper/

Using Pixi

  1. Install the environment

    pixi install
  2. Use the workspace

    For example, to start a Python REPL inside the Pixi environment:

    pixi run python

    Or to run a one-off check that the main packages import correctly (after cloning them):

    pixi run python -c "import dags, lcm"

Running Tests

pixi run -e py314 tests           # Run all tests
pixi run -e py314 tests-dags      # Run dags tests only
pixi run -e py314 tests-pylcm     # Run pylcm tests only

Type Checking

pixi run -e ty ty

About

A tiny repo to include everything necessary to develop the pylcm library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages