Code Monkey home page Code Monkey logo

clubot's Introduction

安装配置

平台

python2.7

安装

pip install -r dev_requirements.txt

因少量的使用Linux shell命令,所以需要再win下运行需要对代码进行稍微的修改

配置

在settings.py填入bot的帐号和密码,和相应的管理员信息,关闭DEBUG

运行

python clubot.py      # 运行

更新内容

  1. 使用SQLAlchemy重写数据库和逻辑部分
  2. 清除不常用的命令
  3. history命令改为old, 并对其增强
  4. mainloop改为仙子的tornadoMainLoop

更新到新版本

新版本对数据库做了较大的改动, 可以使用update.py脚本导入老数据

欢迎加入[email protected]讨论(gtalk 会出现丢消息的状况, jabber.org更是偶尔的不投递消息,甚至是两三天,所以换到vim-cn.com)

更新

2013-05-24

  • 加入Python shell功能, 可以为每个成员分配一个session来保存语句上下文

2013-05-28

  • 加入HTTPStream支持更快的HTTP请求
  • 通过HTTPStream支持更快的Python shell
  • 当Python shell返回过长时贴到网页上, 防止刷屏

2013-07-17

  • 清除废弃的代码
  • 改用HTTPStream废弃并清楚线程池
  • 更新HTTPStream
  • 废弃-py命令
  • 废弃-trans命令, 使用-tr命令

2013-07-18

  • 不使用 fork 将进程至于后台
  • 不再解析命令行参数

2013-07-30

  • 增加TRACE选项

clubot's People

Contributors

coldnight avatar

Watchers

James Cloos avatar huahu 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.