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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file pyfield-0.1.3.tar.gz.

File metadata

  • Download URL: pyfield-0.1.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.11.5 CPython/3.6.6 Linux/3.14.0

File hashes

Hashes for pyfield-0.1.3.tar.gz
Algorithm Hash digest
SHA256 10da7401fcea32118ad9d16cd3a96301e37b1b549e86941dd84617da3e81205a
MD5 59e5ca2cd6c534617946a63eed713a3f
BLAKE2b-256 323b9110ebb7198f2fde49290ccc2f3831fcf4116075b48e6cb15dbaecb8c591

See more details on using hashes here.

File details

Details for the file pyfield-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: pyfield-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.11.5 CPython/3.6.6 Linux/3.14.0

File hashes

Hashes for pyfield-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 211e9c0735b48c7a3ea65a189e165c5655d028dcb529187e78efab51fc521a74
MD5 f1d617ece16c51a94c457f8b8334415f
BLAKE2b-256 9af42dfca3460e5843663bf5bd21c6fee88a266cffec4c7d731091eed5f7099a

See more details on using hashes here.

Supported by

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