Switch license to GPLv3

This commit is contained in:
Kovid Goyal 2008-03-25 21:28:42 +00:00
parent 416f404328
commit d2381c78af
144 changed files with 299 additions and 2036 deletions

View File

@ -1,18 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' Create an OSX installer ''' ''' Create an OSX installer '''
import sys, re, os, shutil, subprocess, stat import sys, re, os, shutil, subprocess, stat

View File

@ -1,19 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Compile resource files. Compile resource files.
''' '''

View File

@ -1,17 +1,7 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net #!/usr/bin/env python
## This program is free software; you can redistribute it and/or modify __license__ = 'GPL v3'
## it under the terms of the GNU General Public License as published by __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import sys, re, os, shutil import sys, re, os, shutil
sys.path.append('src') sys.path.append('src')
islinux = not ('win32' in sys.platform or 'win64' in sys.platform or 'darwin' in sys.platform) islinux = not ('win32' in sys.platform or 'win64' in sys.platform or 'darwin' in sys.platform)
@ -79,19 +69,19 @@ if __name__ == '__main__':
""", """,
long_description = long_description =
""" """
libprs500 is an e-book library manager. It can view, convert and catalog e-books %s is an e-book library manager. It can view, convert and catalog e-books
in most of the major e-book formats. It can also talk to a few e-book reader devices. It can in most of the major e-book formats. It can also talk to a few e-book reader devices. It can
go out to the internet and fetch metadata for your books. It can download newspapers and convert go out to the internet and fetch metadata for your books. It can download newspapers and convert
them into e-books for convenient reading. It is cross platform, running on Linux, Windows and OS X. them into e-books for convenient reading. It is cross platform, running on Linux, Windows and OS X.
For screenshots: https://libprs500.kovidgoyal.net/wiki/Screenshots For screenshots: https://%s.kovidgoyal.net/wiki/Screenshots
For installation/usage instructions please see For installation/usage instructions please see
http://libprs500.kovidgoyal.net http://%s.kovidgoyal.net
For SVN access: svn co https://svn.kovidgoyal.net/code/libprs500 For SVN access: svn co https://svn.kovidgoyal.net/code/%s
""", """%__appname__,
license = 'GPL', license = 'GPL',
classifiers = [ classifiers = [
'Development Status :: 4 - Beta', 'Development Status :: 4 - Beta',
@ -99,7 +89,7 @@ if __name__ == '__main__':
'Environment :: X11 Applications :: Qt', 'Environment :: X11 Applications :: Qt',
'Intended Audience :: Developers', 'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop', 'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License (GPL)', 'License :: OSI Approved :: GNU General Public License (GPL) v3',
'Natural Language :: English', 'Natural Language :: English',
'Operating System :: POSIX :: Linux', 'Operating System :: POSIX :: Linux',
'Programming Language :: Python', 'Programming Language :: Python',

View File

@ -1,21 +1,9 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' E-book management software''' ''' E-book management software'''
__version__ = "0.4.43" __version__ = "0.4.43"
__docformat__ = "epytext" __docformat__ = "epytext"
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>" __author__ = "Kovid Goyal <kovid at kovidgoyal.net>"
__appname__ = 'libprs500' __appname__ = 'libprs500'
import sys, os, logging, mechanize, locale, copy, cStringIO, re, subprocess, \ import sys, os, logging, mechanize, locale, copy, cStringIO, re, subprocess, \

View File

@ -1,19 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Embedded console for debugging. Embedded console for debugging.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Device drivers. Device drivers.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
Defines the errors that the device drivers generate. Defines the errors that the device drivers generate.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
Define the minimum interface that a device backend must satisfy to be used in Define the minimum interface that a device backend must satisfy to be used in
the GUI. A device backend must subclass the L{Device} class. See prs500.py for the GUI. A device backend must subclass the L{Device} class. See prs500.py for

View File

@ -1,14 +1,2 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
''' '''
import re, time, functools import re, time, functools

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Device driver for the Amazon Kindle Device driver for the Amazon Kindle
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
This module provides a thin ctypes based wrapper around libusb. This module provides a thin ctypes based wrapper around libusb.
""" """

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Device driver for the Sony Reader PRS 500 Device driver for the Sony Reader PRS 500

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
This module contains the logic for dealing with XML book lists found This module contains the logic for dealing with XML book lists found
in the reader cache. in the reader cache.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
Provides a command-line interface to the SONY Reader PRS-500. Provides a command-line interface to the SONY Reader PRS-500.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
Provides a command-line and optional graphical interface to the SONY Reader PRS-500. Provides a command-line and optional graphical interface to the SONY Reader PRS-500.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
### End point description for PRS-500 procductId=667 ### End point description for PRS-500 procductId=667
### Endpoint Descriptor: ### Endpoint Descriptor:

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
Defines the structure of packets that are sent to/received from the device. Defines the structure of packets that are sent to/received from the device.

View File

@ -1,14 +1,2 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
''' '''
import re, time, functools import re, time, functools

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Device driver for the SONY PRS-505 Device driver for the SONY PRS-505
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Device scanner that fetches list of devices on system ina platform dependent Device scanner that fetches list of devices on system ina platform dependent
manner. manner.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Code for the conversion of ebook formats and the reading of metadata Code for the conversion of ebook formats and the reading of metadata

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
This package contains logic to read and write LRF files. This package contains logic to read and write LRF files.
The LRF file format is documented at U{http://www.sven.de/librie/Librie/LrfFormat}. The LRF file format is documented at U{http://www.sven.de/librie/Librie/LrfFormat}.

View File

@ -1,14 +1,2 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''Convert any ebook file into a LRF file.''' '''Convert any ebook file into a LRF file.'''
import sys, os, logging, shutil, tempfile, glob import sys, os, logging, shutil, tempfile, glob

View File

@ -1,15 +1,3 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os, sys, shutil, glob, logging import os, sys, shutil, glob, logging
from tempfile import mkdtemp from tempfile import mkdtemp

View File

@ -1,16 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

View File

@ -1,18 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Convert web feeds to LRF files. Convert web feeds to LRF files.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import sys, os import sys, os
from libprs500 import iswindows from libprs500 import iswindows
from libprs500.ptempfile import PersistentTemporaryFile from libprs500.ptempfile import PersistentTemporaryFile

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
This package contains code to convert HTML ebooks to LRF ebooks. This package contains code to convert HTML ebooks to LRF ebooks.
""" """

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import re import re

View File

@ -1,19 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This work is based on htmlbbeb created by esperanc. __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
Code to convert HTML ebooks into LRF ebooks. Code to convert HTML ebooks into LRF ebooks.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import sys, logging, os import sys, logging, os
from libprs500 import setup_cli_handlers, OptionParser from libprs500 import setup_cli_handlers, OptionParser

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import math, sys, re import math, sys, re
from libprs500.ebooks.lrf.fonts import get_font from libprs500.ebooks.lrf.fonts import get_font

View File

@ -1,15 +1,3 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os, sys, shutil, glob, logging import os, sys, shutil, glob, logging
from tempfile import mkdtemp from tempfile import mkdtemp

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''''' ''''''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Compile a LRS file into a LRF file. Compile a LRS file into a LRF file.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
This module presents an easy to use interface for getting and setting This module presents an easy to use interface for getting and setting

View File

@ -1,20 +1,8 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''''' ''''''
import sys, tempfile, os, logging, shutil import sys, tempfile, os, logging, shutil

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import struct, array, zlib, cStringIO, collections, re import struct, array, zlib, cStringIO, collections, re
from libprs500.ebooks.lrf import LRFParseError, PRS500_PROFILE, entity_to_unicode from libprs500.ebooks.lrf import LRFParseError, PRS500_PROFILE, entity_to_unicode

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''''' ''''''
import sys, array, os, re, codecs, logging import sys, array, os, re, codecs, logging

View File

@ -1,14 +1,2 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''''' ''''''
import sys, os, subprocess, logging import sys, os, subprocess, logging

View File

@ -1,17 +1,5 @@
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Convert PDF to a reflowable format using pdftoxml.exe as the PDF parsing backend. Convert PDF to a reflowable format using pdftoxml.exe as the PDF parsing backend.
''' '''

View File

@ -1,14 +1,2 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os, sys, tempfile, subprocess, shutil, logging, glob import os, sys, tempfile, subprocess, shutil, logging, glob
from libprs500.ebooks.lrf import option_parser as lrf_option_parser from libprs500.ebooks.lrf import option_parser as lrf_option_parser

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''''' ''''''
import struct import struct

View File

@ -1,14 +1,2 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
Convert .txt files to .lrf Convert .txt files to .lrf
""" """

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
from libprs500.ebooks.lrf.web.profiles.nytimes import NYTimes from libprs500.ebooks.lrf.web.profiles.nytimes import NYTimes
from libprs500.ebooks.lrf.web.profiles.bbc import BBC from libprs500.ebooks.lrf.web.profiles.bbc import BBC

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''Convert websites into LRF files.''' '''Convert websites into LRF files.'''
import sys, time, tempfile, shutil, os, logging, imp, inspect, re import sys, time, tempfile, shutil, os, logging, imp, inspect, re

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Contains the Base Profiles that can be used to easily create profiles to download Contains the Base Profiles that can be used to easily create profiles to download
particular websites. particular websites.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import re import re
from libprs500.ebooks.lrf.web.profiles import DefaultProfile from libprs500.ebooks.lrf.web.profiles import DefaultProfile
from libprs500.ebooks.BeautifulSoup import BeautifulSoup from libprs500.ebooks.BeautifulSoup import BeautifulSoup

View File

@ -1,18 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os import os
from libprs500.ebooks.lrf.web.profiles import DefaultProfile from libprs500.ebooks.lrf.web.profiles import DefaultProfile

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Fetch the BBC. Fetch the BBC.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Profile to download CNN Profile to download CNN
''' '''

View File

@ -1,19 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## Costomized to Dilbert by S. Dorscht and "Stenis" __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## Version 0.02
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Fetch The Economist. Fetch The Economist.
''' '''

View File

@ -1,20 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## Costomized to FAZ.NET by S. Dorscht stdoonline@googlemail.com __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## Version 0.10
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Profile to download FAZ.net Profile to download FAZ.net
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Profile to download Newsweek Profile to download Newsweek
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Profile to download the New York Times Profile to download the New York Times
''' '''

View File

@ -1,19 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## Costomized to spiegel.de by S. Dorscht stdoonline@googlemail.com __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## Version 0.10
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Fetch Spiegel Online. Fetch Spiegel Online.

View File

@ -1,19 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## Costomized to Die Zeit by S. Dorscht stdoonline@googlemail.com __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## Version 0.08
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Fetch Die Zeit. Fetch Die Zeit.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
Provides metadata editing support for PDF and RTF files. For LRF metadata, use Provides metadata editing support for PDF and RTF files. For LRF metadata, use
the L{lrf.meta} module. the L{lrf.meta} module.

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''Read meta information from epub files''' '''Read meta information from epub files'''
from __future__ import with_statement from __future__ import with_statement

View File

@ -1,20 +1,8 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Try to read metadata from an HTML file. Try to read metadata from an HTML file.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Interface to isbndb.com. My key HLLXQX2A. Interface to isbndb.com. My key HLLXQX2A.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Fetch cover from LibraryThing.com based on ISBN number. Fetch cover from LibraryThing.com based on ISBN number.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Support for reading the metadata from a lit file. Support for reading the metadata from a lit file.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os, re, collections import os, re, collections

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import uuid import uuid
'''Read/Write metadata from Open Packaging Format (.opf) files.''' '''Read/Write metadata from Open Packaging Format (.opf) files.'''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''Read meta information from PDF files''' '''Read meta information from PDF files'''
import sys, os import sys, os

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" """
Edit metadata in RTF files. Edit metadata in RTF files.
""" """

View File

@ -1,18 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os, glob import os, glob
from urlparse import urlparse from urlparse import urlparse
from urllib import unquote from urllib import unquote

View File

@ -1,20 +1,8 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
class MobiError(Exception): class MobiError(Exception):
pass pass

View File

@ -1,20 +1,8 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Decompress MOBI files compressed with the Huff/cdic algorithm. Code thanks to darkninja Decompress MOBI files compressed with the Huff/cdic algorithm. Code thanks to darkninja
and igorsk. and igorsk.

View File

@ -1,20 +1,8 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
COUNT_BITS = 3 COUNT_BITS = 3

View File

@ -1,19 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
Read data from .mobi files Read data from .mobi files
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
""" The GUI """ """ The GUI """
import sys, os, re, StringIO, traceback import sys, os, re, StringIO, traceback
from PyQt4.QtCore import QVariant, QFileInfo, QObject, SIGNAL, QBuffer, \ from PyQt4.QtCore import QVariant, QFileInfo, QObject, SIGNAL, QBuffer, \

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'Warning
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.Warning
import os, traceback import os, traceback
from PyQt4.QtCore import QThread, SIGNAL, QObject from PyQt4.QtCore import QThread, SIGNAL, QObject

View File

@ -1,15 +1,3 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''Various dialogs used in the GUI''' '''Various dialogs used in the GUI'''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
from PyQt4.QtGui import QDialog, QListWidgetItem from PyQt4.QtGui import QDialog, QListWidgetItem

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os import os
from PyQt4.QtGui import QDialog, QMessageBox, QListWidgetItem, QVBoxLayout from PyQt4.QtGui import QDialog, QMessageBox, QListWidgetItem, QVBoxLayout

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
from PyQt4.QtGui import QDialog from PyQt4.QtGui import QDialog
from libprs500.gui2.dialogs.conversion_error_ui import Ui_ConversionErrorDialog from libprs500.gui2.dialogs.conversion_error_ui import Ui_ConversionErrorDialog

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
GUI for fetching metadata from servers. GUI for fetching metadata from servers.
''' '''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''Display active jobs''' '''Display active jobs'''
from PyQt4.QtCore import Qt, QObject, SIGNAL from PyQt4.QtCore import Qt, QObject, SIGNAL

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os, cPickle, codecs import os, cPickle, codecs
from PyQt4.QtCore import QObject, SIGNAL, Qt, QVariant, QByteArray from PyQt4.QtCore import QObject, SIGNAL, Qt, QVariant, QByteArray

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''Dialog to edit metadata in bulk''' '''Dialog to edit metadata in bulk'''

View File

@ -1,17 +1,5 @@
## Copyright (C) 2006 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
''' '''
The dialog used to edit meta information for a book as well as The dialog used to edit meta information for a book as well as
add/remove formats add/remove formats

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
from PyQt4.QtGui import QDialog, QLineEdit from PyQt4.QtGui import QDialog, QLineEdit
from PyQt4.QtCore import QVariant, SIGNAL, Qt from PyQt4.QtCore import QVariant, SIGNAL, Qt

View File

@ -1,17 +1,5 @@
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import re import re
from PyQt4.QtGui import QWidget, QDialog, QVBoxLayout from PyQt4.QtGui import QWidget, QDialog, QVBoxLayout
from PyQt4.QtCore import SIGNAL from PyQt4.QtCore import SIGNAL

View File

@ -1,17 +1,5 @@
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
from PyQt4.QtCore import SIGNAL, Qt from PyQt4.QtCore import SIGNAL, Qt
from PyQt4.QtGui import QDialog, QMessageBox from PyQt4.QtGui import QDialog, QMessageBox

View File

@ -1,17 +1,5 @@
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import time import time
from PyQt4.QtCore import SIGNAL from PyQt4.QtCore import SIGNAL

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import traceback, logging, collections, time import traceback, logging, collections, time
from PyQt4.QtCore import QAbstractTableModel, QMutex, QObject, SIGNAL, Qt, \ from PyQt4.QtCore import QAbstractTableModel, QMutex, QObject, SIGNAL, Qt, \

View File

@ -1,17 +1,5 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os, textwrap, traceback, time, re, sre_constants, urllib, locale import os, textwrap, traceback, time, re, sre_constants, urllib, locale
from datetime import timedelta, datetime from datetime import timedelta, datetime
from operator import attrgetter from operator import attrgetter

View File

@ -1,16 +1,4 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net __license__ = 'GPL v3'
## This program is free software; you can redistribute it and/or modify __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Some files were not shown because too many files have changed in this diff Show More