Swole

Latest version: v0.0.4

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

Scan your dependencies

0.0.4

What's new ?

* **The first, full version of the Documentation is out !** 18
* Add one-click deploy badges for examples
* Add argument to specify `favicon` image for pages 8
* `Page` creation are recorded (similarly to `Widget`), so it's easier to deploy a simple app 12
* `Input` widget now have a `label` argument 16
* Added texture example for easy front-end debugging
* Base skin updated
* `Button` and `Input` now have a `wide` argument

New `Widget`
* `Header`
* `Title`
* `SubHeader`

Internal improvements
* Added tests for `define_routes()` method 13
* More strict validation for callbacks routes (better auto-generated documentation by FastAPI) 15

0.0.3

Change the default `host` to `0.0.0.0` (instead of `127.0.0.1`).

Releasing a new version so examples work out of the box.

0.0.2

Documentation

* Added documentation on ReadTheDocs (empty, just the theme)

Bug fixes

* Fix emoji not displayed on PyPi README
* Fix images not displayed on PyPi README
* Fix skins (CSS files) not included in the package

0.0.1

Initial release of the package `swole`.

⚠️ This is just a proof-of-concept

Contains the core of the library : `Application`, `Page`, `Skin`, a few `Widget`, and a single working example.

Widgets added

* **`Button`** : Allow to create a button, with a possible callback.
* **`Input`** : Input field. For now, can only create a number input.
* **`Markdown`** : An incomplete widget for markdown. Markdown not supported yet, just plain text.

Examples added

* **`basic_addition.py`** : Most basic, working example for doing addition.
* **`basic_addition_oop.py`** : Same as `basic_addition.py`, but using only OOP interface (no shortcut => more ugly).

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.