Skip to main content

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.

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.1.0.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

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

pilab_binama-0.1.0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file pilab_binama-0.1.0.tar.gz.

File metadata

  • Download URL: pilab_binama-0.1.0.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for pilab_binama-0.1.0.tar.gz
Algorithm Hash digest
SHA256 229c64624725eb2523c0f1991e46c5c40382a044a4cc71fa05853c9cbd1b0818
MD5 fbbc64f9ca00a88dc3592b27281695dd
BLAKE2b-256 ec1d0cb3e0b9eff6a1d0e79bb693e83bfdd7f29d2116a75c3480499d7d4d4c94

See more details on using hashes here.

File details

Details for the file pilab_binama-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pilab_binama-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for pilab_binama-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 111d1f5506bcf9f975ff3bf7893d4a9542a3020d0c34d1ef150cf6ee4ce5d481
MD5 bbaa2a999af43208af4d38af6e4f5eda
BLAKE2b-256 02316fc9ea8814bbd65ab7f0b5680564f1346e76abe743fe54d927b91eb64bcf

See more details on using hashes here.

Supported by

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