dately 3.2.4__tar.gz → 4.7.6__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 (174) hide show
  1. dately-4.7.6/CHANGELOG.md +5 -0
  2. dately-4.7.6/LICENSE +21 -0
  3. dately-4.7.6/MANIFEST.in +15 -0
  4. dately-4.7.6/PKG-INFO +743 -0
  5. dately-4.7.6/README.md +694 -0
  6. {dately-3.2.4/dately → dately-4.7.6}/__init__.py +339 -269
  7. dately-4.7.6/_api.py +83 -0
  8. {dately-3.2.4/dately → dately-4.7.6}/_connect.py +466 -411
  9. {dately-3.2.4/dately → dately-4.7.6}/_datetime_scan.py +1762 -1683
  10. dately-4.7.6/_holiday.py +342 -0
  11. dately-4.7.6/_log.py +48 -0
  12. {dately-3.2.4/dately → dately-4.7.6}/_mskutils.py +152 -123
  13. dately-4.7.6/_proxy.py +88 -0
  14. {dately-3.2.4/dately → dately-4.7.6}/_sysutils.py +252 -207
  15. {dately-3.2.4/dately → dately-4.7.6}/_temporal_scan.py +2603 -2770
  16. dately-4.7.6/_timeutils.py +459 -0
  17. {dately-3.2.4/dately → dately-4.7.6}/_timezone.py +344 -313
  18. dately-4.7.6/_utils.py +133 -0
  19. {dately-3.2.4/dately/dt_nlp → dately-4.7.6/_vendor}/__init__.py +44 -44
  20. dately-4.7.6/_vendor/agent_profile/__init__.py +56 -0
  21. dately-4.7.6/_vendor/agent_profile/scripts/__init__.py +44 -0
  22. dately-4.7.6/_vendor/agent_profile/scripts/user_agent/__init__.py +44 -0
  23. dately-4.7.6/_vendor/agent_profile/scripts/user_agent/generate.py +107 -0
  24. dately-4.7.6/_vendor/agent_profile/user_agent/README.md +37 -0
  25. dately-4.7.6/_vendor/agent_profile/user_agent/__init__.py +49 -0
  26. dately-4.7.6/_vendor/agent_profile/user_agent/browser_versions/__init__.py +42 -0
  27. dately-4.7.6/_vendor/agent_profile/user_agent/browser_versions/chrome.py +97 -0
  28. dately-4.7.6/_vendor/agent_profile/user_agent/browser_versions/edge.py +406 -0
  29. dately-4.7.6/_vendor/agent_profile/user_agent/browser_versions/safari.py +51 -0
  30. dately-4.7.6/_vendor/agent_profile/user_agent/generator.py +230 -0
  31. dately-4.7.6/_vendor/agent_profile/user_agent/headers.py +122 -0
  32. dately-4.7.6/_vendor/agent_profile/user_agent/http_session.py +92 -0
  33. dately-4.7.6/_vendor/agent_profile/user_agent/update_versions.py +115 -0
  34. dately-4.7.6/_vendor/agent_profile/user_agent/version.py +48 -0
  35. dately-4.7.6/_vendor/agent_profile/user_agent/version_sources/__init__.py +42 -0
  36. dately-4.7.6/_vendor/agent_profile/user_agent/version_sources/apple.py +94 -0
  37. dately-4.7.6/_vendor/agent_profile/user_agent/version_sources/chrome.py +79 -0
  38. dately-4.7.6/_vendor/agent_profile/user_agent/version_sources/edge.py +188 -0
  39. dately-4.7.6/_version.py +47 -0
  40. dately-4.7.6/_webutils.py +141 -0
  41. dately-4.7.6/assets/png/dately-endorsed-lockup-dark-1135x409-384dpi.png +0 -0
  42. dately-4.7.6/assets/png/dately-endorsed-lockup-light-1135x409-384dpi.png +0 -0
  43. dately-4.7.6/assets/png/organization/author-lock-up.png +0 -0
  44. dately-4.7.6/assets/png/organization/author-mark.png +0 -0
  45. dately-4.7.6/assets/png/organization/author-wordmark.png +0 -0
  46. {dately-3.2.4/dately → dately-4.7.6}/core.py +785 -721
  47. dately-4.7.6/dately.egg-info/PKG-INFO +743 -0
  48. dately-4.7.6/dately.egg-info/SOURCES.txt +181 -0
  49. dately-4.7.6/dately.egg-info/not-zip-safe +1 -0
  50. dately-4.7.6/dately.egg-info/requires.txt +13 -0
  51. dately-4.7.6/dt_nlp/__init__.py +42 -0
  52. {dately-3.2.4/dately → dately-4.7.6}/dt_nlp/arithmetic.py +1394 -1347
  53. dately-4.7.6/dt_nlp/business_calendar.py +87 -0
  54. dately-4.7.6/dt_nlp/calendar_expressions.py +141 -0
  55. dately-4.7.6/dt_nlp/fiscal_calendar.py +229 -0
  56. dately-4.7.6/dt_nlp/fiscal_expressions.py +84 -0
  57. dately-4.7.6/dt_nlp/lexical_validation/__init__.py +42 -0
  58. {dately-3.2.4/dately → dately-4.7.6}/dt_nlp/lexical_validation/vocabulary_checks.py +113 -121
  59. {dately-3.2.4/dately → dately-4.7.6}/dt_nlp/quantified_time.py +194 -233
  60. {dately-3.2.4/dately → dately-4.7.6}/dt_nlp/relative_time.py +420 -433
  61. dately-4.7.6/dt_nlp/semantic_validation/__init__.py +42 -0
  62. {dately-3.2.4/dately → dately-4.7.6}/dt_nlp/semantic_validation/unit_bounds.py +369 -395
  63. dately-4.7.6/dt_nlp/string_similarity/__init__.py +42 -0
  64. {dately-3.2.4/dately → dately-4.7.6}/dt_nlp/string_similarity/spell_correction.py +950 -893
  65. dately-4.7.6/dt_nlp/syntactic_validation/__init__.py +42 -0
  66. {dately-3.2.4/dately → dately-4.7.6}/dt_nlp/syntactic_validation/structure_validator.py +292 -333
  67. {dately-3.2.4/dately → dately-4.7.6}/dt_nlp/syntactic_validation/temporal_structure_rules.py +546 -613
  68. dately-4.7.6/dt_nlp/temporal_core/__init__.py +42 -0
  69. {dately-3.2.4/dately → dately-4.7.6}/dt_nlp/temporal_core/temporal_units.py +342 -347
  70. {dately-3.2.4/dately → dately-4.7.6}/dt_nlp/temporal_preprocessing.py +1410 -1406
  71. dately-4.7.6/examples/convert_dates.py +232 -0
  72. dately-4.7.6/examples/nlp_parsing.py +97 -0
  73. dately-4.7.6/examples/replace_datestring.py +122 -0
  74. dately-4.7.6/examples/timezone_operations.py +122 -0
  75. dately-4.7.6/files/__init__.py +42 -0
  76. {dately-3.2.4/dately → dately-4.7.6}/files/country_variants.json +292 -292
  77. {dately-3.2.4/dately → dately-4.7.6}/files/holiday.json +933 -933
  78. {dately-3.2.4/dately → dately-4.7.6}/files/timezone_data.json +4177 -4177
  79. dately-4.7.6/mold/__init__.py +42 -0
  80. dately-4.7.6/mold/include/clean_str.h +8 -0
  81. {dately-3.2.4/dately → dately-4.7.6}/mold/include/iso8601T.h +12 -12
  82. dately-4.7.6/mold/include/iso8601Z.h +7 -0
  83. {dately-3.2.4/dately → dately-4.7.6}/mold/include/time_zones.h +21 -21
  84. dately-4.7.6/mold/pyd/__init__.py +42 -0
  85. dately-4.7.6/mold/pyd/cdatetime/__init__.py +42 -0
  86. dately-4.7.6/mold/pyx/Compiled.c +13601 -0
  87. {dately-3.2.4/dately → dately-4.7.6}/mold/pyx/Compiled.pyx +162 -201
  88. dately-4.7.6/mold/pyx/UniversalDateFormatter.c +17780 -0
  89. dately-4.7.6/mold/pyx/UniversalDateFormatter.pyx +179 -0
  90. dately-4.7.6/mold/pyx/clean_str.c +8517 -0
  91. dately-4.7.6/mold/pyx/clean_str.pyx +22 -0
  92. dately-4.7.6/mold/pyx/iso8601T.c +7995 -0
  93. {dately-3.2.4/dately → dately-4.7.6}/mold/pyx/iso8601T.pyx +5 -5
  94. dately-4.7.6/mold/pyx/iso8601Z.c +8659 -0
  95. dately-4.7.6/mold/pyx/iso8601Z.pyx +22 -0
  96. dately-4.7.6/mold/pyx/time_zones.c +7734 -0
  97. {dately-3.2.4/dately → dately-4.7.6}/mold/pyx/time_zones.pyx +38 -41
  98. dately-4.7.6/mold/pyx/whichformat.c +20008 -0
  99. dately-4.7.6/mold/pyx/whichformat.pyx +324 -0
  100. {dately-3.2.4/dately → dately-4.7.6}/mold/src/clean_str_impl.c +37 -35
  101. {dately-3.2.4/dately → dately-4.7.6}/mold/src/iso8601T_impl.c +160 -160
  102. dately-4.7.6/mold/src/iso8601Z_impl.c +23 -0
  103. {dately-3.2.4/dately → dately-4.7.6}/mold/src/time_zones_impl.c +2165 -2165
  104. dately-4.7.6/pyproject.toml +32 -0
  105. dately-4.7.6/release-notes/v4.7.6.md +57 -0
  106. dately-4.7.6/scripts/check_distribution.py +105 -0
  107. dately-4.7.6/scripts/release_checks.py +91 -0
  108. {dately-3.2.4 → dately-4.7.6}/setup.cfg +4 -4
  109. dately-4.7.6/setup.py +153 -0
  110. dately-4.7.6/tests/conftest.py +70 -0
  111. dately-4.7.6/tests/test_business_days.py +171 -0
  112. dately-4.7.6/tests/test_connect.py +148 -0
  113. dately-4.7.6/tests/test_country_business_days.py +146 -0
  114. dately-4.7.6/tests/test_fiscal_calendar.py +267 -0
  115. dately-4.7.6/tests/test_holidays.py +290 -0
  116. dately-4.7.6/tests/test_portability.py +88 -0
  117. dately-4.7.6/tests/test_regressions.py +142 -0
  118. dately-4.7.6/tests/test_release_checks.py +75 -0
  119. dately-3.2.4/MANIFEST.in +0 -1
  120. dately-3.2.4/PKG-INFO +0 -105
  121. dately-3.2.4/README.md +0 -84
  122. dately-3.2.4/dately/__envutils.py +0 -41
  123. dately-3.2.4/dately/__os_config.py +0 -105
  124. dately-3.2.4/dately/__user_agents_config.py +0 -48
  125. dately-3.2.4/dately/_api.py +0 -52
  126. dately-3.2.4/dately/_holiday.py +0 -399
  127. dately-3.2.4/dately/_log.py +0 -14
  128. dately-3.2.4/dately/_proxy.py +0 -43
  129. dately-3.2.4/dately/_timeutils.py +0 -360
  130. dately-3.2.4/dately/_utils.py +0 -103
  131. dately-3.2.4/dately/_version.py +0 -12
  132. dately-3.2.4/dately/_webutils.py +0 -199
  133. dately-3.2.4/dately/dt_nlp/lexical_validation/__init__.py +0 -0
  134. dately-3.2.4/dately/dt_nlp/semantic_validation/__init__.py +0 -0
  135. dately-3.2.4/dately/dt_nlp/string_similarity/__init__.py +0 -0
  136. dately-3.2.4/dately/dt_nlp/syntactic_validation/__init__.py +0 -0
  137. dately-3.2.4/dately/dt_nlp/temporal_core/__init__.py +0 -0
  138. dately-3.2.4/dately/files/__init__.py +0 -0
  139. dately-3.2.4/dately/files/os_versions.json +0 -5
  140. dately-3.2.4/dately/files/user_agents.json +0 -26
  141. dately-3.2.4/dately/mold/__init__.py +0 -0
  142. dately-3.2.4/dately/mold/include/clean_str.h +0 -7
  143. dately-3.2.4/dately/mold/include/iso8601Z.h +0 -6
  144. dately-3.2.4/dately/mold/include/root_dir_search.h +0 -14
  145. dately-3.2.4/dately/mold/pyd/Compiled.cp38-win_amd64.pyd +0 -0
  146. dately-3.2.4/dately/mold/pyd/__init__.py +0 -0
  147. dately-3.2.4/dately/mold/pyd/cdatetime/UniversalDateFormatter.cp38-win_amd64.pyd +0 -0
  148. dately-3.2.4/dately/mold/pyd/cdatetime/__init__.py +0 -0
  149. dately-3.2.4/dately/mold/pyd/cdatetime/iso8601T.cp38-win_amd64.pyd +0 -0
  150. dately-3.2.4/dately/mold/pyd/cdatetime/iso8601Z.cp38-win_amd64.pyd +0 -0
  151. dately-3.2.4/dately/mold/pyd/cdatetime/whichformat.cp38-win_amd64.pyd +0 -0
  152. dately-3.2.4/dately/mold/pyd/clean_str.cp38-win_amd64.pyd +0 -0
  153. dately-3.2.4/dately/mold/pyd/time_zones.cp38-win_amd64.pyd +0 -0
  154. dately-3.2.4/dately/mold/pyx/UniversalDateFormatter.pyx +0 -388
  155. dately-3.2.4/dately/mold/pyx/clean_str.pyx +0 -10
  156. dately-3.2.4/dately/mold/pyx/iso8601Z.pyx +0 -12
  157. dately-3.2.4/dately/mold/pyx/whichformat.pyx +0 -911
  158. dately-3.2.4/dately/mold/src/Compiled.c +0 -13474
  159. dately-3.2.4/dately/mold/src/UniversalDateFormatter.c +0 -15740
  160. dately-3.2.4/dately/mold/src/clean_str.c +0 -6572
  161. dately-3.2.4/dately/mold/src/iso8601T.c +0 -6178
  162. dately-3.2.4/dately/mold/src/iso8601Z.c +0 -6275
  163. dately-3.2.4/dately/mold/src/iso8601Z_impl.c +0 -19
  164. dately-3.2.4/dately/mold/src/root_dir_search_impl.c +0 -53
  165. dately-3.2.4/dately/mold/src/time_zones.c +0 -6234
  166. dately-3.2.4/dately/mold/src/whichformat.c +0 -18038
  167. dately-3.2.4/dately/tests/__init__.py +0 -1
  168. dately-3.2.4/dately/tests/test_parse.py +0 -39
  169. dately-3.2.4/dately.egg-info/PKG-INFO +0 -105
  170. dately-3.2.4/dately.egg-info/SOURCES.txt +0 -85
  171. dately-3.2.4/dately.egg-info/requires.txt +0 -9
  172. dately-3.2.4/setup.py +0 -205
  173. {dately-3.2.4 → dately-4.7.6}/dately.egg-info/dependency_links.txt +0 -0
  174. {dately-3.2.4 → dately-4.7.6}/dately.egg-info/top_level.txt +0 -0
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ See the [dately changelog](https://doydl.studio/pages/open-source/dately/changelog/) for the latest release history.
4
+
5
+ All notable changes follow Keep a Changelog and Python packaging version conventions.
dately-4.7.6/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 DOYDL Technologies
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,15 @@
1
+ include LICENSE
2
+ include README.md
3
+ include CHANGELOG.md
4
+ recursive-include release-notes *.md
5
+ recursive-include mold/include *.h
6
+ recursive-include mold/src *_impl.c
7
+ recursive-include mold/pyx *.pyx
8
+ recursive-include assets *.png
9
+ include files/country_variants.json
10
+ include files/holiday.json
11
+ include files/timezone_data.json
12
+ recursive-include _vendor *.md
13
+ recursive-include examples *.py
14
+ recursive-include tests *.py
15
+ recursive-include scripts *.py