xedocs 0.2.36__tar.gz → 0.2.38__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 (91) hide show
  1. {xedocs-0.2.36 → xedocs-0.2.38}/PKG-INFO +6 -7
  2. {xedocs-0.2.36 → xedocs-0.2.38}/pyproject.toml +7 -7
  3. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/__init__.py +1 -1
  4. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/dispatchers.py +2 -2
  5. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/utils.py +3 -2
  6. {xedocs-0.2.36 → xedocs-0.2.38}/AUTHORS.rst +0 -0
  7. {xedocs-0.2.36 → xedocs-0.2.38}/README.rst +0 -0
  8. {xedocs-0.2.36 → xedocs-0.2.38}/tests/__init__.py +0 -0
  9. {xedocs-0.2.36 → xedocs-0.2.38}/tests/test_corrections.py +0 -0
  10. {xedocs-0.2.36 → xedocs-0.2.38}/tests/test_xedocs.py +0 -0
  11. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/_settings.py +0 -0
  12. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/_straxen_plugin.py +0 -0
  13. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/cli.py +0 -0
  14. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/clock.py +0 -0
  15. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/data_locations/__init__.py +0 -0
  16. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/data_locations/api.py +0 -0
  17. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/data_locations/corrections_repo.py +0 -0
  18. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/data_locations/data_folder.py +0 -0
  19. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/data_locations/github.py +0 -0
  20. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/data_locations/mongodb.py +0 -0
  21. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/databases.py +0 -0
  22. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/entrypoints.py +0 -0
  23. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/json_records.py +0 -0
  24. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/regex_dispatcher.py +0 -0
  25. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/__init__.py +0 -0
  26. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/analysis/__init__.py +0 -0
  27. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/analysis/base_analysis.py +0 -0
  28. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/analysis/processing_requests.py +0 -0
  29. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/base_schemas.py +0 -0
  30. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/calibrations/__init__.py +0 -0
  31. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/calibrations/base_calibrations.py +0 -0
  32. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/calibrations/diffused_calibration.py +0 -0
  33. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/calibrations/ibelt_calibrations.py +0 -0
  34. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/calibrations/sources.py +0 -0
  35. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/calibrations/utube_calibrations.py +0 -0
  36. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/constants.py +0 -0
  37. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/context_config.py +0 -0
  38. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/context_lineage.py +0 -0
  39. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/__init__.py +0 -0
  40. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/base_corrections.py +0 -0
  41. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/base_references.py +0 -0
  42. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/__init__.py +0 -0
  43. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/avg_se_gain.py +0 -0
  44. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/baseline_samples_nv.py +0 -0
  45. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/bayes_model.py +0 -0
  46. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/cs2_aft_corrections.py +0 -0
  47. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/electron_diffusion_cte.py +0 -0
  48. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/electron_drift.py +0 -0
  49. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/electron_lifetime.py +0 -0
  50. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/extraction_efficiency.py +0 -0
  51. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/field_distortion.py +0 -0
  52. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/field_simulation.py +0 -0
  53. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/global_versions.py +0 -0
  54. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/hit_thresholds.py +0 -0
  55. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/hotspot_veto_cut.py +0 -0
  56. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/lone_hits.py +0 -0
  57. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/photoionization_strength.py +0 -0
  58. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/pmt_area_to_pe.py +0 -0
  59. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/position_reconstruction.py +0 -0
  60. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/relative_light_yield.py +0 -0
  61. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/s1_aft_xyz.py +0 -0
  62. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/s1_pattern_maps.py +0 -0
  63. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/s1_xyz.py +0 -0
  64. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/s2_pattern_maps.py +0 -0
  65. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/s2_xy.py +0 -0
  66. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/se_gain_partition.py +0 -0
  67. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/se_gains.py +0 -0
  68. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/som_network.py +0 -0
  69. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/test_correction.py +0 -0
  70. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/corrections/implementations/z_bias.py +0 -0
  71. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/detector_numbers.py +0 -0
  72. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/fax.py +0 -0
  73. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/historian_reader.py +0 -0
  74. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/operations_reports/__init__.py +0 -0
  75. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/operations_reports/abnormal_rates.py +0 -0
  76. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/operations_reports/anode_ramp.py +0 -0
  77. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/operations_reports/anode_washing.py +0 -0
  78. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/operations_reports/base_report.py +0 -0
  79. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/operations_reports/detector_operations.py +0 -0
  80. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/operations_reports/hotspot.py +0 -0
  81. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/plugin_lineages.py +0 -0
  82. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/pmt_data/__init__.py +0 -0
  83. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/pmt_data/base_pmt_data.py +0 -0
  84. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/pmt_data/gain_calculation.py +0 -0
  85. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/pmt_data/pmt_installs.py +0 -0
  86. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/pmt_data/pmts.py +0 -0
  87. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/pmt_data/voltage_changes.py +0 -0
  88. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/schemas/pmt_data/voltage_settings.py +0 -0
  89. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/widgets.py +0 -0
  90. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/xedocs.py +0 -0
  91. {xedocs-0.2.36 → xedocs-0.2.38}/xedocs/xenon_config.py +0 -0
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: xedocs
3
- Version: 0.2.36
3
+ Version: 0.2.38
4
4
  Summary: Top-level package for xedocs.
5
5
  Author: Yossi Mosbacher
6
6
  Author-email: joe.mosbacher@gmail.com
7
- Requires-Python: >=3.9,<4.0
7
+ Requires-Python: >=3.9,<3.13
8
8
  Classifier: Development Status :: 2 - Pre-Alpha
9
9
  Classifier: Intended Audience :: Developers
10
10
  Classifier: Natural Language :: English
@@ -13,18 +13,17 @@ Classifier: Programming Language :: Python :: 3.9
13
13
  Classifier: Programming Language :: Python :: 3.10
14
14
  Classifier: Programming Language :: Python :: 3.11
15
15
  Classifier: Programming Language :: Python :: 3.12
16
- Classifier: Programming Language :: Python :: 3.13
17
16
  Provides-Extra: all
18
17
  Provides-Extra: db
19
18
  Requires-Dist: appdirs (>=1.4.4,<2.0.0)
20
19
  Requires-Dist: click
21
- Requires-Dist: parse (>=1.19.1,<2.0.0)
20
+ Requires-Dist: parse (>=1.20.2,<2.0.0)
22
21
  Requires-Dist: pymongo ; extra == "db"
23
22
  Requires-Dist: pyyaml (>=6.0,<7.0)
24
- Requires-Dist: rframe (>=0.2.22,<0.3.0)
23
+ Requires-Dist: rframe (>=0.2.23,<0.3.0)
25
24
  Requires-Dist: rich
26
- Requires-Dist: tinydb (>=4.7.0,<5.0.0)
27
- Requires-Dist: tqdm (>=4.64.1,<5.0.0)
25
+ Requires-Dist: tinydb (>=4.8.2,<5.0.0)
26
+ Requires-Dist: tqdm (>=4.67.1,<5.0.0)
28
27
  Requires-Dist: xeauth (>=0.2.3,<0.3.0)
29
28
  Project-URL: Homepage, https://github.com/XENONnT/xedocs
30
29
  Description-Content-Type: text/x-rst
@@ -1,7 +1,7 @@
1
1
  [tool]
2
2
  [tool.poetry]
3
3
  name = "xedocs"
4
- version = "0.2.36"
4
+ version = "0.2.38"
5
5
  homepage = "https://github.com/XENONnT/xedocs"
6
6
  description = "Top-level package for xedocs."
7
7
  authors = ["Yossi Mosbacher <joe.mosbacher@gmail.com>"]
@@ -20,23 +20,23 @@ packages = [
20
20
  ]
21
21
 
22
22
  [tool.poetry.dependencies]
23
- python = ">=3.9,<4.0"
23
+ python = ">=3.9,<3.13"
24
24
  click = "*"
25
25
  rich = "*"
26
- rframe = "^0.2.22"
26
+ rframe = "^0.2.23"
27
27
  pymongo = {version = "*", optional = true}
28
28
  appdirs = "^1.4.4"
29
- tinydb = "^4.7.0"
30
- tqdm = "^4.64.1"
29
+ tinydb = "^4.8.2"
30
+ tqdm = "^4.67.1"
31
31
  xeauth = "^0.2.3"
32
32
  pyyaml = "^6.0"
33
- parse = "^1.19.1"
33
+ parse = "^1.20.2"
34
34
 
35
35
  [tool.poetry.extras]
36
36
  db = ["pymongo"]
37
37
  all = ["db"]
38
38
 
39
- [tool.poetry.dev-dependencies]
39
+ [tool.poetry.group.dev.dependencies]
40
40
  bumpversion = "*"
41
41
  coverage = "*"
42
42
  flake8 = "*"
@@ -2,7 +2,7 @@
2
2
 
3
3
  __author__ = """Yossi Mosbacher"""
4
4
  __email__ = "joe.mosbacher@gmail.com"
5
- __version__ = "0.2.36"
5
+ __version__ = "0.2.38"
6
6
 
7
7
 
8
8
  import logging
@@ -54,8 +54,8 @@ def read_csv_files(path, **kwargs) -> List[dict]:
54
54
  docs =[]
55
55
 
56
56
  with fsspec.open_files(path, **kwargs) as fs:
57
- kwargs = rframe.utils.filter_kwargs(pd.read_csv, kwargs)
58
- for f in fs:
57
+ kwargs = rframe.utils.filter_kwargs(pd.read_csv, kwargs)
58
+ for f in fs:
59
59
  ds = pd.read_csv(f, **kwargs).to_dict(orient='records')
60
60
  docs.extend(ds)
61
61
  return docs
@@ -134,8 +134,9 @@ class LazyFileAccessor(DataAccessor):
134
134
  def iter_path_records(self, ignore_paths=(), **labels):
135
135
  for path in self.urlpaths:
136
136
  glob_patttern = self.format_to_glob(path)
137
- fs, _, fpaths = fsspec.get_fs_token_paths(glob_patttern,
138
- storage_options=self.storage_options)
137
+ fs, _, fpaths = fsspec.get_fs_token_paths(glob_patttern, storage_options=self.storage_options)
138
+ # force the protocol to be file
139
+ fs.protocol = "file"
139
140
  pattern = path.replace(f"{fs.protocol}://", "")
140
141
  pattern = parse.compile(self.glob_to_format(pattern))
141
142
  loaded = set(ignore_paths)
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
File without changes
File without changes
File without changes
File without changes