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

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.2.14.tar.gz (35.8 kB view details)

Uploaded Source

Built Distribution

pyphetools-0.2.14-py3-none-any.whl (46.8 kB view details)

Uploaded Python 3

File details

Details for the file pyphetools-0.2.14.tar.gz.

File metadata

  • Download URL: pyphetools-0.2.14.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for pyphetools-0.2.14.tar.gz
Algorithm Hash digest
SHA256 6708589dfee9723ee6d5e982542af8ca60e1d0c69316ed6063d97b50b9ebe27f
MD5 fb575f5cb48f47acecd9bdbfa45af23b
BLAKE2b-256 8f16fc4c9b70ac70f2befe83c6437299e9f5f8bb21f246326084b380517c63e8

See more details on using hashes here.

File details

Details for the file pyphetools-0.2.14-py3-none-any.whl.

File metadata

  • Download URL: pyphetools-0.2.14-py3-none-any.whl
  • Upload date:
  • Size: 46.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for pyphetools-0.2.14-py3-none-any.whl
Algorithm Hash digest
SHA256 05c76998b650c2298c6de6f70d7dc8057b2322ddb137a6341292a7174bad9a48
MD5 0de4723432e134f92522033ae467824f
BLAKE2b-256 88bb791083e4191da8a58946a5b0ba4c5d4a81e8dc3ce7f893ddc3ad4e8b6ac3

See more details on using hashes here.

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