WTForms-Tornado
WTForms extensions for Tornado.
WTForms-Tornado targets Python 3.11+.
Usage
import tornado.ioloop
import tornado.web
from wtforms import IntegerField
from wtforms.validators import DataRequired
from wtforms_tornado import Form
class SumForm(Form):
a = IntegerField(validators=[DataRequired()])
b = IntegerField(validators=[DataRequired()])
class SumHandler(tornado.web.RequestHandler):
def get(self):
self.write('Hello, world')
def post(self):
form = SumForm(self.request.arguments)
if form.validate():
self.write(str(form.data['a'] + form.data['b']))
else:
self.set_status(400)
self.write(str(form.errors))
application = tornado.web.Application([
(r"/", SumHandler),
])
if __name__ == "__main__":
application.listen(8888)
tornado.ioloop.IOLoop.current().start()
Installation
Install the package with pip:
pip install wtforms-tornado
Or from a local checkout:
pip install .
For development work, install the dev extras:
pip install -e '.[dev]'
Metadata
Release files for wtforms-tornado 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wtforms_tornado-0.1.0.tar.gz | 4.8 kB | With provenance | Details for wtforms_tornado-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wtforms_tornado-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for wtforms_tornado-0.1.0-py3-none-any.whl |
Total release size: 8.5 kB
Release files / wtforms_tornado-0.1.0.tar.gz
| Download URL | wtforms_tornado-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f9a39ee917218af0e82228505bc3ea8beda8c6e319b45ce707cd44c362c5965
|
|
BLAKE2b-256 checksum How to use checksums |
441b28ee08dce784b4031bd65f1e6028656bbf1721d0888195f018cef021b8a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.
Transparency logRelease files / wtforms_tornado-0.1.0-py3-none-any.whl
| Download URL | wtforms_tornado-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eccdfe27563550fa2578706be994833be83eb126e88c85d66d36fd66386fc97f
|
|
BLAKE2b-256 checksum How to use checksums |
6b6e4fcc50bcb5c9849701b9c515152358801d3a07954f1a4051b0c44f87ad92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.
Transparency logSecurity for wtforms-tornado 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for wtforms_tornado-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.