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

Uploaded Source

Built Distribution

pyphetools-0.2.13-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyphetools-0.2.13.tar.gz
  • Upload date:
  • Size: 35.2 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.13.tar.gz
Algorithm Hash digest
SHA256 880c8ae956a9c42bb21b41299be4a4e4792acc8ef5b6b71731b8129cae229c16
MD5 7a7b004156d02520e552dc659a553f89
BLAKE2b-256 1a9ef75efdb3cd0c5c9eb57d62a49558b2c12ca19d809e0594f3a85339b688e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyphetools-0.2.13-py3-none-any.whl
  • Upload date:
  • Size: 46.6 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 31aee5c1011a273b6bf00f41de45d4ba108ef6e6194a3f2bc949f3d53a15e82d
MD5 d5064de1268ba978eea29b2f3cd2385f
BLAKE2b-256 4af0e692299964f26f3af3019b77a38a3167aed0d5b1c8558df901cc63ab3820

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