Skip to main content

Generate and work with GA4GH phenopackets

Project description

pyphetools

Python Phenopacket Tools

This package currently is designed to test how to use the Python version of the phenopackets package together with pandas to create phenopackets from typical supplemental tables.

Development goals include making builder code similar to the Java package to create valid phenopackets and to perform JSON Schema-based validation.

Setup

For initial development, we will use notebooks mainly. Do the following to get set up. Note that now we are using phenopackets version 2.0.2. openpyxl is needed to read Excel files.

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install jupyter
python -m ipykernel install --name "venv" --display-name "venv"
cd notebooks
jupyter-notebook

We have installed the package in the Python Package Index (pypi) at pyphentools.

Updating package in PyPI

Make sure the build and twine packages are installed.

python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine

Update the version number in the pyproject.toml file Build and install

python3 -m build
python3 -m twine upload dist/*

Project details


Release history Release notifications | RSS feed

This version

0.1.2

Download files

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

Source Distribution

pyphetools-0.1.2.tar.gz (26.4 kB view hashes)

Uploaded Source

Built Distribution

pyphetools-0.1.2-py3-none-any.whl (33.8 kB view hashes)

Uploaded Python 3

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