fundamentals 2.8.1.dev0__tar.gz → 2.8.2__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.
Files changed (59) hide show
  1. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/CHANGES.md +7 -0
  2. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/PKG-INFO +2 -1
  3. fundamentals-2.8.2/fundamentals/__version__.py +1 -0
  4. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/cl_utils.py +8 -1
  5. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/database.py +12 -14
  6. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/pyproject.toml +2 -1
  7. fundamentals-2.8.1.dev0/fundamentals/__version__.py +0 -1
  8. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/CITATION.cff +0 -0
  9. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/LICENSE +0 -0
  10. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/README.md +0 -0
  11. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/__init__.py +0 -0
  12. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/commonutils/__init__.py +0 -0
  13. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/commonutils/getpackagepath.py +0 -0
  14. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/daemonise.py +0 -0
  15. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/docstring_test.py +0 -0
  16. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/download/__init__.py +0 -0
  17. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/download/_dump_files_to_local_drive.py +0 -0
  18. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/download/_fetch.py +0 -0
  19. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/download/append_now_datestamp_to_filename.py +0 -0
  20. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/download/extract_filename_from_url.py +0 -0
  21. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/download/get_now_datetime_filestamp.py +0 -0
  22. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/download/multiobject_download.py +0 -0
  23. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/files/__init__.py +0 -0
  24. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/files/fileChunker.py +0 -0
  25. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/files/list_of_dictionaries_to_mysql_inserts.py +0 -0
  26. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/files/recursive_directory_listing.py +0 -0
  27. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/files/resources/ratings/0.plist +0 -0
  28. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/files/resources/ratings/1.plist +0 -0
  29. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/files/resources/ratings/2.plist +0 -0
  30. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/files/resources/ratings/3.plist +0 -0
  31. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/files/resources/ratings/4.plist +0 -0
  32. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/files/resources/ratings/5.plist +0 -0
  33. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/files/tag.py +0 -0
  34. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/fmultiprocess.py +0 -0
  35. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/logs.py +0 -0
  36. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/__init__.py +0 -0
  37. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/convert_dictionary_to_mysql_table.py +0 -0
  38. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/directory_script_runner.py +0 -0
  39. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/get_database_table_column_names.py +0 -0
  40. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/insert_list_of_dictionaries_into_database_tables.py +0 -0
  41. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/readquery.py +0 -0
  42. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/setup_database_connection.py +0 -0
  43. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/sqlite2mysql.py +0 -0
  44. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/table_exists.py +0 -0
  45. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/writequery.py +0 -0
  46. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/mysql/yaml_to_database.py +0 -0
  47. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/nose2_plugins/__init__.py +0 -0
  48. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/nose2_plugins/cprof.py +0 -0
  49. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/renderer/__init__.py +0 -0
  50. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/renderer/list_of_dictionaries.py +0 -0
  51. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/resources/package.mplstyle +0 -0
  52. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/stats/__init__.py +0 -0
  53. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/stats/rolling_window_sigma_clip.py +0 -0
  54. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/test_settings.yaml +0 -0
  55. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/times.py +0 -0
  56. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/tools.py +0 -0
  57. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals/utKit.py +0 -0
  58. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/fundamentals.egg-info/SOURCES.txt +0 -0
  59. {fundamentals-2.8.1.dev0 → fundamentals-2.8.2}/setup.cfg +0 -0
@@ -1,6 +1,13 @@
1
1
 
2
2
  ## Release Notes
3
3
 
4
+ **v2.8.2 - May 20, 2026**
5
+
6
+ * **FIXED:** fixing readline import issues on windows
7
+
8
+ **v2.8.1 - May 20, 2026**
9
+
10
+ * **FIXED:** adding `tqdm` to the conda requirements
4
11
 
5
12
  **v2.8.0 - May 20, 2026**
6
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fundamentals
3
- Version: 2.8.1.dev0
3
+ Version: 2.8.2
4
4
  Summary: Some fundamental tools required by most self-respecting python-packages bundled in one place. Very opinionated project setup tools including logging, plain-text settings files and database connections.
5
5
  Author-email: David Young <david.young.rse@gmail.com>
6
6
  License-Expression: GPL-3.0-or-later
@@ -22,6 +22,7 @@ Requires-Dist: python-dateutil
22
22
  Requires-Dist: requests
23
23
  Requires-Dist: python-daemon
24
24
  Requires-Dist: tqdm
25
+ Requires-Dist: pyreadline3
25
26
  Provides-Extra: docs
26
27
  Requires-Dist: build; extra == "docs"
27
28
  Requires-Dist: sphinx; extra == "docs"
@@ -0,0 +1 @@
1
+ __version__ = '2.8.2'
@@ -18,7 +18,14 @@ import sys
18
18
  import os
19
19
 
20
20
  os.environ["TERM"] = "vt100"
21
- import readline
21
+ try:
22
+ import readline
23
+ except ImportError:
24
+ # Windows: readline not available in stdlib Optionally use pyreadline3 if installed
25
+ try:
26
+ import pyreadline3 as readline
27
+ except ImportError:
28
+ readline = None # or just pass — basic input() still works
22
29
  import glob
23
30
  import pickle
24
31
  from docopt import docopt
@@ -12,7 +12,14 @@ import sys
12
12
  import os
13
13
 
14
14
  os.environ["TERM"] = "vt100"
15
- import readline
15
+ try:
16
+ import readline
17
+ except ImportError:
18
+ # Windows: readline not available in stdlib Optionally use pyreadline3 if installed
19
+ try:
20
+ import pyreadline3 as readline
21
+ except ImportError:
22
+ readline = None # or just pass — basic input() still works
16
23
  import glob
17
24
  import pickle
18
25
  import time
@@ -166,9 +173,7 @@ class database(object):
166
173
  time.sleep(1)
167
174
  count += 1
168
175
  if count == 5:
169
- self.log.error(
170
- "cound not setup tunnel to remote datbase" % locals()
171
- )
176
+ self.log.error("cound not setup tunnel to remote datbase" % locals())
172
177
  sys.exit(0)
173
178
  return sshPort
174
179
 
@@ -180,20 +185,13 @@ class database(object):
180
185
  import socket
181
186
 
182
187
  s = socket.socket()
183
- self.log.debug(
184
- """Attempting to connect to `%(address)s` on port `%(port)s`""" % locals()
185
- )
188
+ self.log.debug("""Attempting to connect to `%(address)s` on port `%(port)s`""" % locals())
186
189
  try:
187
190
  s.connect((address, port))
188
- self.log.debug(
189
- """Connected to `%(address)s` on port `%(port)s`""" % locals()
190
- )
191
+ self.log.debug("""Connected to `%(address)s` on port `%(port)s`""" % locals())
191
192
  return True
192
193
  except socket.error as e:
193
- self.log.warning(
194
- """Connection to `%(address)s` on port `%(port)s` failed - try again: %(e)s"""
195
- % locals()
196
- )
194
+ self.log.warning("""Connection to `%(address)s` on port `%(port)s` failed - try again: %(e)s""" % locals())
197
195
  return False
198
196
 
199
197
  return None
@@ -28,7 +28,8 @@ dependencies = [
28
28
  'python-dateutil',
29
29
  'requests',
30
30
  'python-daemon',
31
- 'tqdm'
31
+ 'tqdm',
32
+ 'pyreadline3'
32
33
  ]
33
34
 
34
35
  [project.urls]
@@ -1 +0,0 @@
1
- __version__ = '2.8.1.dev0'
File without changes