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/*

Testing

Unit tests were written for pytest, which can be installed with pip and run from the top-level directory as

pytest

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

Uploaded Source

Built Distribution

pyphetools-0.2.15-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyphetools-0.2.15.tar.gz
  • Upload date:
  • Size: 35.7 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.15.tar.gz
Algorithm Hash digest
SHA256 a34a8775b7d2e678f42e9f86d68bd7527949741ba90ea23f2eb8b168fc409402
MD5 670cfa60bd465eefe1c61823288ed811
BLAKE2b-256 07eeda8c124681eafc7fb6d451a49d80458c70c37e3b253193bd6da4d95cd56d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyphetools-0.2.15-py3-none-any.whl
  • Upload date:
  • Size: 47.0 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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 b2364accbbfda1236dd588b04b7f7b3e3cfc8539e60f4ab8b8d65dcd981913e3
MD5 522811dd1e4116a7a24db3f6b3651d4e
BLAKE2b-256 99478426047e8396cee1ebfd9c299d821a7d749e0231c1d0f8c3e9147d69f93f

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