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.
- {pandas_market_calendars-4.4.0/pandas_market_calendars.egg-info → pandas_market_calendars-4.6.0}/PKG-INFO +8 -4
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/README.rst +3 -1
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/__init__.py +2 -1
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendar_registry.py +5 -1
- pandas_market_calendars-4.6.0/pandas_market_calendars/calendar_utils.py +1200 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme.py +3 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_agriculture.py +46 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/eurex.py +0 -8
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/hkex.py +3 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/iex.py +43 -4
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/jpx.py +6 -2
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/mirror.py +19 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/nyse.py +154 -12
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/sse.py +1 -1
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/tase.py +24 -1
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/cn.py +21 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/jpx_equinox.py +1 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/nyse.py +5 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/market_calendar.py +185 -23
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0/pandas_market_calendars.egg-info}/PKG-INFO +8 -4
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars.egg-info/SOURCES.txt +5 -1
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars.egg-info/requires.txt +1 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pyproject.toml +4 -3
- pandas_market_calendars-4.6.0/tests/test_24_7_calendar.py +25 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_cme_agriculture_calendar.py +0 -1
- pandas_market_calendars-4.6.0/tests/test_date_range.py +2042 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_exchange_calendar_cme_globex_crypto.py +1 -1
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_exchange_calendar_cme_globex_equities.py +1 -1
- pandas_market_calendars-4.6.0/tests/test_exchange_calendar_cme_globex_grains.py +30 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_iex_calendar.py +6 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_jpx_calendar.py +34 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_market_calendar.py +28 -3
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_nyse_calendar_early_years.py +133 -1
- pandas_market_calendars-4.6.0/tests/test_utils.py +270 -0
- pandas_market_calendars-4.6.0/tests/test_xtae_calendar.py +53 -0
- pandas_market_calendars-4.4.0/pandas_market_calendars/calendar_utils.py +0 -261
- pandas_market_calendars-4.4.0/tests/test_utils.py +0 -665
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/LICENSE +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/NOTICE +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/__init__.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/asx.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/bmf.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/bse.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cboe.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_base.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_crypto.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_energy_and_metals.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_equities.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_fixed_income.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/cme_globex_fx.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/eurex_fixed_income.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/ice.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/lse.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/ose.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/sifma.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/six.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/calendars/tsx.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/class_registry.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/__init__.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/cme.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/cme_globex.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/jp.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/oz.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/sifma.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/uk.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/holidays/us.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars.egg-info/dependency_links.txt +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars.egg-info/top_level.txt +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/setup.cfg +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_XNYS_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_asx_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_bmf_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_bse_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_cboe_calendars.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_class_registry.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_cme_bond_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_cme_equity_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_eurex_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_eurex_fixed_income_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_exchange_calendar_cme_globex_energy_and_metals.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_exchange_calendar_cme_globex_fixed_income.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_exchange_calendar_cme_globex_fx.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_hkex_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_ice_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_lse_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_nyse_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_ose_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_sifma_calendars.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_six_calendar.py +0 -0
- {pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/tests/test_sse_calendar.py +0 -0
- {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
|
+
Metadata-Version: 2.2
|
2
2
|
Name: pandas_market_calendars
|
3
|
-
Version: 4.
|
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
|
-
|
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
|
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
|
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>`_
|
{pandas_market_calendars-4.4.0 → pandas_market_calendars-4.6.0}/pandas_market_calendars/__init__.py
RENAMED
@@ -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
|
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,
|