Code Monkey home page Code Monkey logo

chptrans's Introduction

chptrans

功能

  • 弹窗翻译pdf英文论文用的小工具,避免换行符的尴尬,免去打开浏览器的过程,翻译只需三个键,妈妈再也不用担心我看论文原文了:)
  • 使用Bing接口,感谢Bing提供的接口

安装方法

  • 安装前请使用pip安装brotli、pynput、pyautogui以及requests库
python3 setup.py build
python3 setup.py install

用法:

  • 安装好后,在命令行中输入chptrans打开翻译器,复制想翻译的英文(ctrl+c),复制完后按f键翻译(翻译器会将剪切板中的内容翻译为中文)

使用截图

更新日志

  • 2019.5.15 百度接口失效,改用Bing接口。
  • 2019.6.25 Bing接口更新,加入firefox头部和brotli解码。
  • 2019.7.16 Bing接口更新,改用Bing接口V3。
  • 2019.8.4 程序功能更新,直接使用弹窗和按键,操作方便快捷。
  • 2019.8.12 增加对复制文件等异常情况的处理
  • 2019.9.20 换行处部分处理

chptrans's People

Watchers

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