PyNeoFile 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: PyNeoFile
3
- Version: 0.28.6
3
+ Version: 0.28.8
4
4
  Summary: A tar like file format name NeoFile.
5
5
  Home-page: https://github.com/GameMaker2k/PyNeoFile
6
6
  Download-URL: https://github.com/GameMaker2k/PyNeoFile/archive/master.tar.gz
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyNeoFile
3
- Version: 0.28.6
3
+ Version: 0.28.8
4
4
  Summary: A tar like file format name NeoFile.
5
5
  Home-page: https://github.com/GameMaker2k/PyNeoFile
6
6
  Download-URL: https://github.com/GameMaker2k/PyNeoFile/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: neofile.py - Last Update: 2/6/2026 Ver. 0.28.6 RC 1 - Author: cooldude2k $
17
+ $FileInfo: neofile.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: neofile_py3.py - Last Update: 2/6/2026 Ver. 0.28.6 RC 1 - Author: cooldude2k $
16
+ $FileInfo: neofile_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
@@ -660,7 +660,7 @@ __version_date_info__ = (2026, 2, 4, "RC 1", 1)
660
660
  __version_date__ = str(__version_date_info__[0]) + "." + str(
661
661
  __version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2)
662
662
  __revision__ = __version_info__[3]
663
- __revision_id__ = "$Id: f9f29f3eef55ba23ec64619294ff32c18f983074 $"
663
+ __revision_id__ = "$Id: ed47080519c9e00a0ea4932752733f9119fc6aa3 $"
664
664
  if(__version_info__[4] is not None):
665
665
  __version_date_plusrc__ = __version_date__ + \
666
666
  "-" + str(__version_date_info__[4])
@@ -5534,8 +5534,12 @@ def ReadFileDataWithContentToArray(fp, filestart=0, seekstart=0, seekend=0, list
5534
5534
  il = 0
5535
5535
  while(il < seekstart):
5536
5536
  prefhstart = fp.tell()
5537
- preheaderdata = ReadFileHeaderDataBySize(
5538
- fp, formatspecs['format_delimiter'])
5537
+ if(__use_new_style__):
5538
+ preheaderdata = ReadFileHeaderDataBySize(
5539
+ fp, formatspecs['format_delimiter'])
5540
+ else:
5541
+ preheaderdata = ReadFileHeaderDataWoSize(
5542
+ fp, formatspecs['format_delimiter'])
5539
5543
  if(len(preheaderdata) == 0):
5540
5544
  break
5541
5545
  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: pyneofile.py - Last Update: 2/6/2026 Ver. 0.28.6 RC 1 - Author: cooldude2k $
17
+ $FileInfo: pyneofile.py - Last Update: 2/8/2026 Ver. 0.28.8 RC 1 - Author: cooldude2k $
18
18
  '''
19
19
 
20
20
  import io
@@ -693,12 +693,12 @@ __project__ = __program_name__
693
693
  __program_alt_name__ = __program_name__
694
694
  __project_url__ = "https://github.com/GameMaker2k/PyNeoFile"
695
695
  __project_release_url__ = __project_url__+"/releases/latest"
696
- __version_info__ = (0, 28, 6, "RC 1", 1)
697
- __version_date_info__ = (2026, 2, 6, "RC 1", 1)
696
+ __version_info__ = (0, 28, 8, "RC 1", 1)
697
+ __version_date_info__ = (2026, 2, 8, "RC 1", 1)
698
698
  __version_date__ = str(__version_date_info__[0]) + "." + str(
699
699
  __version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2)
700
700
  __revision__ = __version_info__[3]
701
- __revision_id__ = "$Id: 655c540c70da7b862ef557a7cf9ef0515de5b589 $"
701
+ __revision_id__ = "$Id: 4d2bed149b8042ef337deaa3e1614a62b6f4c517 $"
702
702
  if(__version_info__[4] is not None):
703
703
  __version_date_plusrc__ = __version_date__ + \
704
704
  "-" + str(__version_date_info__[4])
@@ -4805,8 +4805,12 @@ def ReadFileDataWithContentToArray(fp, filestart=0, seekstart=0, seekend=0, list
4805
4805
  il = 0
4806
4806
  while(il < seekstart):
4807
4807
  prefhstart = fp.tell()
4808
- preheaderdata = ReadFileHeaderDataBySize(
4809
- fp, formatspecs['format_delimiter'])
4808
+ if(__use_new_style__):
4809
+ preheaderdata = ReadFileHeaderDataBySize(
4810
+ fp, formatspecs['format_delimiter'])
4811
+ else:
4812
+ preheaderdata = ReadFileHeaderDataWoSize(
4813
+ fp, formatspecs['format_delimiter'])
4810
4814
  if(len(preheaderdata) == 0):
4811
4815
  break
4812
4816
  prefsize = int(preheaderdata[5], 16)
@@ -11891,57 +11895,6 @@ if(__use_http_lib__ == "requests" and havehttpx and not haverequests):
11891
11895
  if((__use_http_lib__ == "httpx" or __use_http_lib__ == "requests") and not havehttpx and not haverequests):
11892
11896
  __use_http_lib__ = "urllib"
11893
11897
 
11894
- __program_name__ = "PyNeoWWW-Get"
11895
- __program_alt_name__ = "PyWWWGet"
11896
- __program_small_name__ = "wwwget"
11897
- __project__ = __program_name__
11898
- __project_url__ = "https://github.com/GameMaker2k/PyNeoWWW-Get"
11899
- __version_info__ = (2, 2, 0, "RC 1", 1)
11900
- __version_date_info__ = (2026, 1, 23, "RC 1", 1)
11901
- __version_date__ = str(__version_date_info__[0])+"."+str(__version_date_info__[
11902
- 1]).zfill(2)+"."+str(__version_date_info__[2]).zfill(2)
11903
- __revision__ = __version_info__[3]
11904
- __revision_id__ = "$Id: 655c540c70da7b862ef557a7cf9ef0515de5b589 $"
11905
- if(__version_info__[4] is not None):
11906
- __version_date_plusrc__ = __version_date__ + \
11907
- "-"+str(__version_date_info__[4])
11908
- if(__version_info__[4] is None):
11909
- __version_date_plusrc__ = __version_date__
11910
- if(__version_info__[3] is not None):
11911
- __version__ = str(__version_info__[0])+"."+str(__version_info__[1])+"."+str(
11912
- __version_info__[2])+" "+str(__version_info__[3])
11913
- if(__version_info__[3] is None):
11914
- __version__ = str(
11915
- __version_info__[0])+"."+str(__version_info__[1])+"."+str(__version_info__[2])
11916
-
11917
- PyBitness = platform.architecture()
11918
- if(PyBitness == "32bit" or PyBitness == "32"):
11919
- PyBitness = "32"
11920
- elif(PyBitness == "64bit" or PyBitness == "64"):
11921
- PyBitness = "64"
11922
- else:
11923
- PyBitness = "32"
11924
-
11925
- geturls_cj = cookielib.CookieJar()
11926
- geturls_ua_pywwwget_python = "Mozilla/5.0 (compatible; {proname}/{prover}; +{prourl})".format(
11927
- proname=__project__, prover=__version__, prourl=__project_url__)
11928
- if(platform.python_implementation() != ""):
11929
- py_implementation = platform.python_implementation()
11930
- if(platform.python_implementation() == ""):
11931
- py_implementation = "Python"
11932
- geturls_ua_pywwwget_python_alt = "Mozilla/5.0 ({osver}; {archtype}; +{prourl}) {pyimp}/{pyver} (KHTML, like Gecko) {proname}/{prover}".format(osver=platform.system(
11933
- )+" "+platform.release(), archtype=platform.machine(), prourl=__project_url__, pyimp=py_implementation, pyver=platform.python_version(), proname=__project__, prover=__version__)
11934
- geturls_ua_googlebot_google = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
11935
- geturls_ua_googlebot_google_old = "Googlebot/2.1 (+http://www.google.com/bot.html)"
11936
- 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",
11937
- '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)}
11938
- 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",
11939
- '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)}
11940
- 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",
11941
- '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"}
11942
- 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",
11943
- '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
-
11945
11898
  def fix_header_names(header_dict):
11946
11899
  if(sys.version[0] == "2"):
11947
11900
  header_dict = {k.title(): v for k, v in header_dict.items()}
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "PyNeoFile"
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