PyCatFile 0.14.8__tar.gz → 0.14.12__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.14.8 → pycatfile-0.14.12}/PKG-INFO +1 -1
- {pycatfile-0.14.8 → pycatfile-0.14.12}/PyCatFile.egg-info/PKG-INFO +1 -1
- {pycatfile-0.14.8 → pycatfile-0.14.12}/pycatfile.py +18 -16
- {pycatfile-0.14.8 → pycatfile-0.14.12}/LICENSE +0 -0
- {pycatfile-0.14.8 → pycatfile-0.14.12}/PyCatFile.egg-info/SOURCES.txt +0 -0
- {pycatfile-0.14.8 → pycatfile-0.14.12}/PyCatFile.egg-info/dependency_links.txt +0 -0
- {pycatfile-0.14.8 → pycatfile-0.14.12}/PyCatFile.egg-info/top_level.txt +0 -0
- {pycatfile-0.14.8 → pycatfile-0.14.12}/PyCatFile.egg-info/zip-safe +0 -0
- {pycatfile-0.14.8 → pycatfile-0.14.12}/README.md +0 -0
- {pycatfile-0.14.8 → pycatfile-0.14.12}/catfile.py +0 -0
- {pycatfile-0.14.8 → pycatfile-0.14.12}/neocatfile.py +0 -0
- {pycatfile-0.14.8 → pycatfile-0.14.12}/setup.cfg +0 -0
- {pycatfile-0.14.8 → pycatfile-0.14.12}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyCatFile
|
|
3
|
-
Version: 0.14.
|
|
3
|
+
Version: 0.14.12
|
|
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.1
|
|
2
2
|
Name: PyCatFile
|
|
3
|
-
Version: 0.14.
|
|
3
|
+
Version: 0.14.12
|
|
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: 11/
|
|
17
|
+
$FileInfo: pycatfile.py - Last Update: 11/23/2024 Ver. 0.14.12 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
|
|
@@ -240,23 +240,25 @@ if(__use_http_lib__ == "requests" and havehttpx and not haverequests):
|
|
|
240
240
|
if((__use_http_lib__ == "httpx" or __use_http_lib__ == "requests") and not havehttpx and not haverequests):
|
|
241
241
|
__use_http_lib__ = "urllib"
|
|
242
242
|
if os.path.exists(__config_file__) and __use_ini_file__:
|
|
243
|
-
# Create a ConfigParser object
|
|
244
243
|
config = configparser.ConfigParser()
|
|
245
|
-
# Read the configuration file
|
|
246
244
|
config.read(__config_file__)
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
245
|
+
def decode_unicode_escape(value):
|
|
246
|
+
if sys.version_info[0] < 3: # Python 2
|
|
247
|
+
return value.decode('unicode_escape')
|
|
248
|
+
else: # Python 3
|
|
249
|
+
return bytes(value, 'utf-8').decode('unicode_escape')
|
|
250
|
+
__file_format_name__ = config.get('main', 'name')
|
|
251
|
+
__program_name__ = config.get('main', 'proname')
|
|
252
|
+
__file_format_lower__ = config.get('main', 'lower')
|
|
253
|
+
__file_format_magic__ = decode_unicode_escape(config.get('main', 'magic'))
|
|
254
|
+
__file_format_len__ = config.getint('main', 'len')
|
|
255
|
+
__file_format_hex__ = config.get('main', 'hex')
|
|
256
|
+
__file_format_delimiter__ = decode_unicode_escape(config.get('main', 'delimiter'))
|
|
257
|
+
__file_format_ver__ = config.get('main', 'ver')
|
|
256
258
|
__use_new_style__ = config.getboolean('main', 'newstyle')
|
|
257
259
|
__use_advanced_list__ = config.getboolean('main', 'advancedlist')
|
|
258
260
|
__use_alt_inode__ = config.getboolean('main', 'altinode')
|
|
259
|
-
__file_format_extension__ = config
|
|
261
|
+
__file_format_extension__ = config.get('main', 'extension')
|
|
260
262
|
else:
|
|
261
263
|
if not __use_alt_format__:
|
|
262
264
|
# Format Info by Kazuki Przyborowski
|
|
@@ -295,12 +297,12 @@ __file_format_dict__ = {'format_name': __file_format_name__, 'format_magic': __f
|
|
|
295
297
|
'format_delimiter': __file_format_delimiter__, 'format_ver': __file_format_ver__, 'new_style': __use_new_style__, 'use_advanced_list': __use_advanced_list__, 'use_alt_inode': __use_alt_inode__}
|
|
296
298
|
__project__ = __program_name__
|
|
297
299
|
__project_url__ = "https://github.com/GameMaker2k/PyCatFile"
|
|
298
|
-
__version_info__ = (0, 14,
|
|
299
|
-
__version_date_info__ = (2024,
|
|
300
|
+
__version_info__ = (0, 14, 12, "RC 1", 1)
|
|
301
|
+
__version_date_info__ = (2024, 23, 17, "RC 1", 1)
|
|
300
302
|
__version_date__ = str(__version_date_info__[0]) + "." + str(
|
|
301
303
|
__version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2)
|
|
302
304
|
__revision__ = __version_info__[3]
|
|
303
|
-
__revision_id__ = "$Id:
|
|
305
|
+
__revision_id__ = "$Id: 0a122e312a1e0c7ce7e2b9d29d20e6a16b52f9d4 $"
|
|
304
306
|
if(__version_info__[4] is not None):
|
|
305
307
|
__version_date_plusrc__ = __version_date__ + \
|
|
306
308
|
"-" + str(__version_date_info__[4])
|
|
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
|