PyArchiveFile 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.
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/PKG-INFO +1 -1
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/PyArchiveFile.egg-info/PKG-INFO +1 -1
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/pyarchivefile.py +41 -4
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/pyproject.toml +1 -1
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/LICENSE +0 -0
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/PyArchiveFile.egg-info/SOURCES.txt +0 -0
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/PyArchiveFile.egg-info/dependency_links.txt +0 -0
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/PyArchiveFile.egg-info/top_level.txt +0 -0
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/PyArchiveFile.egg-info/zip-safe +0 -0
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/README.md +0 -0
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/archivefile.py +0 -0
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/neoarchivefile.py +0 -0
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/setup.cfg +0 -0
- {pyarchivefile-0.20.6 → pyarchivefile-0.20.8}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyArchiveFile
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.8
|
|
4
4
|
Summary: A tar like file format name archivefile.
|
|
5
5
|
Home-page: https://github.com/GameMaker2k/PyArchiveFile
|
|
6
6
|
Download-URL: https://github.com/GameMaker2k/PyArchiveFile/archive/master.tar.gz
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyArchiveFile
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.8
|
|
4
4
|
Summary: A tar like file format name archivefile.
|
|
5
5
|
Home-page: https://github.com/GameMaker2k/PyArchiveFile
|
|
6
6
|
Download-URL: https://github.com/GameMaker2k/PyArchiveFile/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: pyarchivefile.py - Last Update: 9/
|
|
17
|
+
$FileInfo: pyarchivefile.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
|
|
@@ -379,12 +379,12 @@ __file_format_extension__ = __file_format_multi_dict__[__file_format_default__][
|
|
|
379
379
|
__file_format_dict__ = __file_format_multi_dict__[__file_format_default__]
|
|
380
380
|
__project__ = __program_name__
|
|
381
381
|
__project_url__ = "https://github.com/GameMaker2k/PyArchiveFile"
|
|
382
|
-
__version_info__ = (0, 20,
|
|
383
|
-
__version_date_info__ = (2025, 9,
|
|
382
|
+
__version_info__ = (0, 20, 8, "RC 1", 1)
|
|
383
|
+
__version_date_info__ = (2025, 9, 16, "RC 1", 1)
|
|
384
384
|
__version_date__ = str(__version_date_info__[0]) + "." + str(
|
|
385
385
|
__version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2)
|
|
386
386
|
__revision__ = __version_info__[3]
|
|
387
|
-
__revision_id__ = "$Id:
|
|
387
|
+
__revision_id__ = "$Id: a7748608b447590b70022b5ee2ae2f98c891c535 $"
|
|
388
388
|
if(__version_info__[4] is not None):
|
|
389
389
|
__version_date_plusrc__ = __version_date__ + \
|
|
390
390
|
"-" + str(__version_date_info__[4])
|
|
@@ -9203,6 +9203,43 @@ def ListDirListFiles(infiles, dirlistfromtxt=False, compression="auto", compress
|
|
|
9203
9203
|
outarray, seekstart, seekend, skipchecksum, formatspecs, seektoend, verbose, returnfp)
|
|
9204
9204
|
return listarchivefiles
|
|
9205
9205
|
|
|
9206
|
+
"""
|
|
9207
|
+
PyNeoFile compatibility layer
|
|
9208
|
+
"""
|
|
9209
|
+
|
|
9210
|
+
def make_empty_file_pointer_neo(fp, fmttype=None, checksumtype='crc32', formatspecs=None, encoding='UTF-8'):
|
|
9211
|
+
return MakeEmptyFilePointer(fp, fmttype, checksumtype, formatspecs)
|
|
9212
|
+
|
|
9213
|
+
def make_empty_archive_file_pointer_neo(fp, fmttype=None, checksumtype='crc32', formatspecs=None, encoding='UTF-8'):
|
|
9214
|
+
return make_empty_file_pointer_neo(fp, fmttype, checksumtype, formatspecs, encoding)
|
|
9215
|
+
|
|
9216
|
+
def make_empty_file_neo(outfile=None, fmttype=None, checksumtype='crc32', formatspecs=None, encoding='UTF-8', returnfp=False):
|
|
9217
|
+
return MakeEmptyFile(outfile, fmttype, "auto", False, None, checksumtype, formatspecs, returnfp)
|
|
9218
|
+
|
|
9219
|
+
def make_empty_archive_file_neo(outfile=None, fmttype=None, checksumtype='crc32', formatspecs=None, encoding='UTF-8', returnfp=False):
|
|
9220
|
+
return make_empty_file_neo(outfile, fmttype, checksumtype, formatspecs, encoding, returnfp)
|
|
9221
|
+
|
|
9222
|
+
def pack_neo(infiles, outfile=None, formatspecs=None, checksumtypes=["crc32", "crc32", "crc32", "crc32"], encoding="UTF-8", compression="auto", compression_level=None, returnfp=False):
|
|
9223
|
+
return PackArchiveFile(infiles, outfile, False, "auto", compression, False, compression_level, compressionlistalt, False, checksumtypes, [], {}, formatspecs, False, returnfp)
|
|
9224
|
+
|
|
9225
|
+
def archive_to_array_neo(infile, formatspecs=None, listonly=False, skipchecksum=False, uncompress=True, returnfp=False):
|
|
9226
|
+
return ArchiveFileToArray(infile, "auto", 0, 0, listonly, True, uncompress, skipchecksum, formatspecs, False, returnfp)
|
|
9227
|
+
|
|
9228
|
+
def unpack_neo(infile, outdir='.', formatspecs=None, skipchecksum=False, uncompress=True, returnfp=False):
|
|
9229
|
+
return UnPackArchiveFile(infile, outdir, False, 0, 0, skipchecksum, formatspecs, True, True, False, False, returnfp)
|
|
9230
|
+
|
|
9231
|
+
def repack_neo(infile, outfile=None, formatspecs=None, checksumtypes=["crc32", "crc32", "crc32", "crc32"], compression="auto", compression_level=None, returnfp=False):
|
|
9232
|
+
return RePackArchiveFile(infile, outfile, "auto", compression, False, compression_level, compressionlistalt, False, 0, 0, checksumtypes, False, [], {}, formatspecs, False, False, returnfp)
|
|
9233
|
+
|
|
9234
|
+
def archivefilevalidate_neo(infile, formatspecs=None, verbose=False, return_details=False, returnfp=False):
|
|
9235
|
+
return ArchiveFileValidate(infile, "auto", formatspecs, False, verbose, returnfp)
|
|
9236
|
+
|
|
9237
|
+
def archivefilelistfiles_neo(infile, formatspecs=None, advanced=False, include_dirs=True, returnfp=False):
|
|
9238
|
+
return ArchiveFileListFiles(infile, "auto", 0, 0, False, formatspecs, False, True, advanced, returnfp)
|
|
9239
|
+
|
|
9240
|
+
def convert_foreign_to_neo(infile, outfile=None, formatspecs=None, checksumtypes=["crc32", "crc32", "crc32", "crc32"], compression="auto", compression_level=None, returnfp=False):
|
|
9241
|
+
intmp = InFileToArray(infile, 0, 0, False, True, False, formatspecs, False, False)
|
|
9242
|
+
return RePackArchiveFile(intmp, outfile, "auto", compression, False, compression_level, compressionlistalt, False, 0, 0, checksumtypes, False, [], {}, formatspecs, False, False, returnfp)
|
|
9206
9243
|
|
|
9207
9244
|
def download_file_from_ftp_file(url):
|
|
9208
9245
|
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
|