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.1

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

Uploaded Source

Built Distribution

pyphetools-0.1.1-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyphetools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8989bc8a679e2932a6ab0eed985c62afc93fc2fa360f5c512e3212551c834686
MD5 1f692d5b11d0136918df5139b97667b0
BLAKE2b-256 8d981819c503966d628abe6c85bcad25a8d4cf06a025d7ee05061ac05aeeff9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyphetools-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 33.8 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7df11b42c6ff7a6553142a9bef36f3ebdca8fc41978d0ab5ac23213193379036
MD5 7ddc05a35398262183d60a332e84cc1b
BLAKE2b-256 e7b5a652bf566235ad0e64b175e6c2a673809d38dc9f2821a1803fb4016dbfa5

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