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

Uploaded Source

Built Distribution

pyphetools-0.2.9-py3-none-any.whl (45.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyphetools-0.2.9.tar.gz
  • Upload date:
  • Size: 34.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.2.9.tar.gz
Algorithm Hash digest
SHA256 07f19122381d2fa5a2df9c09f3427bc24f769103fdfb017a370a2635393f34bf
MD5 3f8a2f7d6d5a389aa8bcdc1597657f43
BLAKE2b-256 a009c043bb89e8451345bc5af62e161c70bf3f9b43e8e2887f9b5a02998acc48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyphetools-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 45.4 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 03b952150755f53c2c2173053e8312e9a89fd358b08da93730e5b7539e35b04f
MD5 4dd9cb8b4342a800b74507f243f432c6
BLAKE2b-256 4910b93297b80f1520a6a1807053eaeb7a072e2ae16c7a75ff92860b1ea0cb09

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