Collection of field for your form not only web form
Description
pyfield is a collection of field with battery included.
This project is under developmment, please read CONTIBUTING.rst
Example
>>> from pyfield import Text
>>>
>>> def main():
>>> username = Text('Username')
>>> username(input(username.prompt_input()))
>>> print(f'Your name is {username.get}')
>>>
>>> main()
Username: Bob
Your name is Bob
It’s very simple but pyfield comes with a lot of features
Default value
Transformator
Validator
Read the docs if you want to know more about these features or create your own Transformator and validator
Release files for pyfield 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyfield-0.1.3.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyfield-0.1.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 14.7 kB
Release files / pyfield-0.1.3.tar.gz
| Download URL | pyfield-0.1.3.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10da7401fcea32118ad9d16cd3a96301e37b1b549e86941dd84617da3e81205a
|
|
BLAKE2b-256 checksum How to use checksums |
323b9110ebb7198f2fde49290ccc2f3831fcf4116075b48e6cb15dbaecb8c591
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.11.5 CPython/3.6.6 Linux/3.14.0
|
Release files / pyfield-0.1.3-py2.py3-none-any.whl
| Download URL | pyfield-0.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
211e9c0735b48c7a3ea65a189e165c5655d028dcb529187e78efab51fc521a74
|
|
BLAKE2b-256 checksum How to use checksums |
9af42dfca3460e5843663bf5bd21c6fee88a266cffec4c7d731091eed5f7099a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.11.5 CPython/3.6.6 Linux/3.14.0
|