Skip to main content

Collection of field for your form

Project description

Collection of field for your form not only web form


pyfield is a collection of field with battery included.

This project is under developmment, please read CONTIBUTING.rst


>>> 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyfield, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size pyfield-0.1.3.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View
Filename, size pyfield-0.1.3-py2.py3-none-any.whl (10.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page