Giter VIP home page Giter VIP logo

meican's Introduction

INTRO

美餐自动订餐,完善了一下 hui-z 的逻辑

运行图

  • 在截止订餐时间前多少分钟自动订餐
  • 如果有快捷订餐则进行快捷订餐,否则选择第一家可定餐厅定餐.
  • 订餐区分配菜和主食(大于企业设定总价十分之六的判定为主食)

运行

  • start.bat :运行
  • gen_startup.bat :加入开机运行

配置

配置在cfg/config.conf目录下

#关闭订餐前多少分开始自动订餐
ahead_min = 10
#周几订餐1-7代表周一到周日
order_week = 1,2,3,4,5
#是否订同事常订的餐 true,false
other_recommend = false
#忽略的菜品关键字
ignore_dish = 韩国泡菜,烧鸭

开发

pip install -r requirements.txt

需知

为了在其他电脑上也可以运行,我把python环镜便携安装到了项目目录重命令为py,python的便携安装很简单,只要在安装时选择Install just for me 就会把dll等依赖也安装在python目录下

build.bat

  • 需先便携化python在本项目重命名为py
  • 依赖7z压缩

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.