Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Release history Release notifications

This version

0.1.3

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-py2.py3-none-any.whl (10.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pyfield-0.1.3.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page