Skip to main content

Bladesight - This package contains helps you follow along with the bladesight tutorials


PyPI version Downloads Python


This package contains utilities to help you follow along with the Bladesight tutorials.

Installation

pip install bladesight

Usage

Datasets

All the datasets used in the tutorials are hosted on AWS on a public S3 bucket. This package makes it seamless to download and use these datasets. First import the Datasets object.

from bladesight import Datasets

You can list the available datasets by printing the using the list_datasets method.

>>> print(Datasets.online_datasets)
['bladesight-datasets/intro_to_btt/intro_to_btt_ch02']

You can then load a dataset by selecting the dataset like you would have selected a dictionary key, just by using the 'data/' prefix:

>>> my_dataset = Datasets['data/intro_to_btt/intro_to_btt_ch02']

Example Usage

You can then load the table by selecting the table like you would have selected a dictionary key, just by using the 'table/' prefix:

>>> df_proximity_probe = my_dataset['table/aluminium_blisk_1200_rpm']

Example Usage

The datasets have been downloaded to your local machine. You can find them in the following directory:

~/.bladesight/data

Citations

You'll see an attribution every time you open a dataset. This attribution is a link to the dataset's citation.

Example Usage

Uploading your data

If you'd like your datasets to be accessible through this package, I'd be more than willing to convert it to the appropriate format and upload it.

Please email me at dawie.diamond@bladesight.com to get the ball rolling.

Functions and methods

I include all the functions that are used frequently throughout the tutorials in the bladesight package. This is to avoid cluttering the tutorials with code that is not relevant to the tutorial's objective.

from bladesight.btt.triggering_criteria import threshold_crossing_hysteresis_rising

License

This project is licensed under the terms of the MIT license.

Metadata

Release files for bladesight 0.17.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 bladesight 0.17.0
File Size Uploaded
bladesight-0.17.0.tar.gz 34.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bladesight 0.17.0
File Interpreter ABI Platform
bladesight-0.17.0-py3-none-any.whl Python 3 none any Details

Total release size: 69.5 kB

Release files / bladesight-0.17.0.tar.gz

Download URL bladesight-0.17.0.tar.gz
Size 34.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d55e6b5e3c7658d4733032d9046a9fc88ff2c78dcbffd8ebb9eca9b75f9a45d9
BLAKE2b-256 checksum
How to use checksums
383530376f25139138dcad943d5ec4e3431e43cd91c0035a50c6ce0463c8d15b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13

Release files / bladesight-0.17.0-py3-none-any.whl

Download URL bladesight-0.17.0-py3-none-any.whl
Size 35.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8364cfa30550d70261e5262ebbe48b9d1585482fafca8ed6584b881e670e631b
BLAKE2b-256 checksum
How to use checksums
2eb1e51c9ba7381d93d9dd12969e681d2ad608731a3b287ce9f32edbc6b3df8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13
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