madtornado
Installation
pip install madtornado sea --init_project [project path]
The powerful madtornado
Very easy to check whether is not-null for arguments
args = self.get_argument_for({"a": None, "b": None, "c": None})
check_rule = {
"a": [check.not_null], "b": [check.not_null], "c": [check.not_null("c type is error")]
}
result = check.some(args, check_rule)
print(result.__dict__)
Used madtornado
workspace
%madtornado_project%\ancient\view\reception.py
start server
python server.py
Create route
file : reception.py
@register.route(use=register.PRT)
class IndexHandler(BaseHandler):
"""
url: http://127.0.0.1:8095/prt/index
"""
async def get(self):
self.write("<h1 style='text-align:center'>Index</h1>")
async def post(self):
self.throw(404)
async def put(self):
self.throw(404)
async def delete(self):
self.throw(404)
Quickly create route
sea --new_recp %madtornado_project%\ancient\view\reception.py
Configure anything
%madtornado_project%\config\tornado.cfg
Advise
Nginx ( IIS ) use port 80
Tomcat use port 8080
Apache2 use port 8088
madtornado use port 8095
Resources
You can read madtornado Documentation online for more information.
License
madtornado uses the MIT license, see LICENSE file for the details.
Metadata
Release files for madtornado 0.3.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| madtornado-0.3.9-py3-none-any.whl | Python 3 | none | any | Details for madtornado-0.3.9-py3-none-any.whl |
Release files / madtornado-0.3.9-py3-none-any.whl
| Download URL | madtornado-0.3.9-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa36db0e072f93fbf43cde483fc321c78e544af2eb617b730730ab589beba002
|
|
BLAKE2b-256 checksum How to use checksums |
93d35c736d08d601a1e7edf6bc5f4ac13712eb33e888bd3af95754ca17635dad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.1
|
Security for madtornado 0.3.9
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.