Giter VIP home page Giter VIP logo

python_chart's Introduction

A chart by Python

使用场景

工作中常常需要通过分析日志,生成图表,直观的应一个系统或应用的状态。Python 处理日志非常方便快捷

工具

Python、MySQL、日志文件、hightcharts

处理流程

分析日志

Python分析日志文件,日志可以是apache、nginx的访问日志,也可以是自定义生成的日志

统计数据入库

将Python分析日志得到的统计数据放到MySQL库中

利用Flask渲染页面

利用Flask框架,生成路由和渲染图表页面

连接MySQL读取数据

图表数据从MySQL库中读取,返回JSON对象,5分钟一条记录

highcharts

利用highcharts生成实时监控数据图表

界面预览

1) 欢迎页

2) 监控页

3)监控页2

python_chart's People

Contributors

guyfar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.