Skip to main content

Collection of field for your form

Project description

https://travis-ci.org/Ublimjo/pyfield.svg?branch=master

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


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)

Uploaded Source

Built Distribution

pyfield-0.1.3-py2.py3-none-any.whl (10.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page