Wtform address fields: CountrySelectField and StateSelectField
Fields that are helpful when dealing with physical addresses such as a CountrySelectField and a StateSelectField.
Install
pip install wtform_address
Usage
from wtforms import Form
from wtform_address import CountrySelectField, StateSelectField
class MyForm(Form):
country = CountrySelectField(default="US")
state = StateSelectField(default="US-CA")
Credits
Credits to @mekza for his initial gist.
License
Metadata
Release files for wtform-address 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wtform_address-0.1.1.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wtform_address-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / wtform_address-0.1.1.tar.gz
| Download URL | wtform_address-0.1.1.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b39fe8c93e6811292f1fb35d886ab65c88048455691956298a42d067a168b152
|
|
BLAKE2b-256 checksum How to use checksums |
faa2501e3059e5edc4784685ee08850f031992310f921e5c2055a2c4eddc7016
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / wtform_address-0.1.1-py3-none-any.whl
| Download URL | wtform_address-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
955d1e0ebaa5cca6c1b6c15a385bef2b35ce52e387cea898adec7365e8d0bc9a
|
|
BLAKE2b-256 checksum How to use checksums |
afd760c168d1d12286ee7c5118ee989b1c910b577680b1d9ee1773462858be3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|