semvec/pypi-packages huggingface dataset:
pyrt-lib-rasmusklitgaard 0.7.4
PYthon RadioTherapy library
Requires Python: >=3.10

# pyrt-lib

Python based helper library for RT cohort analysis


# Classes:
## Patient
A class for a patient. Initializes with the path to the directory containing DICOMS, dvhs' (made with makedvh from gitlab.com/dcpt-research/fluka-simulation-batch-tools). Automatically reads all the data and can be queried for dvh parameters and so forth.
Also reads metadata - right now from an excel sheet for these patients, but could be altered to any patient cohort.


## Cohort
A class for a cohort, a group of patients. Primary function is that it can make sub-cohorts based on a constraint, 
such as age, toxicity, gamma-pass score or dvh parameters or whatever you want.


# Plans
Will contain classes to help with data-flow for patients with CT's, RTSTRUCT's, RTPLAN's, planning RTDOSE distributions as well as 
Monte Carlo simulations of dose and Linear Energy Transfer.

The library will also include functionality for variable RBE for at least the most used models.
serchding 1.0.6
Fulltext search for linkding
Requires Python: >=3.12

# serchding: Fulltext search for linkding

## Usage

Setup:

```sh
TOKEN=1a3451a3451a3451a3451a3451a3451a3451a345
BASE_URL=https://example.com
serchding auth set -t $TOKEN -b $BASE_URL
serchding sync
```

Search:

```sh
# "statistics" OR "significant"
# matches other word forms: significance etc
serchding search statistics significant

# "brain" AND "anatomy"
serchding search brain AND anatomy

# fuzzy matching within one Levenshtein edit
# matches joe, joker, coke etc
serchding search joke~

# 2 edits
# matches jo, joe, josh, etc
serchding search joke~2

# 1 edit with a 4-char exact prefix
# matches state but not tat
serchding search stat~/4

# globbing
# matches state, status, statistics
serchding search stat*
```

For full reference, see [whoosh docs](https://whoosh.readthedocs.io/en/latest/querylang.html).

Dump JSON-formatted bookmarks:

```sh
mkdir bookmarks
serchding dump bookmarks
```

## Limitations

- Fulltext retrieval doesn't work with javascript-dependent web pages.