Skip to main content

# txweb

TOUGHSTRUCT项目WEB框架,基于Python2.7, twisted, cyclone组成的WEB开发框架。

## 快速安装

pip install -U https://github.com/talkincode/txweb/archive/master.zip

## 创建项目

以下指令会从github下载应用模板并创建应用目录,目录名就是应用名,参数 -U 表示重新下载,否则直接取本地缓存

txwebctl –create -U –dir=appdir

## 运行项目

以下指令会在8888端口(可选)监听http请求,–logging=none是由于cyclone内部自动打印日志,与txweb日志打印重复,所以关掉。

txwebctl –port=8888 –dir=appdir –conf=appdir/etc/appname.json -logging=none

[May 25 09:30:13 appname] Log opened. [May 25 09:30:13 appname] add free route [/:<class ‘appname.handlers.index.IndexHandler’>] [May 25 09:30:13 appname] Application starting on 8888 [May 25 09:30:13 appname] Starting factory <txweb.web.Application instance at 0x105731e18>

Metadata

Release files for txweb 0.0.8

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

Built distributions (wheels)

Table of built distributions (wheels) for txweb 0.0.8
File Interpreter ABI Platform Actions
txweb-0.0.8.macosx-10.11-x86_64.tar.gz Details for txweb-0.0.8.macosx-10.11-x86_64.tar.gz
txweb-0.0.8-py2-none-any.whl Python 2 none any Details for txweb-0.0.8-py2-none-any.whl

Total release size: 79.0 kB

Release files / txweb-0.0.8.macosx-10.11-x86_64.tar.gz

Download URL txweb-0.0.8.macosx-10.11-x86_64.tar.gz
Size 33.9 kB
Tags Source
SHA-256 checksum
How to use checksums
93877910b59efc329fbf71c9b6791eeb025a740e8258a51aac6196403e2dac74
BLAKE2b-256 checksum
How to use checksums
aff1ab5bcb45c44e2273d3a102440fff89ffb6e54e774969a57d1b19dd5edd00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / txweb-0.0.8-py2-none-any.whl

Download URL txweb-0.0.8-py2-none-any.whl
Size 45.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
f391be46f1579588ab26ef38ad438c8436431af713061b7f68dd6faa9763a99c
BLAKE2b-256 checksum
How to use checksums
2df6d15994f6142d2274887e8c8de1ed070fb4bf6451bace8de2cb6e365ab47e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for txweb 0.0.8

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.

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