Skip to content

Releases: astariul/swole

v0.0.4

27 Oct 15:18
a6239ae
Compare
Choose a tag to compare

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

v0.0.3

02 Oct 12:45
Compare
Choose a tag to compare

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.

Package fixes

02 Oct 11:34
Compare
Choose a tag to compare

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

Initial release

30 Sep 01:49
Compare
Choose a tag to compare

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).