Bamboo:Web应用程序的通用框架

时间:2021-02-16 15:31:28
【文件属性】:
文件名称:Bamboo:Web应用程序的通用框架
文件大小:296KB
文件格式:ZIP
更新时间:2021-02-16 15:31:28
Python 竹子 安装中 Python:> = 3.8 $ python -m pip install git+https://github.com/jjj999/bamboo.git 用法 详细なドキュメントはを参照してください。以下は简単な実装例です。 from wsgiref . simple_server import make_server from bamboo import App , Endpoint app = App () @ app . route ( "hello" ) class MockEndpoint ( Endpoint ): def do_GET ( self ) -> None : self . send_body ( b"Hello, World!" ) if __name__ == "__main__" : server =
【文件预览】:
bamboo-master
----setup.cfg(317B)
----README.md(1KB)
----test()
--------nas()
--------request()
--------test()
--------api()
--------app()
--------__init__.py(0B)
--------util()
----docs()
--------build.md(562B)
--------usage()
----local.py(836B)
----LICENSE(1KB)
----Pipfile(216B)
----benchmark()
--------http()
----example()
--------README.md(405B)
--------image_traffic()
--------upsidedown()
--------tweets()
----bamboo()
--------nas()
--------base.py(8KB)
--------request()
--------app.py(5KB)
--------api.py(13KB)
--------test.py(4KB)
--------router.py(2KB)
--------endpoint.py(13KB)
--------__init__.py(1014B)
--------location.py(2KB)
--------error.py(4KB)
--------util()
----setup.py(36B)

网友评论