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

# 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.8.3.tar.gz (67.7 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.8.3-py3-none-any.whl (68.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytetrad_plus-0.2.8.3.tar.gz
Algorithm Hash digest
SHA256 f681459c1666b9ac711758a1536da5f97f0520d2277f3cf50752fced09efada3
MD5 8de9873833471ce28650f8e45dc2d1d1
BLAKE2b-256 60e485277e330ab7e20716018b870c268cb4f85c1e7f09f0bd9d35b9cb3b0310

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytetrad_plus-0.2.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cc8cc5f2a6ba87f7adf5ad3b4f199a33fceb653654f551a7f1bc67d46d5ba91e
MD5 6599397dd63c4f0ba4f31b3aa93bc9b9
BLAKE2b-256 a530f485f0a1a416d6992f59d10c33430c5389e49344374af0977405182f8318

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