PyCatFile 0.20.6__tar.gz → 0.20.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pycatfile-0.20.6 → pycatfile-0.20.8}/PKG-INFO +1 -1
- {pycatfile-0.20.6 → pycatfile-0.20.8}/PyCatFile.egg-info/PKG-INFO +1 -1
- {pycatfile-0.20.6 → pycatfile-0.20.8}/pycatfile.py +41 -4
- {pycatfile-0.20.6 → pycatfile-0.20.8}/pyproject.toml +1 -1
- {pycatfile-0.20.6 → pycatfile-0.20.8}/LICENSE +0 -0
- {pycatfile-0.20.6 → pycatfile-0.20.8}/PyCatFile.egg-info/SOURCES.txt +0 -0
- {pycatfile-0.20.6 → pycatfile-0.20.8}/PyCatFile.egg-info/dependency_links.txt +0 -0
- {pycatfile-0.20.6 → pycatfile-0.20.8}/PyCatFile.egg-info/top_level.txt +0 -0
- {pycatfile-0.20.6 → pycatfile-0.20.8}/PyCatFile.egg-info/zip-safe +0 -0
- {pycatfile-0.20.6 → pycatfile-0.20.8}/README.md +0 -0
- {pycatfile-0.20.6 → pycatfile-0.20.8}/catfile.py +0 -0
- {pycatfile-0.20.6 → pycatfile-0.20.8}/neocatfile.py +0 -0
- {pycatfile-0.20.6 → pycatfile-0.20.8}/setup.cfg +0 -0
- {pycatfile-0.20.6 → pycatfile-0.20.8}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyCatFile
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.8
|
|
4
4
|
Summary: A tar like file format name catfile after unix cat command (concatenate files) .
|
|
5
5
|
Home-page: https://github.com/GameMaker2k/PyCatFile
|
|
6
6
|
Download-URL: https://github.com/GameMaker2k/PyCatFile/archive/master.tar.gz
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyCatFile
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.8
|
|
4
4
|
Summary: A tar like file format name catfile after unix cat command (concatenate files) .
|
|
5
5
|
Home-page: https://github.com/GameMaker2k/PyCatFile
|
|
6
6
|
Download-URL: https://github.com/GameMaker2k/PyCatFile/archive/master.tar.gz
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/
|
|
15
15
|
Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
|
|
16
16
|
|
|
17
|
-
$FileInfo: pycatfile.py - Last Update: 9/
|
|
17
|
+
$FileInfo: pycatfile.py - Last Update: 9/16/2025 Ver. 0.20.8 RC 1 - Author: cooldude2k $
|
|
18
18
|
'''
|
|
19
19
|
|
|
20
20
|
from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes
|
|
@@ -391,12 +391,12 @@ __file_format_extension__ = __file_format_multi_dict__[__file_format_default__][
|
|
|
391
391
|
__file_format_dict__ = __file_format_multi_dict__[__file_format_default__]
|
|
392
392
|
__project__ = __program_name__
|
|
393
393
|
__project_url__ = "https://github.com/GameMaker2k/PyCatFile"
|
|
394
|
-
__version_info__ = (0, 20,
|
|
395
|
-
__version_date_info__ = (2025, 9,
|
|
394
|
+
__version_info__ = (0, 20, 8, "RC 1", 1)
|
|
395
|
+
__version_date_info__ = (2025, 9, 16, "RC 1", 1)
|
|
396
396
|
__version_date__ = str(__version_date_info__[0]) + "." + str(
|
|
397
397
|
__version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2)
|
|
398
398
|
__revision__ = __version_info__[3]
|
|
399
|
-
__revision_id__ = "$Id:
|
|
399
|
+
__revision_id__ = "$Id: a69bd62016afabfda33086a3b227152aaf9e7521 $"
|
|
400
400
|
if(__version_info__[4] is not None):
|
|
401
401
|
__version_date_plusrc__ = __version_date__ + \
|
|
402
402
|
"-" + str(__version_date_info__[4])
|
|
@@ -9215,6 +9215,43 @@ def ListDirListFiles(infiles, dirlistfromtxt=False, compression="auto", compress
|
|
|
9215
9215
|
outarray, seekstart, seekend, skipchecksum, formatspecs, seektoend, verbose, returnfp)
|
|
9216
9216
|
return listarchivefiles
|
|
9217
9217
|
|
|
9218
|
+
"""
|
|
9219
|
+
PyNeoFile compatibility layer
|
|
9220
|
+
"""
|
|
9221
|
+
|
|
9222
|
+
def make_empty_file_pointer_neo(fp, fmttype=None, checksumtype='crc32', formatspecs=None, encoding='UTF-8'):
|
|
9223
|
+
return MakeEmptyFilePointer(fp, fmttype, checksumtype, formatspecs)
|
|
9224
|
+
|
|
9225
|
+
def make_empty_archive_file_pointer_neo(fp, fmttype=None, checksumtype='crc32', formatspecs=None, encoding='UTF-8'):
|
|
9226
|
+
return make_empty_file_pointer_neo(fp, fmttype, checksumtype, formatspecs, encoding)
|
|
9227
|
+
|
|
9228
|
+
def make_empty_file_neo(outfile=None, fmttype=None, checksumtype='crc32', formatspecs=None, encoding='UTF-8', returnfp=False):
|
|
9229
|
+
return MakeEmptyFile(outfile, fmttype, "auto", False, None, checksumtype, formatspecs, returnfp)
|
|
9230
|
+
|
|
9231
|
+
def make_empty_archive_file_neo(outfile=None, fmttype=None, checksumtype='crc32', formatspecs=None, encoding='UTF-8', returnfp=False):
|
|
9232
|
+
return make_empty_file_neo(outfile, fmttype, checksumtype, formatspecs, encoding, returnfp)
|
|
9233
|
+
|
|
9234
|
+
def pack_neo(infiles, outfile=None, formatspecs=None, checksumtypes=["crc32", "crc32", "crc32", "crc32"], encoding="UTF-8", compression="auto", compression_level=None, returnfp=False):
|
|
9235
|
+
return PackCatFile(infiles, outfile, False, "auto", compression, False, compression_level, compressionlistalt, False, checksumtypes, [], {}, formatspecs, False, returnfp)
|
|
9236
|
+
|
|
9237
|
+
def archive_to_array_neo(infile, formatspecs=None, listonly=False, skipchecksum=False, uncompress=True, returnfp=False):
|
|
9238
|
+
return CatFileToArray(infile, "auto", 0, 0, listonly, True, uncompress, skipchecksum, formatspecs, False, returnfp)
|
|
9239
|
+
|
|
9240
|
+
def unpack_neo(infile, outdir='.', formatspecs=None, skipchecksum=False, uncompress=True, returnfp=False):
|
|
9241
|
+
return UnPackCatFile(infile, outdir, False, 0, 0, skipchecksum, formatspecs, True, True, False, False, returnfp)
|
|
9242
|
+
|
|
9243
|
+
def repack_neo(infile, outfile=None, formatspecs=None, checksumtypes=["crc32", "crc32", "crc32", "crc32"], compression="auto", compression_level=None, returnfp=False):
|
|
9244
|
+
return RePackCatFile(infile, outfile, "auto", compression, False, compression_level, compressionlistalt, False, 0, 0, checksumtypes, False, [], {}, formatspecs, False, False, returnfp)
|
|
9245
|
+
|
|
9246
|
+
def archivefilevalidate_neo(infile, formatspecs=None, verbose=False, return_details=False, returnfp=False):
|
|
9247
|
+
return CatFileValidate(infile, "auto", formatspecs, False, verbose, returnfp)
|
|
9248
|
+
|
|
9249
|
+
def archivefilelistfiles_neo(infile, formatspecs=None, advanced=False, include_dirs=True, returnfp=False):
|
|
9250
|
+
return CatFileListFiles(infile, "auto", 0, 0, False, formatspecs, False, True, advanced, returnfp)
|
|
9251
|
+
|
|
9252
|
+
def convert_foreign_to_neo(infile, outfile=None, formatspecs=None, checksumtypes=["crc32", "crc32", "crc32", "crc32"], compression="auto", compression_level=None, returnfp=False):
|
|
9253
|
+
intmp = InFileToArray(infile, 0, 0, False, True, False, formatspecs, False, False)
|
|
9254
|
+
return RePackCatFile(intmp, outfile, "auto", compression, False, compression_level, compressionlistalt, False, 0, 0, checksumtypes, False, [], {}, formatspecs, False, False, returnfp)
|
|
9218
9255
|
|
|
9219
9256
|
def download_file_from_ftp_file(url):
|
|
9220
9257
|
urlparts = urlparse(url)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|