Skip to main content

A package of tools for working with py-tetrad

Project description

pytetrad_plus

Helper code for the pytetrad package.

Required packages

  1. jpype
  2. pytetrad

To install packages:

# create virtual environment and activate the environment
python -mvenv .venv
source .venv/bin/activate # linux
.venv\Scripts\Activate.ps1 # windows

# To install the package
pip install pytetrad_plus
# Manually install the py-tetrad
pip install git+https://github.com/cmu-phil/py-tetrad

If you have done a git clone, you can do the package install by doing:

# use pip to install
pip install -r requirements.txt

running code

If JAVA_HOME is not initialized (VA Azure Virtual Desktop), place a file .javarc in your home directory. This is generally not needed for linux or macos. It should contain the path for JAVA_HOME, where Java JDK 21+ is installed.

Other paths include those for graphviz and for other executables

JAVA_HOME="C:/Users/VHAMINLimK/OneDrive - Department of Veterans Affairs/CDA/jdk21.0.4_7"
GRAPHVIZ_BIN="C:/Users/VHAMINLimK/OneDrive - Department of Veterans Affairs/CDA/windows_10_msbuild_Release_graphviz-9.0.0-win32/Graphviz/bin"
BIN="C:/Users/VHAMINLimK/OneDrive - Department of Veterans Affairs/CDA/bin"

To run the test program:

./pytetrad_plus/mypytetrad.py

This should do the search and place the results in ./pytetrad_plus/boston_result.json.

package publishing instructions

python -m build
twine upload dist/*

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

pytetrad_plus-0.2.9.2.tar.gz (68.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytetrad_plus-0.2.9.2-py3-none-any.whl (68.5 kB view details)

Uploaded Python 3

File details

Details for the file pytetrad_plus-0.2.9.2.tar.gz.

File metadata

  • Download URL: pytetrad_plus-0.2.9.2.tar.gz
  • Upload date:
  • Size: 68.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for pytetrad_plus-0.2.9.2.tar.gz
Algorithm Hash digest
SHA256 5f93041c21848540f89f8264ff75c642719db5a85fc57fdaa7d7f33ec536737a
MD5 8b7ba8112bc75ecbe7589e633a35a4d6
BLAKE2b-256 9523402cb9c05351ac90527b10898f52f9e91c8ad84bcdeb61c37a01487ba7f6

See more details on using hashes here.

File details

Details for the file pytetrad_plus-0.2.9.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pytetrad_plus-0.2.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e757ec9475ea6be17553c64f869afa0323a3b30767664d35168e380495ec70a
MD5 42bcc42480c2d61cc29de3994ed97b56
BLAKE2b-256 d8b3a33a81ed096638d235a2b5f38b2d77ceba7a4c365e3645d2e5a3650ab18f

See more details on using hashes here.

Supported by

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