/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/utils/ |
H A D | seven_zip.py | 11 def open_archive(path_or_stream, mode='r'): argument 13 return SevenZipFile(path_or_stream, mode=mode) 16 def names(path_or_stream): argument 17 with open_archive(path_or_stream) as zf: 21 def extract_member(path_or_stream, match=None, name=None): argument 33 with open_archive(path_or_stream) as ar: 49 def extract(path_or_stream, location): argument 50 with open_archive(path_or_stream) as f:
|
H A D | unrar.py | 53 def extract(path_or_stream, location): argument 55 with StreamAsPath(path_or_stream) as path: 59 def names(path_or_stream): argument 61 with StreamAsPath(path_or_stream) as path: 65 def comment(path_or_stream): argument 67 with StreamAsPath(path_or_stream) as path: 72 path_or_stream, match=re.compile(r'\.(jpg|jpeg|gif|png)\s*$', re.I), name=None): argument 84 with StreamAsPath(path_or_stream) as path:
|
H A D | localunzip.py | 243 def extractall(path_or_stream, path=None): argument 244 f = path_or_stream
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/mobi/debug/ |
H A D | main.py | 16 def inspect_mobi(path_or_stream, ddir=None): # {{{ argument 17 stream = (path_or_stream if hasattr(path_or_stream, 'read') else 18 open(path_or_stream, 'rb'))
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/docx/ |
H A D | container.py | 91 def __init__(self, path_or_stream, log=None, extract=True): argument 93 stream = path_or_stream if hasattr(path_or_stream, 'read') else open(path_or_stream, 'rb')
|
H A D | to_html.py | 62 …def __init__(self, path_or_stream, dest_dir=None, log=None, detect_cover=True, notes_text=None, no… argument 63 self.docx = DOCX(path_or_stream, log=log)
|
/dports/textproc/py-python-docx/python-docx-0.8.11/docx/parts/ |
H A D | document.py | 106 def save(self, path_or_stream): argument 111 self.package.save(path_or_stream)
|
/dports/textproc/py-python-docx/python-docx-0.8.11/docx/ |
H A D | document.py | 130 def save(self, path_or_stream): argument 135 self._part.save(path_or_stream)
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/mobi/writer2/ |
H A D | main.py | 50 def __call__(self, oeb, path_or_stream): argument 59 if hasattr(path_or_stream, 'write'): 60 return self.dump_stream(oeb, path_or_stream) 61 with open(path_or_stream, 'w+b') as stream:
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/docx/writer/ |
H A D | container.py | 258 def write(self, path_or_stream, mi, create_empty_document=False): argument 261 with ZipFile(path_or_stream, 'w') as zf:
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/db/ |
H A D | cache.py | 84 def run_import_plugins(path_or_stream, fmt): argument 86 if hasattr(path_or_stream, 'seek'): 87 path_or_stream.seek(0) 89 shutil.copyfileobj(path_or_stream, pt, 1024**2) 93 path = path_or_stream
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/conversion/ |
H A D | plumber.py | 1304 def create_oebbook(log, path_or_stream, opts, reader=None, argument 1326 reader()(oeb, path_or_stream)
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/library/ |
H A D | database2.py | 3420 def run_import_plugins(self, path_or_stream, format): argument 3422 if hasattr(path_or_stream, 'seek'): 3423 path_or_stream.seek(0) 3425 shutil.copyfileobj(path_or_stream, pt, 1024**2) 3429 path = path_or_stream
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/is/ |
H A D | db_api.po | 64 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`." 65 …i er lýsigagnahlutur og format_map er orðabók á forminu :code:`{fmt: path_or_stream}`, til dæmis: …
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/it/ |
H A D | db_api.po | 67 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`." 68 …ggetto Metadata e format_map è un dizionario del modulo :code:`{fmt: path_or_stream} `, ad esempio…
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/ru/ |
H A D | db_api.po | 67 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`." 68 … mi - объект метаданных, а format_map - словарь в форме :code:`{fmt: path_or_stream}`, например: :…
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/nl/ |
H A D | db_api.po | 72 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`." 73 …object is en format_map een woordenboek is van de vorm: code: `{fmt: path_or_stream} `, bijvoorbee…
|
/dports/devel/py-anyconfig/anyconfig-0.9.11/docs/ |
H A D | usage.rst | 69 ValueError: path_or_stream or forced_type must be some value
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/tr/ |
H A D | db_api.po | 67 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`." 68 …a ekle. Kitaplar, mi bir Metadata nesnesi ve format_map :code:`{fmt: path_or_stream}` biçiminde bi…
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/sv/ |
H A D | db_api.po | 69 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`." 70 …t metadataobjekt och format_map är en ordbok med formen :code:`{fmt: path_or_stream}`, till exempe…
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/es/ |
H A D | db_api.po | 67 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`." 68 …etadatos y ``format_map`` es un diccionario en la forma :code:`{fmt: path_or_stream}`, por ejemplo…
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/fr/ |
H A D | db_api.po | 67 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`." 68 …étadonnée et format_map est un dictionnaire de la forme :code:`{fmt: path_or_stream}`, par exemple…
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/sl_SI/ |
H A D | db_api.po | 64 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`."
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/id/ |
H A D | db_api.po | 63 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`."
|
/dports/deskutils/calibre/calibre-src-5.34.0/translations/manual/ja/ |
H A D | db_api.po | 63 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`."
|