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.

Metadata

Release files for pilab-binama 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pilab-binama 0.2.1
File Size Uploaded
pilab_binama-0.2.1.tar.gz 19.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pilab-binama 0.2.1
File Interpreter ABI Platform
pilab_binama-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 38.9 kB

Release files / pilab_binama-0.2.1.tar.gz

Download URL pilab_binama-0.2.1.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aa2f5b6c381c922f0a5b6b7c4635f743291d6dd2833e6e5ea8be3b4875946420
BLAKE2b-256 checksum
How to use checksums
f31c3bfc5619096046bf59e10cb1b75643d3c651a4347c712226338093858982
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / pilab_binama-0.2.1-py3-none-any.whl

Download URL pilab_binama-0.2.1-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
760fdf616fb2cdcfb3cc8da2777dcff9843590602efae32144a8f5bed2376312
BLAKE2b-256 checksum
How to use checksums
2dea1ca73a5938aae2b1e71274614734cb1a6364898ba2c64524830f826ee888
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page