Radstract
Radstract is python library containing shared code for RadOSS projects.
It has a range of subpackages for different tasks:
- Data: For data/image manipulation and conversion functions
- Analysis: For different methods of analyzing the data, from nifti and dicom files
- Math: For different mathematical functions and operations
- Datasets: for converting and working with different datasets (Huggingface etc)
Feel free to use this code in your own projects, and if you have any questions or suggestions, please feel free to open an issue.
Installation
pip install git+https://github.com/radoss-org/radstract.git
See examples here for a quickstart: https://github.com/radoss-org/Radstract/tree/main/examples
Docs
Docs can be viewed at https://radoss-org.github.io/radstract/radstract.html
Examples
See examples here: https://github.com/radoss-org/Radstract/tree/main/examples
Developer Guide
You can clone the repository and install the dependencies with the following command:
git clone https://github.com/radoss-org/radstract.git
You can then install retuve with poetry, and then run the tests:
# Needed for the scripts
pip install poethepoet
cd retuve
poetry install
# Generate the test data
poe testgen
# Run all tests, including examples.
poe test_all
# Get info on all other dev scripts
poe help
Acknowledgments
Data for the examples and tests is from https://github.com/radoss-org/radoss-creative-commons.
Please see this repo for attribution and licensing information.
- Shape Distribution Models From https://graphics.stanford.edu/courses/cs468-08-fall/pdf/osada.pdf
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Metadata
Release files for radstract 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 | Provenance | Actions |
|---|---|---|---|---|
| radstract-1.0.2.tar.gz | 177.4 kB | With provenance | Details for radstract-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| radstract-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for radstract-1.0.2-py3-none-any.whl |
Total release size: 239.9 kB
Release files / radstract-1.0.2.tar.gz
| Download URL | radstract-1.0.2.tar.gz |
|---|---|
| Size | 177.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05f5f5f966fbb5198f1a25a6cb13d8b29b0f0c19022be08bed88ade4d1805bee
|
|
BLAKE2b-256 checksum How to use checksums |
c65b67c4401b9d828a209af8b0c6a9cbeea01876cb335950c821f2e0c7d58250
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 22, 2026.
Transparency logRelease files / radstract-1.0.2-py3-none-any.whl
| Download URL | radstract-1.0.2-py3-none-any.whl |
|---|---|
| Size | 62.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e7c0a0033a565a0438240a5f369a05988caa5f8f71ae9174c00130d86e65dc0
|
|
BLAKE2b-256 checksum How to use checksums |
fa9a312ba8118e51af25d7dcc10a385b7334e5ba881734252559946346e1be57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 22, 2026.
Transparency logSecurity for radstract 1.0.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for radstract-1.0.2.tar.gz
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 Mar 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.