PyFoxFile 0.28.6__tar.gz → 0.28.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyFoxFile
3
- Version: 0.28.6
3
+ Version: 0.28.8
4
4
  Summary: A tar like file format name archivefile.
5
5
  Home-page: https://github.com/GameMaker2k/PyFoxFile
6
6
  Download-URL: https://github.com/GameMaker2k/PyFoxFile/archive/master.tar.gz
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyFoxFile
3
- Version: 0.28.6
3
+ Version: 0.28.8
4
4
  Summary: A tar like file format name archivefile.
5
5
  Home-page: https://github.com/GameMaker2k/PyFoxFile
6
6
  Download-URL: https://github.com/GameMaker2k/PyFoxFile/archive/master.tar.gz
@@ -14,7 +14,7 @@
14
14
  Copyright 2018-2026 Game Maker 2k - http://intdb.sourceforge.net/
15
15
  Copyright 2018-2026 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
16
16
 
17
- $FileInfo: foxfile.py - Last Update: 2/6/2026 Ver. 0.28.6 RC 1 - Author: cooldude2k $
17
+ $FileInfo: foxfile.py - Last Update: 2/8/2026 Ver. 0.28.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
@@ -13,7 +13,7 @@
13
13
  Copyright 2018-2026 Game Maker 2k - http://intdb.sourceforge.net/
14
14
  Copyright 2018-2026 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
15
15
 
16
- $FileInfo: foxfile_py3.py - Last Update: 2/6/2026 Ver. 0.28.6 RC 1 - Author: cooldude2k $
16
+ $FileInfo: foxfile_py3.py - Last Update: 2/8/2026 Ver. 0.28.8 RC 1 - Author: cooldude2k $
17
17
  '''
18
18
 
19
19
  from __future__ import annotations
@@ -667,7 +667,7 @@ __version_date_info__ = (2026, 2, 4, "RC 1", 1)
667
667
  __version_date__ = str(__version_date_info__[0]) + "." + str(
668
668
  __version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2)
669
669
  __revision__ = __version_info__[3]
670
- __revision_id__ = "$Id: b082e8edc464641959b6e7a5ff55998698925505 $"
670
+ __revision_id__ = "$Id: 079d12caf8edd645d9e4505ee2a3c5f6125c79d1 $"
671
671
  if(__version_info__[4] is not None):
672
672
  __version_date_plusrc__ = __version_date__ + \
673
673
  "-" + str(__version_date_info__[4])
@@ -5541,8 +5541,12 @@ def ReadFileDataWithContentToArray(fp, filestart=0, seekstart=0, seekend=0, list
5541
5541
  il = 0
5542
5542
  while(il < seekstart):
5543
5543
  prefhstart = fp.tell()
5544
- preheaderdata = ReadFileHeaderDataBySize(
5545
- fp, formatspecs['format_delimiter'])
5544
+ if(__use_new_style__):
5545
+ preheaderdata = ReadFileHeaderDataBySize(
5546
+ fp, formatspecs['format_delimiter'])
5547
+ else:
5548
+ preheaderdata = ReadFileHeaderDataWoSize(
5549
+ fp, formatspecs['format_delimiter'])
5546
5550
  if(len(preheaderdata) == 0):
5547
5551
  break
5548
5552
  prefsize = int(preheaderdata[5], 16)
@@ -14,7 +14,7 @@
14
14
  Copyright 2018-2026 Game Maker 2k - http://intdb.sourceforge.net/
15
15
  Copyright 2018-2026 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
16
16
 
17
- $FileInfo: pyfoxfile.py - Last Update: 2/6/2026 Ver. 0.28.6 RC 1 - Author: cooldude2k $
17
+ $FileInfo: pyfoxfile.py - Last Update: 2/8/2026 Ver. 0.28.8 RC 1 - Author: cooldude2k $
18
18
  '''
19
19
 
20
20
  import io
@@ -700,12 +700,12 @@ __project__ = __program_name__
700
700
  __program_alt_name__ = __program_name__
701
701
  __project_url__ = "https://github.com/GameMaker2k/PyFoxFile"
702
702
  __project_release_url__ = __project_url__+"/releases/latest"
703
- __version_info__ = (0, 28, 6, "RC 1", 1)
704
- __version_date_info__ = (2026, 2, 6, "RC 1", 1)
703
+ __version_info__ = (0, 28, 8, "RC 1", 1)
704
+ __version_date_info__ = (2026, 2, 8, "RC 1", 1)
705
705
  __version_date__ = str(__version_date_info__[0]) + "." + str(
706
706
  __version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2)
707
707
  __revision__ = __version_info__[3]
708
- __revision_id__ = "$Id: fd8687355220cfaff52606209cb2f722d3ea478d $"
708
+ __revision_id__ = "$Id: 1127d715cdbac336a36d632e89b1fe6b03b64657 $"
709
709
  if(__version_info__[4] is not None):
710
710
  __version_date_plusrc__ = __version_date__ + \
711
711
  "-" + str(__version_date_info__[4])
@@ -4812,8 +4812,12 @@ def ReadFileDataWithContentToArray(fp, filestart=0, seekstart=0, seekend=0, list
4812
4812
  il = 0
4813
4813
  while(il < seekstart):
4814
4814
  prefhstart = fp.tell()
4815
- preheaderdata = ReadFileHeaderDataBySize(
4816
- fp, formatspecs['format_delimiter'])
4815
+ if(__use_new_style__):
4816
+ preheaderdata = ReadFileHeaderDataBySize(
4817
+ fp, formatspecs['format_delimiter'])
4818
+ else:
4819
+ preheaderdata = ReadFileHeaderDataWoSize(
4820
+ fp, formatspecs['format_delimiter'])
4817
4821
  if(len(preheaderdata) == 0):
4818
4822
  break
4819
4823
  prefsize = int(preheaderdata[5], 16)
@@ -11898,57 +11902,6 @@ if(__use_http_lib__ == "requests" and havehttpx and not haverequests):
11898
11902
  if((__use_http_lib__ == "httpx" or __use_http_lib__ == "requests") and not havehttpx and not haverequests):
11899
11903
  __use_http_lib__ = "urllib"
11900
11904
 
11901
- __program_name__ = "PyNeoWWW-Get"
11902
- __program_alt_name__ = "PyWWWGet"
11903
- __program_small_name__ = "wwwget"
11904
- __project__ = __program_name__
11905
- __project_url__ = "https://github.com/GameMaker2k/PyNeoWWW-Get"
11906
- __version_info__ = (2, 2, 0, "RC 1", 1)
11907
- __version_date_info__ = (2026, 1, 23, "RC 1", 1)
11908
- __version_date__ = str(__version_date_info__[0])+"."+str(__version_date_info__[
11909
- 1]).zfill(2)+"."+str(__version_date_info__[2]).zfill(2)
11910
- __revision__ = __version_info__[3]
11911
- __revision_id__ = "$Id: fd8687355220cfaff52606209cb2f722d3ea478d $"
11912
- if(__version_info__[4] is not None):
11913
- __version_date_plusrc__ = __version_date__ + \
11914
- "-"+str(__version_date_info__[4])
11915
- if(__version_info__[4] is None):
11916
- __version_date_plusrc__ = __version_date__
11917
- if(__version_info__[3] is not None):
11918
- __version__ = str(__version_info__[0])+"."+str(__version_info__[1])+"."+str(
11919
- __version_info__[2])+" "+str(__version_info__[3])
11920
- if(__version_info__[3] is None):
11921
- __version__ = str(
11922
- __version_info__[0])+"."+str(__version_info__[1])+"."+str(__version_info__[2])
11923
-
11924
- PyBitness = platform.architecture()
11925
- if(PyBitness == "32bit" or PyBitness == "32"):
11926
- PyBitness = "32"
11927
- elif(PyBitness == "64bit" or PyBitness == "64"):
11928
- PyBitness = "64"
11929
- else:
11930
- PyBitness = "32"
11931
-
11932
- geturls_cj = cookielib.CookieJar()
11933
- geturls_ua_pywwwget_python = "Mozilla/5.0 (compatible; {proname}/{prover}; +{prourl})".format(
11934
- proname=__project__, prover=__version__, prourl=__project_url__)
11935
- if(platform.python_implementation() != ""):
11936
- py_implementation = platform.python_implementation()
11937
- if(platform.python_implementation() == ""):
11938
- py_implementation = "Python"
11939
- geturls_ua_pywwwget_python_alt = "Mozilla/5.0 ({osver}; {archtype}; +{prourl}) {pyimp}/{pyver} (KHTML, like Gecko) {proname}/{prover}".format(osver=platform.system(
11940
- )+" "+platform.release(), archtype=platform.machine(), prourl=__project_url__, pyimp=py_implementation, pyver=platform.python_version(), proname=__project__, prover=__version__)
11941
- geturls_ua_googlebot_google = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
11942
- geturls_ua_googlebot_google_old = "Googlebot/2.1 (+http://www.google.com/bot.html)"
11943
- geturls_headers_pywwwget_python = {'Referer': "http://google.com/", 'User-Agent': geturls_ua_pywwwget_python, 'Accept-Encoding': "none", 'Accept-Language': "en-US,en;q=0.8,en-CA,en-GB;q=0.6", 'Accept-Charset': "ISO-8859-1,ISO-8859-15,utf-8;q=0.7,*;q=0.7", 'Accept': "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", 'Connection': "close",
11944
- 'SEC-CH-UA': "\""+__project__+"\";v=\""+str(__version__)+"\", \"Not;A=Brand\";v=\"8\", \""+py_implementation+"\";v=\""+str(platform.release())+"\"", 'SEC-CH-UA-FULL-VERSION': str(__version__), 'SEC-CH-UA-PLATFORM': ""+py_implementation+"", 'SEC-CH-UA-ARCH': ""+platform.machine()+"", 'SEC-CH-UA-PLATFORM-VERSION': str(__version__), 'SEC-CH-UA-BITNESS': str(PyBitness)}
11945
- geturls_headers_pywwwget_python_alt = {'Referer': "http://google.com/", 'User-Agent': geturls_ua_pywwwget_python_alt, 'Accept-Encoding': "none", 'Accept-Language': "en-US,en;q=0.8,en-CA,en-GB;q=0.6", 'Accept-Charset': "ISO-8859-1,ISO-8859-15,utf-8;q=0.7,*;q=0.7", 'Accept': "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", 'Connection': "close",
11946
- 'SEC-CH-UA': "\""+__project__+"\";v=\""+str(__version__)+"\", \"Not;A=Brand\";v=\"8\", \""+py_implementation+"\";v=\""+str(platform.release())+"\"", 'SEC-CH-UA-FULL-VERSION': str(__version__), 'SEC-CH-UA-PLATFORM': ""+py_implementation+"", 'SEC-CH-UA-ARCH': ""+platform.machine()+"", 'SEC-CH-UA-PLATFORM-VERSION': str(__version__), 'SEC-CH-UA-BITNESS': str(PyBitness)}
11947
- geturls_headers_googlebot_google = {'Referer': "http://google.com/", 'User-Agent': geturls_ua_googlebot_google, 'Accept-Encoding': "none", 'Accept-Language': "en-US,en;q=0.8,en-CA,en-GB;q=0.6",
11948
- 'Accept-Charset': "ISO-8859-1,ISO-8859-15,utf-8;q=0.7,*;q=0.7", 'Accept': "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", 'Connection': "close"}
11949
- geturls_headers_googlebot_google_old = {'Referer': "http://google.com/", 'User-Agent': geturls_ua_googlebot_google_old, 'Accept-Encoding': "none", 'Accept-Language': "en-US,en;q=0.8,en-CA,en-GB;q=0.6",
11950
- 'Accept-Charset': "ISO-8859-1,ISO-8859-15,utf-8;q=0.7,*;q=0.7", 'Accept': "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", 'Connection': "close"}
11951
-
11952
11905
  def fix_header_names(header_dict):
11953
11906
  if(sys.version[0] == "2"):
11954
11907
  header_dict = {k.title(): v for k, v in header_dict.items()}
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "PyFoxFile"
3
- version = "0.28.6"
3
+ version = "0.28.8"
4
4
  readme = "README.md"
5
5
  license = { text = "BSD-3-Clause" }
6
6
  keywords = []
@@ -13,7 +13,7 @@
13
13
  Copyright 2018-2026 Game Maker 2k - http://intdb.sourceforge.net/
14
14
  Copyright 2018-2026 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
15
15
 
16
- $FileInfo: setup.py - Last Update: 2/6/2026 Ver. 0.28.6 RC 1 - Author: cooldude2k $
16
+ $FileInfo: setup.py - Last Update: 2/8/2026 Ver. 0.28.8 RC 1 - Author: cooldude2k $
17
17
  '''
18
18
 
19
19
  import os
File without changes
File without changes
File without changes