Subroutines for structural causal modeling
Project description
Welcome to pqp
! Here is a quick overview of some basic things.
Installation
The package can be installed from PyPi using pip
:
pip install pqp
Testing
Clone the repo and install local dependencies:
# run in root of repo
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
After activating the virtual environment, run test.sh
using source
. This will build the rust library and run the tests for both the rust and python code.
# run in root of repo
source test.sh
Documentation
To build the documentation, use the makefile in the docs
directory:
# run in root of repo
cd python/pqp/docs
# regenerate documentation source (only run when adding new modules)
make autodoc
# build html documentation (runs local development server)
make livehtml
To deploy the documentation to github pages, run the following. This will push the docs build to the gh-pages
branch of the repo. Github pages will serve. This will not work if you have not already built the docs.
# run in root of repo
source venv/bin/activate
source deployment_script.sh
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
Hashes for pqp-0.1.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba5bd10ab8abb9771132ed2252615f69e7755fcc8bbe67f36fca1a707f58f3f0 |
|
MD5 | 2f8e63a4545f1f01755a50636b84f1ed |
|
BLAKE2b-256 | 5173a608db44f9a0ac642571ec82c6c06b1127db385bc5d416f7990c4821f4e4 |