Skip to main content

lona-bootstrap-5

This package contains Lona nodes and widgets for Bootstrap 5.

Supported components:

Grid System

Upstream documentation: Link

from lona_bootstrap_5 import ColMd6, Col, Row

Row(
    ColMd6('foo'),
    ColMd6('bar'),
)

Row(
    Col('foo'),
    Col('bar'),
    Col('baz'),
)

TextInputs and TextAreas

Upstream documentation: Link

TextInput and TextArea work exactly like Lona TextInputs and are just styled by Bootstrap.

from lona_bootstrap_5 import TextInput, TextAreas

Buttons

Upstream documentation: Link

Button works exactly like Lona Button and is just styled by Bootstrap.

from lona_bootstrap_5 import (
    PrimaryButton,
    SecondaryButton,
    SuccessButton,
    WarningButton,
    DangerButton,
    InfoButton,
    LightButton,
    DarkButton,
    LinkButton,
)

Spinners

Upstream documentation: Link

The first argument will be shown to screen readers, if no arguments are passed the default is “Loading…”

from lona_bootstrap_5 import (
    GrowPrimarySpinner,
    GrowSecondarySpinner,
    GrowSuccessSpinner,
    GrowDangerSpinner,
    GrowWarningSpinner,
    GrowInfoSpinner,
    GrowLightSpinner,
    GrowDarkSpinner,
    BorderPrimarySpinner,
    BorderSecondarySpinner,
    BorderSuccessSpinner,
    BorderDangerSpinner,
    BorderWarningSpinner,
    BorderInfoSpinner,
    BorderLightSpinner,
    BorderDarkSpinner,
)

GrowPrimarySpinner("Loading the page...")

Alerts

Upstream documentation: Link

from lona_bootstrap_5 import (
    PrimaryAlert,
    SecondaryAlert,
    SuccessAlert,
    DangerAlert,
    WarningAlert,
    InfoAlert,
    LightAlert,
    DarkAlert,
)

Badges

Upstream documentation: Link

from lona_bootstrap_5 import (
    PrimaryBadge,
    SecondaryBadge,
    SuccessBadge,
    DangerBadge,
    WarningBadge,
    InfoBadge,
    LightBadge,
    DarkBadge,
)

Progress

Upstream documentation: Link

from lona_bootstrap_5 import Progress

Progress(*label, background=None, value=None, percentage=None,
         striped=False, animated=False)

Properties

  • Modal.background: (str) [‘’|success|info|warning|danger]

  • Modal.value: (int) Current progress value between 0 and 100

  • Modal.striped: (bool) Enables Bootstraps striped style

  • Modal.animated: (bool) Enables Bootstrap animations

Methods

  • Modal.set_labal(*nodes): Sets label

  • Modal.set_percentage(percentage): Sets the value the given value and calls Modal.set_label()

Metadata

Release files for lona-bootstrap-5 0.3

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

Source distribution (sdist)

Source distribution for lona-bootstrap-5 0.3
File Size Uploaded Provenance
lona-bootstrap-5-0.3.tar.gz 1.6 MB Without provenance Details

Release files / lona-bootstrap-5-0.3.tar.gz

Download URL lona-bootstrap-5-0.3.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
4d75ac3a51bfc4e244f73a1a835cfe7b78d5a021256a9ff0a57c98968bfabaaf
BLAKE2b-256 checksum
How to use checksums
1e71b124574d78ea1b72f0bbc5b397a735d9a02e46d955937008acdeae78b3d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

Security for lona-bootstrap-5 0.3

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.

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