Skip to main content

numberfield_flet

My take of creating a number input field in Flet.

  • Supports both float and integer inputs
  • Supports user-defined on_change callbacks

Install it from PyPI

pip install numberfield-flet

Usage

import flet as ft
from numberfield_flet import NumberField

def user_defined_on_change(e):
    print(f"User-defined on_change event: {e.control.value}")


def main(page: ft.Page):
    page.title = "Number Inputter"
    custom_text_field = NumberField(on_change=user_defined_on_change, input_type="float",
                                    label="Enter a float number here: ")
    page.add(custom_text_field)

Development

Email me if you have any questions!

Metadata

Release files for numberfield-flet 1.0.0

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

Source distribution (sdist)

Source distribution for numberfield-flet 1.0.0
File Size Uploaded Provenance Actions
numberfield_flet-1.0.0.tar.gz 3.0 kB Without provenance Details for numberfield_flet-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for numberfield-flet 1.0.0
File Interpreter ABI Platform Actions
numberfield_flet-1.0.0-py3-none-any.whl Python 3 none any Details for numberfield_flet-1.0.0-py3-none-any.whl

Total release size: 6.5 kB

Release files / numberfield_flet-1.0.0.tar.gz

Download URL numberfield_flet-1.0.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fc75161e3ca5434a58674762ba8ff9ac4215479803f199a28c6bf6ef207055f3
BLAKE2b-256 checksum
How to use checksums
53b673a1699c02732e87cf1f8f276d33c50b3ca22ada857742c31c5e1629e9ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.4

Release files / numberfield_flet-1.0.0-py3-none-any.whl

Download URL numberfield_flet-1.0.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77d57001891c4b728bb90c24947a351c46e5c7351b24a9004dc5fde2a2dbeb03
BLAKE2b-256 checksum
How to use checksums
1648fc808a40e720563475e96eddacb910c52fd119a6906e7431d8e8fa81bb80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.4

Security for numberfield-flet 1.0.0

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

1.0.0 This release

2 release files No provenance

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