Skip to main content

Python package to calculate the range of cassettes needed for transurethral resection specimens

Project description

Transurethral Resection Specimen Calculator

This package is designed to calculate the range of cassettes needed for a given specimen weight.

To install the package, use pip:

pip install turp

To use, simply instantiate a TurpCounter object with the specimen weight.

turp = TurpCounter(24)

print(
    turp.weight,
    turp.num_cassette_low_end,
    turp.num_cassette_high_end,
    sep='\n'
)

The turp object attributes can be accessed directly or you can simply print the turp object to get the values.

print(turp)


TurpCounter(specimen_weight=24, num_cassette_low_end=9, num_cassette_high_end=11)

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

turp-0.0.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

turp-0.0.2-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

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