Skip to main content

bluebild-tools

Tools around bluebild@EPFL

Installation

$ pip install bluebild-tools --upgrade

Usage

Check whether CuPy can be used

from bluebild_tools import cupy as bbt_cupy
use_cupy = bbt_cupy.is_cupy_usable()

You can set the MUST_CUPY environment variable to influence the behavior of the function:

  • With MUST_CUPY unset or set to 0, the use_cupy boolean variable will be set to False if CuPy can't be used and set to True if CuPy can be used.
  • With MUST_CUPY set to 1, the process will be killed if CuPy is not usable.
  • With MUST_CUPY set to 0, no attempt will be made to use CuPy (i.e. use_cupy will be set to False, always).

Note

If CuPy is found unusable, the following environment variables are automatically set to 0:

  • CUPY_PYFFS
  • CUPY_PYLOPS

That way, the pyFFS (https://github.com/imagingofthings/pyFFS) and PyLops (https://github.com/PyLops/pylops) packages can be imported with CuPy support disabled.

Metadata

Release files for bluebild-tools 0.0.3

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

Source distribution (sdist)

Source distribution for bluebild-tools 0.0.3
File Size Uploaded Provenance Actions
bluebild-tools-0.0.3.tar.gz 3.4 kB Without provenance Details for bluebild-tools-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bluebild-tools 0.0.3
File Interpreter ABI Platform Actions
bluebild_tools-0.0.3-py3-none-any.whl Python 3 none any Details for bluebild_tools-0.0.3-py3-none-any.whl

Total release size: 7.5 kB

Release files / bluebild-tools-0.0.3.tar.gz

Download URL bluebild-tools-0.0.3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
33b3b0f2e800dfb4e6df8f93955af8c9584a75373c833a382b7f33c581529dad
BLAKE2b-256 checksum
How to use checksums
9de67b1d0effc504214f73e33bb41ca93c079b5964176b6a12c82b5810799691
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.7

Release files / bluebild_tools-0.0.3-py3-none-any.whl

Download URL bluebild_tools-0.0.3-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
170c36c5455701081cc66cd9bf9ef8ca06af137fcd0100244e548adfaec1ed33
BLAKE2b-256 checksum
How to use checksums
c94aa6b17410598053708e9f75e72b88766098bbd4d7f4e79af56f0f09d00587
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.7

Security for bluebild-tools 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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