pandas-market-calendars 4.4.0__tar.gz → 4.6.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. {pandas_market_calendars-4.4.0/pandas_market_calendars.egg-info → pandas_market_calendars-4.6.0}/PKG-INFO +8 -4
  2. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/README.rst +3 -1
  3. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/__init__.py +2 -1
  4. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendar_registry.py +5 -1
  5. pandas_market_calendars-4.6.0/pandas_market_calendars/calendar_utils.py +1200 -0
  6. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme.py +3 -0
  7. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_agriculture.py +46 -0
  8. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/eurex.py +0 -8
  9. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/hkex.py +3 -0
  10. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/iex.py +43 -4
  11. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/jpx.py +6 -2
  12. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/mirror.py +19 -0
  13. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/nyse.py +154 -12
  14. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/sse.py +1 -1
  15. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/tase.py +24 -1
  16. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/cn.py +21 -0
  17. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/jpx_equinox.py +1 -0
  18. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/nyse.py +5 -0
  19. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/market_calendar.py +185 -23
  20. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0/pandas_market_calendars.egg-info}/PKG-INFO +8 -4
  21. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars.egg-info/SOURCES.txt +5 -1
  22. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars.egg-info/requires.txt +1 -0
  23. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pyproject.toml +4 -3
  24. pandas_market_calendars-4.6.0/tests/test_24_7_calendar.py +25 -0
  25. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_cme_agriculture_calendar.py +0 -1
  26. pandas_market_calendars-4.6.0/tests/test_date_range.py +2042 -0
  27. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_exchange_calendar_cme_globex_crypto.py +1 -1
  28. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_exchange_calendar_cme_globex_equities.py +1 -1
  29. pandas_market_calendars-4.6.0/tests/test_exchange_calendar_cme_globex_grains.py +30 -0
  30. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_iex_calendar.py +6 -0
  31. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_jpx_calendar.py +34 -0
  32. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_market_calendar.py +28 -3
  33. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_nyse_calendar_early_years.py +133 -1
  34. pandas_market_calendars-4.6.0/tests/test_utils.py +270 -0
  35. pandas_market_calendars-4.6.0/tests/test_xtae_calendar.py +53 -0
  36. pandas_market_calendars-4.4.0/pandas_market_calendars/calendar_utils.py +0 -261
  37. pandas_market_calendars-4.4.0/tests/test_utils.py +0 -665
  38. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/LICENSE +0 -0
  39. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/NOTICE +0 -0
  40. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/__init__.py +0 -0
  41. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/asx.py +0 -0
  42. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/bmf.py +0 -0
  43. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/bse.py +0 -0
  44. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cboe.py +0 -0
  45. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_base.py +0 -0
  46. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_crypto.py +0 -0
  47. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_energy_and_metals.py +0 -0
  48. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_equities.py +0 -0
  49. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_fixed_income.py +0 -0
  50. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_fx.py +0 -0
  51. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/eurex_fixed_income.py +0 -0
  52. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/ice.py +0 -0
  53. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/lse.py +0 -0
  54. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/ose.py +0 -0
  55. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/sifma.py +0 -0
  56. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/six.py +0 -0
  57. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/tsx.py +0 -0
  58. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/class_registry.py +0 -0
  59. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/__init__.py +0 -0
  60. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/cme.py +0 -0
  61. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/cme_globex.py +0 -0
  62. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/jp.py +0 -0
  63. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/oz.py +0 -0
  64. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/sifma.py +0 -0
  65. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/uk.py +0 -0
  66. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/us.py +0 -0
  67. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars.egg-info/dependency_links.txt +0 -0
  68. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars.egg-info/top_level.txt +0 -0
  69. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/setup.cfg +0 -0
  70. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_XNYS_calendar.py +0 -0
  71. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_asx_calendar.py +0 -0
  72. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_bmf_calendar.py +0 -0
  73. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_bse_calendar.py +0 -0
  74. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_cboe_calendars.py +0 -0
  75. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_class_registry.py +0 -0
  76. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_cme_bond_calendar.py +0 -0
  77. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_cme_equity_calendar.py +0 -0
  78. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_eurex_calendar.py +0 -0
  79. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_eurex_fixed_income_calendar.py +0 -0
  80. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_exchange_calendar_cme_globex_energy_and_metals.py +0 -0
  81. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_exchange_calendar_cme_globex_fixed_income.py +0 -0
  82. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_exchange_calendar_cme_globex_fx.py +0 -0
  83. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_hkex_calendar.py +0 -0
  84. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_ice_calendar.py +0 -0
  85. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_lse_calendar.py +0 -0
  86. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_nyse_calendar.py +0 -0
  87. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_ose_calendar.py +0 -0
  88. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_sifma_calendars.py +0 -0
  89. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_six_calendar.py +0 -0
  90. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_sse_calendar.py +0 -0
  91. {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_tsx_calendar.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: pandas_market_calendars
3
- Version: 4.4.0
3
+ Version: 4.6.0
4
4
  Summary: Market and exchange trading calendars for pandas
5
5
  Author-email: Ryan Sheftel <rsheftel@alumni.upenn.edu>
6
6
  License: MIT
@@ -18,7 +18,8 @@ Classifier: Programming Language :: Python :: 3.9
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
- Requires-Python: >=3.9
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Requires-Python: >=3.8
22
23
  Description-Content-Type: text/x-rst
23
24
  License-File: LICENSE
24
25
  License-File: NOTICE
@@ -30,6 +31,7 @@ Provides-Extra: dev
30
31
  Requires-Dist: pytest; extra == "dev"
31
32
  Requires-Dist: black; extra == "dev"
32
33
  Requires-Dist: pre-commit; extra == "dev"
34
+ Requires-Dist: build; extra == "dev"
33
35
 
34
36
  pandas_market_calendars
35
37
  =======================
@@ -196,4 +198,6 @@ Sponsor
196
198
  :target: https://www.tradinghours.com/data
197
199
  :alt: TradingHours.com
198
200
 
199
- `TradingHours.com <https://www.tradinghours.com>`_ provides the most accurate and comprehensive coverage of market holidays and trading hours data available. They cover over 900 markets around the world. Their data is continually monitored for changes and updated daily. `Learn more <https://www.tradinghours.com/data>`_
201
+ `TradingHours.com <https://www.tradinghours.com?utm_source=github&utm_medium=sponsor&utm_campaign=panda>`_ provides the most accurate and comprehensive coverage of market holidays and trading hours data available. They cover over 1,100 markets worldwide, with extensive historical data and full coverage of all global trading venues, including the CME, ICE, Eurex, and more.
202
+
203
+ Their data is continuously monitored for changes and updated daily. If there's a market you need that they don't currently cover, they'll add it. For when accurate, reliable data matters most, choose TradingHours.com. `Learn more <https://www.tradinghours.com/data?utm_source=github&utm_medium=sponsor&utm_campaign=panda>`_
@@ -163,4 +163,6 @@ Sponsor
163
163
  :target: https://www.tradinghours.com/data
164
164
  :alt: TradingHours.com
165
165
 
166
- `TradingHours.com <https://www.tradinghours.com>`_ provides the most accurate and comprehensive coverage of market holidays and trading hours data available. They cover over 900 markets around the world. Their data is continually monitored for changes and updated daily. `Learn more <https://www.tradinghours.com/data>`_
166
+ `TradingHours.com <https://www.tradinghours.com?utm_source=github&utm_medium=sponsor&utm_campaign=panda>`_ provides the most accurate and comprehensive coverage of market holidays and trading hours data available. They cover over 1,100 markets worldwide, with extensive historical data and full coverage of all global trading venues, including the CME, ICE, Eurex, and more.
167
+
168
+ Their data is continuously monitored for changes and updated daily. If there's a market you need that they don't currently cover, they'll add it. For when accurate, reliable data matters most, choose TradingHours.com. `Learn more <https://www.tradinghours.com/data?utm_source=github&utm_medium=sponsor&utm_campaign=panda>`_
@@ -17,7 +17,7 @@
17
17
  from importlib import metadata
18
18
 
19
19
  from .calendar_registry import get_calendar, get_calendar_names
20
- from .calendar_utils import convert_freq, date_range, merge_schedules
20
+ from .calendar_utils import convert_freq, date_range, merge_schedules, mark_session
21
21
 
22
22
  # TODO: is the below needed? Can I replace all the imports on the calendars with ".market_calendar"
23
23
  from .market_calendar import MarketCalendar
@@ -34,5 +34,6 @@ __all__ = [
34
34
  "get_calendar_names",
35
35
  "merge_schedules",
36
36
  "date_range",
37
+ "mark_session",
37
38
  "convert_freq",
38
39
  ]
@@ -5,7 +5,11 @@ from .calendars.bse import BSEExchangeCalendar
5
5
  from .calendars.cboe import CFEExchangeCalendar
6
6
  from .calendars.cme import CMEEquityExchangeCalendar, CMEBondExchangeCalendar
7
7
  from .calendars.cme_globex_base import CMEGlobexBaseExchangeCalendar
8
- from .calendars.cme_globex_agriculture import CMEGlobexAgricultureExchangeCalendar
8
+ from .calendars.cme_globex_agriculture import (
9
+ CMEGlobexAgricultureExchangeCalendar,
10
+ CMEGlobexLivestockExchangeCalendar,
11
+ CMEGlobexGrainsAndOilseedsExchangeCalendar,
12
+ )
9
13
  from .calendars.cme_globex_crypto import CMEGlobexCryptoExchangeCalendar
10
14
  from .calendars.cme_globex_energy_and_metals import (
11
15
  CMEGlobexEnergyAndMetalsExchangeCalendar,