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.
Metadata
Release files for lyscripts 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lyscripts-1.0.2.tar.gz | 481.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lyscripts-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 550.4 kB
Release files / lyscripts-1.0.2.tar.gz
| Download URL | lyscripts-1.0.2.tar.gz |
|---|---|
| Size | 481.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4d41243567475817eb2813f643839bcb64ee5428c8c787ba4ec0b25e81e9f1a
|
|
BLAKE2b-256 checksum How to use checksums |
d99b2f9cc1474ce92894065d2bf84ca9c2c9e990514e71d28256920618baa484
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 8, 2026.
Transparency logRelease files / lyscripts-1.0.2-py3-none-any.whl
| Download URL | lyscripts-1.0.2-py3-none-any.whl |
|---|---|
| Size | 68.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d87324c665df0824883701f9afac3fcbd89d9f93c660eb4d539d68531d86fafe
|
|
BLAKE2b-256 checksum How to use checksums |
05c8c0a098d49067feaa44d4eae4e39be0cea5a3102f284398af08a9519c6f8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 8, 2026.
Transparency log