Bowtie

Latest version: v0.11.0

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

Scan your dependencies

Page 2 of 5

0.8.0

Added

* Improved widget handling, now use a dict to store components instead of parsing code.
Makes it possible to subscribe to events with expressions for the component.
* Cache behaves like dict, e.g. `cache['data'] = [1, 2, 3]`.
* Support Ant theme to customize all Ant components, added in the `App` class.
* Vertical option for slider. (204)
* Document run command.
* Document exceptions.

Breaking

* Removed cache `save` and `load` functions in favor of dict functionality.

0.7.0

Added

* Implemented `__getitem__` for the layout enabling for example: `app[1, 0:2] = widget`.
* Added "on_relayout" event for Plotly widgets.
* Serialize Pandas series objects and Pandas datetime objects.

Breaking

* `row_end` and `column_end` are now exclusive instead of inclusive.
* Simplified the `add` function in favor of the new getitem functionality,
which is easier to use and familiar to Python programmers.

0.6.1

Added

* Docstring examples of sizing components.
* More checks to ensure adding components works as expected.

Fixed

* Bug which incorrectly tracked which parts of the grid were occupied by widgets.

0.6.0

Added

* Removed node and webpack dependencies, the only dependency is yarn.
* Added a run command that simply combines build and serve together.
* Smarter build process that saves time on subsequent builds.
* Handle scheduled tasks when running with debug=True (185)
* Improve the Docker experience and docs.
* Always use the latest compiled bundle.

Breaking

* Instead of building the app by running `app.build()` you simply return the App instance.
See the quick start guide for an example.

0.5.1

Added

* Expose root `View` attributes as `App` attributes (175).
You can access `columns` and `rows` from the `App` instance like pre v0.5.
* Added column and row gap which inserts space between rows and columns.
Accessible through `column_gap` and `row_gap` on `View` and `App` instances.
* Added Gitter chat (179)
* Many documentation improvements.
* Drop Python 3.4 support following pandas lead.

0.5.0

Added

* Create multiple views to create subpages (158)
* Cache is now backed by session storage (160)
* Link component for switching views without a page reload

Breaking

* Renamed `Layout` class to `App`

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.