Skip to main content

No project description provided

Project description

Lint & Test codecov

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.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

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

radstract-1.0.2.tar.gz (177.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

radstract-1.0.2-py3-none-any.whl (62.5 kB view details)

Uploaded Python 3

File details

Details for the file radstract-1.0.2.tar.gz.

File metadata

  • Download URL: radstract-1.0.2.tar.gz
  • Upload date:
  • Size: 177.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for radstract-1.0.2.tar.gz
Algorithm Hash digest
SHA256 05f5f5f966fbb5198f1a25a6cb13d8b29b0f0c19022be08bed88ade4d1805bee
MD5 9d4238831ee0f01ab9a959b3345bf2fd
BLAKE2b-256 c65b67c4401b9d828a209af8b0c6a9cbeea01876cb335950c821f2e0c7d58250

See more details on using hashes here.

Provenance

The following attestation bundles were made for radstract-1.0.2.tar.gz:

Publisher: pypi-release.yml on radoss-org/radstract

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file radstract-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: radstract-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 62.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for radstract-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e7c0a0033a565a0438240a5f369a05988caa5f8f71ae9174c00130d86e65dc0
MD5 628b7af1712702aa8e60314b97cbdfdc
BLAKE2b-256 fa9a312ba8118e51af25d7dcc10a385b7334e5ba881734252559946346e1be57

See more details on using hashes here.

Provenance

The following attestation bundles were made for radstract-1.0.2-py3-none-any.whl:

Publisher: pypi-release.yml on radoss-org/radstract

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page