Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Formbar

Formbar is a python library to layout, render and validate HTML forms in web applications. Formbar renders forms which are compatible with Twitter Bootstrap styles.

In contrast to many other form libraries forms with formbar are configured in XML files to separate the form definition form the implementation and handle it as configuration.

Formbar is the German word for “shapeable” and should emphasise the character of formbar which hopefully makes shaping your forms more easy.

Formbar uses a subset of the FormAlchemy as underlying library for rendering and basic validation.

Features

  • Support for SQLAlchemy mapped items and plain forms.

  • Expression bases rules

  • Type conversation and validation

  • XML based form definition

  • Row and column based layouts

  • Twitter bootstrap support

  • Custom CSS styling

  • Error messages

  • Help texts

  • Numbering of fields

  • …

Getting started

Please refer to formbar documentation for further information how to get started using formbar. For all the impatient out there here comes a very comprehensive example code which should give a glimpse on how things could work for you:

from formbar.config import Config, load
from formbar.form import Form

# Simple rendering here, no data submission
# nor validation or saving.
config = Config(load('/path/to/formconfig.xml'))
form_config = config.get_form('example')
form = Form(form_config)
form.render()

Documentation

Formbar should be well documented and comes with documentation, bunch of unitests and last but not least an example serve which serve some example forms.

Licence

Formbar is Free Software and licensed under GPL version 2.

Project state

Formbar is in a early project state and still in under development including large design changes. Call it alpha if you want.

Metadata

Release files for formbar 0.1devel

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for formbar 0.1devel
File Size Uploaded Provenance Actions
formbar-0.1devel.tar.gz 119.6 kB Without provenance Details for formbar-0.1devel.tar.gz

Release files / formbar-0.1devel.tar.gz

Download URL formbar-0.1devel.tar.gz
Size 119.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1f5b5451a24255904a78d970f0e75274fc1b1ff9b1394fb4454dd05c2bb8250c
BLAKE2b-256 checksum
How to use checksums
ec11d265fa0d9bd7171fbcc52bc9d439a8ddc3251e01038fa9142b96ebc51cf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for formbar 0.1devel

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page