Giter Site home page Giter Site logo

epubconv_python's Introduction

GitHub release GitHub release HitCount

EPubConv_Python EPub簡繁橫直互轉 Refactor

Used python convert epub file from Simplified Chinese to Traditional Chinese on windows
使用 Python 撰寫,epub 檔案繁簡橫直互轉

Download 下載

https://github.com/ThanatosDi/EpubConv_Python/releases

Usage 使用

直接將 epub 檔案拖曳至 epubconv.exe 上即可立即翻譯 epub 檔案

Known Bugs 目前已知問題

Third Party Library 第三方庫

感謝以下作者及團隊,沒有你們這個軟體就不會出現
OpenCC by BYVoid
OpenCC-Python by yichen0831
zhconvert 繁化姬 by Fanhuaji organizations (rexx0520建議)
Google Translate by Google

Notice 注意

本程式使用了繁化姬的 API 服務,如有商業使用(何謂商業使用?)請依照繁化姬說明文件付費使用

贊助我

只要少喝一杯飲料就可以給我大大的鼓勵
QR

感謝贊助 Thank you for Donate

  • 2019/10/24 蕭先生/小姐

epubconv_python's People

Contributors

dependabot[bot] avatar thanatosdi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

epubconv_python's Issues

zhconvert Request error. status code: 429

2022-07-28 02:26:14,367 EPUB INFO : * function: version, * msg: 2.0.5
2022-07-28 02:26:14,368 EPUB INFO : * function: _read_config, * msg: already read config
engine: zhconvert_bata
converter: Traditional
format: Horizontal
loglevel: DEBUG
syslevel: INFO
file_check: True
enable_pause: True
2022-07-28 02:26:14,368 EPUB INFO : * function: convert, * msg: file path: MY PATH
2022-07-28 02:26:14,443 EPUB INFO : * function: convert, * msg: unzip file "EPUB FILE" success and get convert file list
2022-07-28 02:26:14,443 EPUB INFO : * function: _content_lang, * msg: convert language to zh-TW
2022-07-28 02:26:14,452 EPUB INFO : * function: _zhconvert_bata, * msg: async convert content.
2022-07-28 02:26:14,934 EPUB ERROR : * function: convert, * msg: zhconvert Request error. status code: 429
Press any key to continue . . .

Miss cssutils in requirements.txt

In requirements.txt, you should add cssutils.
Then the error shows:

AttributeError: module 'ctypes' has no attribute 'windll'

So, is this project can only run on Windows? What a shame!
You can try to modify it and make GUI with Tkinter.
Also, I'll try to figure out how it works and help you. This is a good project!

能否增加參數設定?

  1. 取消--完成時的按任何鍵
    原因 : 使用命令列執行時,如轉換多檔案 (遍歷資料夾裡的每一檔案),在完成第一個檔案時就會卡住
  2. 可指定輸出資料夾
    原因 : 方便整理 (我個人有沒有轉檔的東西是不會放在一起,不曉得有多少人有這需求)

Add linux binary relase

Hi.
I tried to run it on linux, but didn't get it to work.

A linux binary release will be nice, which can be used on Android too.

This can be inconvenient since pyinstaller cannot cross compile

Bug: 異步轉換並無效能上的改進

目前測試異步轉換與同步轉換兩者轉換方法使用時間皆差不多

此在異步程式碼中可能有錯誤導致無效能上的改進,故需要調查異步程式碼中的 BUG

加入直排功能

Hi, Mr. Ku:

Thanks for your kindness and effort that you develop a nice good program.
Would you consider to add the vertical feature (直排) and it will help me a lots?

It seem that there are some files need to modify to support this feature.
Currently, I only could do it manually.

(1) Modify the *.css under Styles folder and add/modify html for vertical feature
html {
writing-mode: vertical-rl;
-webkit-writing-mode: vertical-rl;
-epub-writing-mode: vertical-rl;
}
(2) Modify the content.opf

(i) update language into zh-TW
dc:languagezh-TW</dc:language>
(ii) add the page-progression-direction="rtl" in the " spine "
"<" spine aaa="xxx" page-progression-direction="rtl" ">"

Have a good day.

Regards,
PoJen

轉換檔案時判斷檔案格式錯誤

ver.2.0.0無法使用,用calibre轉檔也一樣,這檔案在ver.1.0.5.2可以正常轉換。

log 記錄檔如下:
2019-07-27 20:49:25,353 EPUB INFO : * function: _read_config, * msg: read config
2019-07-27 20:49:25,353 EPUB INFO : * function: _read_config encoding, * msg: ASCII
2019-07-27 20:49:25,353 EPUB INFO : * function: _read_config, * msg: already read config
engine: zhconvert
converter: Traditional
format: Horizontal
2019-07-27 20:49:25,353 EPUB INFO : * function: convert, * msg: file path: D:\Program Files\EpubConv 2.0.0\冒险者入门篇[简].epub
2019-07-27 20:49:25,494 EPUB ERROR : * function: convert, * msg: File is not a epub file

Originally posted by @mtis1233 in #8 (comment)

重構 3.0 進度

重構進度嚴重延宕,但我還是會在閒暇時刻盡可能的重構 3.0 程式碼
詳細的進度內容可以查看 project

翻譯錯誤

只、髮 經常翻譯錯誤
這裡有幾個例子 麻煩修正
順便問 如何自訂繁簡轉換的詞彙?

例子:
不是隻有戰鬥用
但是隻過了短短兩年
下場是隻能就讀
其實發色和危險與否並沒有關係
原文:
不是只有战斗用
但是只过了短短两年
下场是只能就读
其实发色和危险与否并没有关系

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.