Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pqp-0.1.0.tar.gz (753.8 kB view hashes)

Uploaded Source

Built Distribution

pqp-0.1.0-cp37-abi3-macosx_10_7_x86_64.whl (242.5 kB view hashes)

Uploaded CPython 3.7+ macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page