semvec/pypi-packages huggingface dataset:
wrap-exception 0.0.2
Baiscally just an Exception class that retains traceback information
Requires Python: >=2.7

# python2_wrapped__exception

This is basically an Exception class that would be used to wrap raised Exceptions.

The common use case is when one wants to present a custom exception class to a downstream caller.

One would typically do this:

<pre>
<code>
try:
    doStuffTHatTHrowsAnException()
except Exception as e:
    raise MyCustomException(e.message)
</code>
</pre>
However, the above code causes the execution stack at the time of the first exception to be lost.

The WrappedException allows us to do this:


<pre>
<code>
try:
    doStuffTHatTHrowsAnException()
except Exception:
    WrappedException.throw()
</code>
</pre>

Callers can now catch "WrappedException" and still have the original execution stack.

Alternatively, they can do this:

<pre>
<code>
try:
    doStuffTHatTHrowsAnException()
except Exception as e:
    WrappedException(e.message, another_parameter, etc.).throw()
</code>
</pre>

As WrappedException would typically be subclassed with a "business" exception.
ImgDatasetBuilder 1.0.2
Build an image dataset with your webcam

# Image Dataset Builder
This package allows you to create a dataset using your webcam.

## Installation
```
pip install ImgDatasetBuilder
```

## usage
```
from DatasetBuilder import DatasetBuilder

dbuilder = DatasetBuilder(classes=["my_class_one", "my_class_two"], out_dir="./data")

dbuilder.build()
```

You can also pass arguments to the 'build()':

        :param nb_item: - tuple representing  ==> (number_train_data, number_test_data, number_val_data)
                        - you can specify that you don't want a specific dataset by placing -1 at the correct position
                        - DEFAULT : (300, 100, 50)

        :param image_width: webcam's window screen width (DEFAULT = 800)
        :param image_height: webcam's window screen heigh (DEFAULT = 600)