Package to interact with lymphatic progression data and models.
Project description
What are these lyscripts?
This package provides convenient scripts for performing inference and learning regarding the lymphatic spread of head & neck cancer. Essentially, it provides a command line interface (CLI) to the lymph library and the lydata repository that stores lymphatic progression data.
We are making these "convenience" scripts public, because doing so is one necessary requirement to making our research easily and fully reproducible. There exists another repository, lynference, where we stored the pipelines that produced our published results in a persistent way.
Installation
These scripts can be installed via pip:
pip install lyscripts
or installed from source by cloning this repo
git clone https://github.com/lycosystem/lyscripts.git
cd lyscripts
pip install .
Usage
This package is intended to be mainly used as a collection of Python scripts that would be scattered throughout my projects, if I didn't bundle them here. Hence, they're mostly command line tools that do basic and repetitive stuff.
As a Command Line Tool
Simply run
lyscripts --help
in your terminal to display the help text for the main command. It will list all subcommands that are avialable, which you can then also call with lyscripts <subcommand> --help to get more information on its use and the available arguments.
For example, one subcommand is lyscripts data collect, which will launch a small web server that allows a user to enter patient records on lymphatic involvement in head and neck cancer one row at a time and construct a standardized CSV file from it.
You can also refer to the documentation for a written-down version of all these help texts and even more context on how and why to use the provided commands.
As a Library
Head over to the documentation for more information on the individual modules, classes, and functions that are implemented in this package.
Configuration YAML Schema
Most of the CLI commands allow passing a list of --configs in the form of YAML files. If for a particular CLI argument no value is passed directly, the program looks for the corresponding value in the merged YAML files (if multiple files are provided, later ones may overwrite earlier ones).
For these YAML files we provide a unified schema containing all possible fields that any of the CLIs may accept. It is located at schemas/ly.json in this repository. So, one could configure e.g. VS Code to consider this schema for all *.ly.yaml files. Here is how that could look like in the JSON settings of VS Code:
{
"yaml.schemas": {
"https://raw.githubusercontent.com/lycosystem/lyscripts/main/schemas/ly.json": "*.ly.yaml"
}
}
Subsequently, all files ending in .ly.yaml will have helpful autocompletion on the allowed/expected types available.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lyscripts-1.0.1.tar.gz.
File metadata
- Download URL: lyscripts-1.0.1.tar.gz
- Upload date:
- Size: 481.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5449a31d13af233bf5c2755e22db28bfefc1f395d0d973e70c6ef8e6e32c660a
|
|
| MD5 |
8230e4b1bc87530b6c5c2c8a22bc5949
|
|
| BLAKE2b-256 |
bdc8c5c3e2fa8ba868b214042573d3c33c53580f32fce646ada77551372a4d47
|
Provenance
The following attestation bundles were made for lyscripts-1.0.1.tar.gz:
Publisher:
release.yml on lycosystem/lyscripts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lyscripts-1.0.1.tar.gz -
Subject digest:
5449a31d13af233bf5c2755e22db28bfefc1f395d0d973e70c6ef8e6e32c660a - Sigstore transparency entry: 495199569
- Sigstore integration time:
-
Permalink:
lycosystem/lyscripts@85f249852ad9796d10551d6d29fedad2e495dd7e -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/lycosystem
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@85f249852ad9796d10551d6d29fedad2e495dd7e -
Trigger Event:
release
-
Statement type:
File details
Details for the file lyscripts-1.0.1-py3-none-any.whl.
File metadata
- Download URL: lyscripts-1.0.1-py3-none-any.whl
- Upload date:
- Size: 68.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e804469608c4ee5c36bd43a7d3aa40539913d87be8d81b97e752983a2fbd07c5
|
|
| MD5 |
7404b5a478d379707044a841a673165d
|
|
| BLAKE2b-256 |
5138da1db8b50d4a524447297d981b956e0a08f95bb7cfab1f02cb9c108546a2
|
Provenance
The following attestation bundles were made for lyscripts-1.0.1-py3-none-any.whl:
Publisher:
release.yml on lycosystem/lyscripts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lyscripts-1.0.1-py3-none-any.whl -
Subject digest:
e804469608c4ee5c36bd43a7d3aa40539913d87be8d81b97e752983a2fbd07c5 - Sigstore transparency entry: 495199600
- Sigstore integration time:
-
Permalink:
lycosystem/lyscripts@85f249852ad9796d10551d6d29fedad2e495dd7e -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/lycosystem
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@85f249852ad9796d10551d6d29fedad2e495dd7e -
Trigger Event:
release
-
Statement type: