first commit

This commit is contained in:
kaaduu
2025-08-19 15:00:00 +02:00
parent c55d3d6cee
commit 06685c855a
59 changed files with 10610 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import os
import sys
# Add src to path to import holidays module
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'src'))
import holidays
def test_paths():
print("Current working directory:", os.getcwd())
print("Script directory:", os.path.dirname(__file__))
# Print the HOLIDAYS_FILE constant from holidays module
print(f"HOLIDAYS_FILE constant: {holidays.HOLIDAYS_FILE}")
print(f"File exists: {os.path.exists(holidays.HOLIDAYS_FILE)}")
# Try to load holidays
print("\nTrying to load holidays...")
holidays_data = holidays.load_holidays()
print(f"Loaded holidays data for {len(holidays_data)} years")
if __name__ == "__main__":
test_paths()