Glitch-this

Latest version: v1.0.3

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.0.3

* Add typing overloads for `glitch_image` to choose return type based on `gif: bool` parameter.

Whether the function returns `Image` or `List[Image]` can be deduced by the type checker based on
the value of the `gif` parameter (when it is a boolean constant literal)

See: https://github.com/TotallyNotChase/glitch-this/pull/44

*Thanks to [Matthieu-LAURENT39](https://github.com/Matthieu-LAURENT39)*

1.0.2

* Minor changes related to versioning fixes

See: https://github.com/TotallyNotChase/glitch-this/pull/33
*Thanks to [ghost](https://github.com/ghost)*

1.0.1

* Add better error message when `frame['duration']` in `glitch_gif` (from `glitch_this.py`) raises a key error
Suggested by [32](https://github.com/TotallyNotChase/glitch-this/issues/32)

1.0.0

* NEW `glitch_image` and `glitch_gif` in `glitch_this.py`:-
* `seed`: Set a custom seed to be used by `random`, for generating similar images across runs
* NEW parameters for `commandline.py`:-
* `-sd, --seed`: Set a custom seed to be used by `random`, for generating similar images across runs
* Cleanup the codebase using fstrings
* Add FULL **typing support** for providing a better experience to library users
* Fix undefined variable in `glitch_gif`

0.1.5

* Improve version checking efficiency

The version is only checked once every few days and saved into a local file. This file is checked afterwards. Eliminates the need to send request to pypi

* Add `--version` argument to the commandline script

0.1.4

* Add support for floats as Increment/Decrement (`glitch_change`)

You can now use a value between +-0.0 and +-10.0 (inclusive)

* Glitching intensity can now be in range 0.1 to 10.0 (inclusive)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.