DeDRM_tools_6.5.4


用于去除kindle购买的电子书中的DRM签名限制,内含支持最新的calibre3的插件,和单独的windows工具
资源截图
代码片段和文件信息
import sys
import Tkinter
import Tkconstants

class ActivityBar(Tkinter.frame):

    def __init__(self master length=300 height=20 barwidth=15 interval=50 bg=‘white‘ fillcolor=‘orchid1‘
                 bd=2 relief=Tkconstants.GROOVE *args **kw):
        Tkinter.frame.__init__(self master bg=bg width=length height=height *args **kw)
        self._master = master
        self._interval = interval
        self._maximum = length
        self._startx = 0
        self._barwidth = barwidth
        self._bardiv = length / barwidth
        if self._bardiv < 10:
            self._bardiv = 10
        stopx = self._startx + self._barwidth
        if stopx > self._maximum:
            stopx = self._maximum
        # self._canv = Tkinter.Canvas(self bg=self[‘bg‘] width=self[‘width‘] height=self[‘height‘]
        #                             highlightthickness=0 relief=‘flat‘ bd=0)
        self._canv = Tkinter.Canvas(self bg=self[‘bg‘] width=self[‘width‘] height=self[‘height‘]
                                    highlightthickness=0 relief=relief bd=bd)
        self._canv.pack(fill=‘both‘ expand=1)
        self._rect = self._canv.create_rectangle(0 0 self._canv.winfo_reqwidth() self._canv.winfo_reqheight() fill=fillcolor width=0)

        self._set()
        self.bind(‘‘ self._update_coords)
        self._running = False

    def _update_coords(self event):
        ‘‘‘Updates the position of the rectangle inside the canvas when the size of
        the widget gets changed.‘‘‘
        # looks like we have to call update_idletasks() twice to make sure
        # to get the results we expect
        self._canv.update_idletasks()
        self._maximum = self._canv.winfo_width()
        self._startx = 0
        self._barwidth = self._maximum / self._bardiv
        if self._barwidth < 2:
            self._barwidth = 2
        stopx = self._startx + self._barwidth
        if stopx > self._maximum:
            stopx = self._maximum
        self._canv.coords(self._rect 0 0 stopx self._canv.winfo_height())
        self._canv.update_idletasks()

    def _set(self):
        if self._startx < 0:
            self._startx = 0
        if self._startx > self._maximum:
            self._startx = self._startx % self._maximum
        stopx = self._startx + self._barwidth
        if stopx > self._maximum:
            stopx = self._maximum
        self._canv.coords(self._rect self._startx 0 stopx self._canv.winfo_height())
        self._canv.update_idletasks()

    def start(self):
        self._running = True
        self.after(self._interval self._step)

    def stop(self):
        self._running = False
        self._set()

    def _step(self):
        if self._running:
            stepsize = self._barwidth / 4
            if stepsize < 2:
                stepsize = 2
            self._startx += stepsize
            self._set()
            self.afte

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件      353970  2017-06-27 06:52  DeDRM_calibre_pluginDeDRM_plugin.zip
     文件        7939  2017-06-20 06:53  DeDRM_calibre_pluginDeDRM_plugin_ReadMe.txt
     文件        5083  2016-07-26 06:44  DeDRM_Macintosh_ApplicationDeDRM ReadMe.rtf
     文件        1822  2017-03-22 09:34  DeDRM_Macintosh_ApplicationDeDRM.appContentsInfo.plist
     文件       33740  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsMacOSdroplet
     文件           8  2016-03-08 07:04  DeDRM_Macintosh_ApplicationDeDRM.appContentsPkgInfo
     文件       33140  2017-06-27 06:38  DeDRM_Macintosh_ApplicationDeDRM.appContentsResources\__init__.py
     文件        3031  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesactivitybar.py
     文件       23070  2016-10-07 17:23  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesadobekey.py
     文件       25907  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesaescbc.py
     文件       70144  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesalfcrypto.dll
     文件       10302  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesalfcrypto.py
     文件       17393  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesalfcrypto_src.zip
     文件       52224  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesalfcrypto64.dll
     文件       16084  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesandroidkindlekey.py
     文件        2572  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesargv_utils.py
     文件        6692  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesaskfolder_ed.py
     文件       49335  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesconfig.py
     文件       31760  2016-09-29 06:46  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesconvert2xml.py
     文件      226618  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM Progress Source.zip
     文件        1540  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM Progress.appContentsInfo.plist
     文件       37896  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM Progress.appContentsMacOSDeDRM Progress
     文件           8  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM Progress.appContentsPkgInfo
     文件      239024  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM Progress.appContentsResourcesDeDRM Progress.icns
     文件         212  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM Progress.appContentsResourcesEnglish.lprojInfoPlist.strings
     文件        6835  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM Progress.appContentsResourcesEnglish.lprojMainMenu.nib
     文件         396  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM Progress.appContentsResourcesscriptsWindow.scpt
     文件      227730  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM.icns
     文件        3780  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM_Adobe Digital Editions Key_Help.htm
     文件        4875  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM_Barnes and Noble Key_Help.htm
     文件        2275  2016-07-26 06:33  DeDRM_Macintosh_ApplicationDeDRM.appContentsResourcesDeDRM_EInk Kindle Serial Number_Help.htm
............此处省略146个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)