Skip to main content

No project description provided

Project description

Binary Masks Operations

Welcome to the Binary Masks Operations's Github repository!

PyPI PyPI - Downloads

Description

This package contains helpful functions enabling a faster clean up of binary masks and other functionalities.

Installing & importing

Online install

The BinaMa package is available through pip install under the name pilab-binama. Note that the online version might not always be up to date with the latest changes.

pip install pilab-binama

To upgrade the current version : pip install pilab-binama --upgrade.

To install a specific version of the package use

pip install pilab-binama==0.0.2

All available versions are listed in PyPI. The package names follow the rules of semantic versioning.

Local install

If you want to download the latest version directly from GitHub, you can clone this repository

git clone https://github.com/PiLAB-Medical-Imaging/BinaryMasks

For a more frequent use of the library, you may wish to permanently add the package to your current Python environment. Navigate to the folder where this repository was cloned or downloaded (the folder containing the setup.py file) and install the package as follows

cd binama
pip install .

If you have an existing install, and want to ensure package and dependencies are updated use --upgrade

pip install --upgrade .

Importing

At the top of your Python scripts, import the library as

import binama.utils as bm

Checking current version installed

The version of the TIME package installed can be displayed by typing the following command in your python environment

binama.__version__

Uninstalling

pip uninstall pilab-binama

Example data and code

An example use of the main methods and outputs of BinaMa is written in the example.py file.

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

pilab-binama-0.0.8.tar.gz (17.5 kB view details)

Uploaded Source

File details

Details for the file pilab-binama-0.0.8.tar.gz.

File metadata

  • Download URL: pilab-binama-0.0.8.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for pilab-binama-0.0.8.tar.gz
Algorithm Hash digest
SHA256 a957c1c3b08a3cacaa49edec7a45ac92483c2ceff87c1a68222b84accc4e1fb8
MD5 3bb5d4323b5ce90991686e63c08f064e
BLAKE2b-256 75b795bac3b3e8a6cc5a0b40bfd68f552529857db593705686e17bbec85a40f1

See more details on using hashes here.

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