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

Uploaded Source

Built Distribution

pyphetools-0.2.1-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyphetools-0.2.1.tar.gz
Algorithm Hash digest
SHA256 59766cc13e9efea178c64a39f42f412aed735a128ba83cc002aa21f17d0650f3
MD5 2b3ae52a9d3ddea7730c50c4f8a27cf9
BLAKE2b-256 cb564bb173f531541e5433d2b80bb068c0da0a53fe458f8e68f3f298b74bd66c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyphetools-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39eca02b7f16c56c94a670eb95c2c439b7da586ab68f91967f96077ccbc8a63c
MD5 27ed6c84529c363c9c4eb2e1b3afe5b6
BLAKE2b-256 b552fda9b07b02b666cd60c32ea03bc868edbbe3a007529bdd71834619c97e0c

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