Collection of field for your form
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfield-0.1.3.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for pyfield-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 211e9c0735b48c7a3ea65a189e165c5655d028dcb529187e78efab51fc521a74 |
|
MD5 | f1d617ece16c51a94c457f8b8334415f |
|
BLAKE2b-256 | 9af42dfca3460e5843663bf5bd21c6fee88a266cffec4c7d731091eed5f7099a |