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.0

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.0
File Size Uploaded
pilab_binama-0.2.0.tar.gz 19.7 kB Details

Built distribution (wheel)

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

Total release size: 38.7 kB

Release files / pilab_binama-0.2.0.tar.gz

Download URL pilab_binama-0.2.0.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
22b7f9875b6c8ad2b3d37f29d53bc03fbe206466b78797bc121f96351b8ed5d5
BLAKE2b-256 checksum
How to use checksums
bf906e3615d243c11076e8e4a0ca21b1fb6514a2ab4cef13cb752fa37a1a611e
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.0-py3-none-any.whl

Download URL pilab_binama-0.2.0-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f41b882dc591f7ca6bfabd53137453586cc14ef70d8932f32e934ae4da988d7
BLAKE2b-256 checksum
How to use checksums
bb675ab387517861bda943337dc420228ad6a61c55a514d479ed880c3888a7cd
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

0.2.1

2 release files

This release

0.2.0 This release

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