【文件属性】:
文件名称:python-pusher-traffic-monitor:使用Pusher Channels和Python创建流量监控器
文件大小:15KB
文件格式:ZIP
更新时间:2021-05-10 18:45:58
HTML
使用Python和Pusher构建实时流量监控器
这是一个演示应用程序,显示了如何使用和构建实时网站流量监控器。 您可以在上了解其创建方式。
先决条件
您需要什么东西来安装软件。
吉特
Python。
点子
安装
在计算机上克隆git存储库
$ git clone https://github.com/neoighodaro/python-pusher-traffic-monitor
如果您没有git,也可以将整个存储库下载为zip文件,并在计算机上解压缩。
克隆应用程序后,您需要安装它的依赖项。
$ cd path/to/project
$ python3 -m venv .venv # activate virtual environment (you can use the other command too)
$ source .venv/bin/activate # wi
【文件预览】:
python-pusher-traffic-monitor-master
----.gitignore(37B)
----templates()
--------dashboard.html(8KB)
--------about.html(158B)
--------dashboard-single.html(6KB)
--------index.html(156B)
----dbsetup.py(3KB)
----static()
--------js()
--------css()
----README.md(1KB)
----app.py(4KB)