Skip to main content

PK-DB data utilities.

Project description

GitHub Actions CI/CD Status Current PyPI Version Supported Python Versions GNU Lesser General Public License 3 Black

pkdb_data: python utilities for PK-DB data

This repository stores the curated study data for https://pk-db.com and provides helpers for uploading studies to the database. The available choices are defined as part of this repository.

See the ./CURATION.md for detailed instructions on how to curate studies.

Installation

Installation instructions are available here.

Functionality in a nutshell

The following provides a short overview over the main functionality. Detailed information is provided in the ./CURATION.md.

Upload study

To upload a study use

(pkdb_data) upload_study -s <study_dir>

Upload studies

A set of studies can be uploaded via

(pkdb_data) upload_studies

Use the -s flag to only upload subsets, e.g., to upload all caffeine and acetaminophen studies use

(pkdb_data) upload_studies -s caffeine acetaminophen

Delete study

(pkdb_data) delete_study -s <study_sid>

Update InfoNodes

Modifying and uploading InfoNodes which can be used as choices in the curation is restricted to the admins. To update the notes modify the information in ./pkdb_data/info_nodes/ and create the json information via

(pkdb_data) create_nodes

In a second step the nodes are uploaded via

(pkdb_data) upload_nodes

License

The pkdb_data source is released under both the GPL and LGPL licenses version 2 or later. You may choose which license you choose to use the software under.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License or the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Funding

Matthias König is supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (LiSyM, grant number 031L0054) and by the German Research Foundation (DFG) within the Research Unit Programme FOR 5151 “QuaLiPerF (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach)” by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA).

© 2017-2024 Jan Grzegorzewski & Matthias König

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pkdb_data-1.0.9.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

pkdb_data-1.0.9-py2.py3-none-any.whl (2.7 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file pkdb_data-1.0.9.tar.gz.

File metadata

  • Download URL: pkdb_data-1.0.9.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pkdb_data-1.0.9.tar.gz
Algorithm Hash digest
SHA256 0fe66492b83d21d83f1b4497b578223fc9a0733673e6a7c55573bcb22e9154bb
MD5 504a165606def8442b3b783b5c7851d3
BLAKE2b-256 480d76bf72fd047e996382b6267b6c7641ef2be58a226b4260c9836951643089

See more details on using hashes here.

File details

Details for the file pkdb_data-1.0.9-py2.py3-none-any.whl.

File metadata

  • Download URL: pkdb_data-1.0.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pkdb_data-1.0.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 41c298291b43bfcb789f74da1e3797461f93901fb56e03620b9cdcc0a72545c7
MD5 08e903eed072ffe6c92e59acc9acdb9b
BLAKE2b-256 6e0e86e25e0d65b8d6c26a0a87c07e09a47d493e0142517ab9e2ddb10ee7fcc2

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