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

Uploaded Source

Built Distribution

pyphetools-0.2.7-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyphetools-0.2.7.tar.gz
  • Upload date:
  • Size: 32.1 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.7.tar.gz
Algorithm Hash digest
SHA256 237fefe6454bc9e3760355a9d89414e8830590f9b6ba16c4f8b0d54c297855c3
MD5 33de4e1614d5c1c0515dfb9f7b37b8b7
BLAKE2b-256 2f3edf3eb7e5c259a4839e4410adaf9d3ab35029f958296bf4d375fc5dbad9af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyphetools-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 41.5 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d83ff1c5a12255b29bc9432d16ec512d889fca295d8b89f913f2ad0810c92a66
MD5 33230de618c6f38892e3d6e601e5ae9b
BLAKE2b-256 428235ee140dacc0b9d6356a39be867483cc8782a82bc96004d432e14176592e

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