没有合适的资源?快使用搜索试试~ 我知道了~
stratis:一个适用于python应用程序的简单Web API构建器。 集成Jinja模板,文件服务器和Websocket
共39个文件
py:12个
js:10个
html:4个
需积分: 10 0 下载量 39 浏览量
2021-04-11
05:59:47
上传
评论
收藏 43KB ZIP 举报
温馨提示
基于Stratis文件的Web服务器和api生成器 一个简单的Web模板引擎,用于快速的api和网站。 非常低的内存和cpu打印,适合docker和kubernetes pod,或者可以与您的应用程序并行运行。 具有Jinja(Python)或EJS(NodeJs)的快速html模板。 命令行服务器启动。 内置REST API。 内置Websocket API。 NodeJS实现(使用 )。 Python实现(使用[sanic]( ))。 实时更新文件内容中的更改。 Α 警告 该项目正在进行结构更改,应谨慎使用。 核心原则 使用文件扩展名来确定Web服务器中每个文件的角色。 提供一个文件夹,并将该文件夹中的所有文件公开给Web请求。 文件扩展名[filename].code.[js or py]表示代码文件。 可配置的文件扩展名代表模板文件。 例如。 .html 文件
资源推荐
资源详情
资源评论
收起资源包目录
stratis-master.zip (39个子文件)
stratis-master
.prettierignore 0B
.gitignore 4KB
README.md 5KB
nodejs
streams.js 2KB
serve.js 4KB
stratis.core.js 4KB
index.js 434B
stratis.js 22KB
stratis.test.js 447B
websocket.js 2KB
.github
workflows
python-publish.yml 1KB
.prettierrc 51B
examples
python
public
index.code.py 221B
index.html 390B
webserver.py 167B
node
public
index.code.js 189B
index.html 484B
webserver.js 473B
Pipfile 232B
package.json 953B
docker
nodejs
test_local 403B
Dockerfile 2KB
entrypoint 251B
experimental
tester
filebase.yaml 0B
public
index.code.py 490B
index.html 575B
macros
scripts_and_style.html 1KB
jsconfig.json 237B
webserver.py 338B
python
setup.cfg 26B
stratis_webservice
templates.py 9KB
filebase_api_client.js 9KB
webservice.py 12KB
__init__.py 230B
templates_test.py 296B
webserver.py 6KB
decorators.py 2KB
helpers.py 18KB
setup.py 916B
共 39 条
- 1
资源评论
MaDaniel
- 粉丝: 53
- 资源: 4573
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功