Skip to main content

基于 Tornado 的示例程序

设置配置文件

` cp app.example.yaml cp app.yaml `

安装第三方库命令

` pip install pyyaml sqlalchemy mysql-connector `

启动程序命令

` python app.py ``

启动成功后,访问地址 http://localhost:8000

执行测试命令

python tests/test_all.py

coverage run tests/test.py

Metadata

Release files for x-py 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for x-py 0.0.1
File Size Uploaded
x-py-0.0.1.tar.gz 2.5 kB Details

Release files / x-py-0.0.1.tar.gz

Download URL x-py-0.0.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
31d61a21e8f6f38c83f26f68580c92123dcf11faf77d00599c7083407bab5d3c
BLAKE2b-256 checksum
How to use checksums
960775df0a78dc450ab86051f72b4bed706049d48f51ce83169fb4676bd74051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page