finance-dates 0.0.0__tar.gz → 0.2.0__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.
- finance_dates-0.2.0/.gitignore +160 -0
- finance_dates-0.2.0/Cargo.lock +458 -0
- finance_dates-0.2.0/Cargo.toml +19 -0
- {finance_dates-0.0.0 → finance_dates-0.2.0}/LICENSE +1 -1
- finance_dates-0.2.0/PKG-INFO +166 -0
- finance_dates-0.2.0/README.md +124 -0
- finance_dates-0.2.0/finance_dates/__init__.py +36 -0
- finance_dates-0.2.0/finance_dates/tests/test_all.py +570 -0
- finance_dates-0.2.0/finance_dates/tests/test_docs.py +25 -0
- finance_dates-0.2.0/pyproject.toml +208 -0
- finance_dates-0.2.0/rust/.config/nextest.toml +2 -0
- finance_dates-0.2.0/rust/Cargo.lock +363 -0
- finance_dates-0.2.0/rust/Cargo.toml +23 -0
- finance_dates-0.2.0/rust/coverage +3461 -0
- finance_dates-0.2.0/rust/python/lib.rs +484 -0
- finance_dates-0.2.0/rust/src/calendar.rs +3651 -0
- finance_dates-0.2.0/rust/src/holiday.rs +239 -0
- finance_dates-0.2.0/rust/src/lib.rs +16 -0
- finance_dates-0.2.0/rust/src/range.rs +136 -0
- finance_dates-0.2.0/rust/src/trading_hours.rs +236 -0
- finance_dates-0.0.0/PKG-INFO +0 -225
- finance_dates-0.0.0/README.md +0 -1
- finance_dates-0.0.0/finance_dates.egg-info/PKG-INFO +0 -225
- finance_dates-0.0.0/finance_dates.egg-info/SOURCES.txt +0 -8
- finance_dates-0.0.0/finance_dates.egg-info/dependency_links.txt +0 -1
- finance_dates-0.0.0/finance_dates.egg-info/top_level.txt +0 -1
- finance_dates-0.0.0/pyproject.toml +0 -29
- finance_dates-0.0.0/setup.cfg +0 -4
- finance_dates-0.0.0/setup.py +0 -1
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.a
|
|
8
|
+
*.o
|
|
9
|
+
*.dSYM
|
|
10
|
+
*.so
|
|
11
|
+
*.obj
|
|
12
|
+
*.dll
|
|
13
|
+
*.exp
|
|
14
|
+
*.lib
|
|
15
|
+
|
|
16
|
+
# Rust
|
|
17
|
+
target
|
|
18
|
+
target-capi
|
|
19
|
+
|
|
20
|
+
# Distribution / packaging
|
|
21
|
+
.Python
|
|
22
|
+
build/
|
|
23
|
+
develop-eggs/
|
|
24
|
+
dist/
|
|
25
|
+
downloads/
|
|
26
|
+
eggs/
|
|
27
|
+
.eggs/
|
|
28
|
+
lib/
|
|
29
|
+
lib64/
|
|
30
|
+
parts/
|
|
31
|
+
sdist/
|
|
32
|
+
var/
|
|
33
|
+
wheels/
|
|
34
|
+
pip-wheel-metadata/
|
|
35
|
+
share/python-wheels/
|
|
36
|
+
*.egg-info/
|
|
37
|
+
.installed.cfg
|
|
38
|
+
*.egg
|
|
39
|
+
MANIFEST
|
|
40
|
+
|
|
41
|
+
# PyInstaller
|
|
42
|
+
*.manifest
|
|
43
|
+
*.spec
|
|
44
|
+
|
|
45
|
+
# Installer logs
|
|
46
|
+
pip-log.txt
|
|
47
|
+
pip-delete-this-directory.txt
|
|
48
|
+
|
|
49
|
+
# Unit test / coverage reports
|
|
50
|
+
htmlcov/
|
|
51
|
+
.tox/
|
|
52
|
+
.nox/
|
|
53
|
+
.coverage
|
|
54
|
+
.coverage.*
|
|
55
|
+
.cache
|
|
56
|
+
nosetests.xml
|
|
57
|
+
coverage.xml
|
|
58
|
+
junit.xml
|
|
59
|
+
*.cover
|
|
60
|
+
*.py,cover
|
|
61
|
+
.hypothesis/
|
|
62
|
+
.pytest_cache/
|
|
63
|
+
|
|
64
|
+
# Django
|
|
65
|
+
*.log
|
|
66
|
+
local_settings.py
|
|
67
|
+
db.sqlite3
|
|
68
|
+
db.sqlite3-journal
|
|
69
|
+
|
|
70
|
+
# IPython
|
|
71
|
+
profile_default/
|
|
72
|
+
ipython_config.py
|
|
73
|
+
|
|
74
|
+
# pyenv
|
|
75
|
+
.python-version
|
|
76
|
+
|
|
77
|
+
# pipenv
|
|
78
|
+
Pipfile.lock
|
|
79
|
+
|
|
80
|
+
# Celery
|
|
81
|
+
celerybeat-schedule
|
|
82
|
+
celerybeat.pid
|
|
83
|
+
|
|
84
|
+
# Airspeed Velocity
|
|
85
|
+
.asv
|
|
86
|
+
|
|
87
|
+
# Environments
|
|
88
|
+
.env
|
|
89
|
+
.venv
|
|
90
|
+
env/
|
|
91
|
+
venv/
|
|
92
|
+
ENV/
|
|
93
|
+
env.bak/
|
|
94
|
+
venv.bak/
|
|
95
|
+
|
|
96
|
+
# Spyder project settings
|
|
97
|
+
.spyderproject
|
|
98
|
+
.spyproject
|
|
99
|
+
|
|
100
|
+
# Rope project settings
|
|
101
|
+
.ropeproject
|
|
102
|
+
|
|
103
|
+
# mkdocs documentation
|
|
104
|
+
/site
|
|
105
|
+
|
|
106
|
+
# mypy
|
|
107
|
+
.mypy_cache/
|
|
108
|
+
.dmypy.json
|
|
109
|
+
dmypy.json
|
|
110
|
+
|
|
111
|
+
# Pyre type checker
|
|
112
|
+
.pyre/
|
|
113
|
+
|
|
114
|
+
# Documentation
|
|
115
|
+
/site
|
|
116
|
+
index.md
|
|
117
|
+
docs/_build/
|
|
118
|
+
docs/api
|
|
119
|
+
docs/html
|
|
120
|
+
docs/index.md
|
|
121
|
+
docs/jupyter_execute
|
|
122
|
+
docs/src/_build/
|
|
123
|
+
docs/superpowers
|
|
124
|
+
index.md
|
|
125
|
+
|
|
126
|
+
# JS
|
|
127
|
+
js/coverage
|
|
128
|
+
js/dist
|
|
129
|
+
js/lib
|
|
130
|
+
js/node_modules
|
|
131
|
+
js/test-results
|
|
132
|
+
js/playwright-report
|
|
133
|
+
js/*.tgz
|
|
134
|
+
|
|
135
|
+
# Jupyter
|
|
136
|
+
.ipynb_checkpoints
|
|
137
|
+
.autoversion
|
|
138
|
+
Untitled*.ipynb
|
|
139
|
+
finance_dates/extension
|
|
140
|
+
finance_dates/nbextension
|
|
141
|
+
finance_dates/labextension
|
|
142
|
+
|
|
143
|
+
# Emscripten SDK (locally installed)
|
|
144
|
+
emsdk
|
|
145
|
+
|
|
146
|
+
# Mac
|
|
147
|
+
.DS_Store
|
|
148
|
+
|
|
149
|
+
# Hydra
|
|
150
|
+
outputs/
|
|
151
|
+
multirun/
|
|
152
|
+
|
|
153
|
+
# AI
|
|
154
|
+
ROADMAP.md
|
|
155
|
+
AGENTS.md
|
|
156
|
+
.github/hooks/sdlc.json
|
|
157
|
+
.superpowers
|
|
158
|
+
|
|
159
|
+
# Fact Sheets
|
|
160
|
+
data
|
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "android_system_properties"
|
|
7
|
+
version = "0.1.5"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"libc",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "autocfg"
|
|
16
|
+
version = "1.5.1"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "bumpalo"
|
|
22
|
+
version = "3.20.3"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "cc"
|
|
28
|
+
version = "1.2.62"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "a1dce859f0832a7d088c4f1119888ab94ef4b5d6795d1ce05afb7fe159d79f98"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"find-msvc-tools",
|
|
33
|
+
"shlex",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[[package]]
|
|
37
|
+
name = "cfg-if"
|
|
38
|
+
version = "1.0.4"
|
|
39
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
40
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
41
|
+
|
|
42
|
+
[[package]]
|
|
43
|
+
name = "chrono"
|
|
44
|
+
version = "0.4.44"
|
|
45
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
46
|
+
checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0"
|
|
47
|
+
dependencies = [
|
|
48
|
+
"iana-time-zone",
|
|
49
|
+
"num-traits",
|
|
50
|
+
"windows-link",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
[[package]]
|
|
54
|
+
name = "chrono-tz"
|
|
55
|
+
version = "0.10.4"
|
|
56
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
57
|
+
checksum = "a6139a8597ed92cf816dfb33f5dd6cf0bb93a6adc938f11039f371bc5bcd26c3"
|
|
58
|
+
dependencies = [
|
|
59
|
+
"chrono",
|
|
60
|
+
"phf",
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
[[package]]
|
|
64
|
+
name = "core-foundation-sys"
|
|
65
|
+
version = "0.8.7"
|
|
66
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
67
|
+
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
|
68
|
+
|
|
69
|
+
[[package]]
|
|
70
|
+
name = "finance-dates"
|
|
71
|
+
version = "0.2.0"
|
|
72
|
+
dependencies = [
|
|
73
|
+
"chrono",
|
|
74
|
+
"chrono-tz",
|
|
75
|
+
"finance_enums",
|
|
76
|
+
"once_cell",
|
|
77
|
+
]
|
|
78
|
+
|
|
79
|
+
[[package]]
|
|
80
|
+
name = "finance_dates_py"
|
|
81
|
+
version = "0.2.0"
|
|
82
|
+
dependencies = [
|
|
83
|
+
"chrono",
|
|
84
|
+
"finance-dates",
|
|
85
|
+
"pyo3",
|
|
86
|
+
]
|
|
87
|
+
|
|
88
|
+
[[package]]
|
|
89
|
+
name = "finance_enums"
|
|
90
|
+
version = "0.5.1"
|
|
91
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
92
|
+
checksum = "b7eceebee450cadf200bbd010361214cdc9813d9e382403d8776f4e5e1ed9276"
|
|
93
|
+
|
|
94
|
+
[[package]]
|
|
95
|
+
name = "find-msvc-tools"
|
|
96
|
+
version = "0.1.9"
|
|
97
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
98
|
+
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
|
|
99
|
+
|
|
100
|
+
[[package]]
|
|
101
|
+
name = "futures-core"
|
|
102
|
+
version = "0.3.32"
|
|
103
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
|
+
checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
|
|
105
|
+
|
|
106
|
+
[[package]]
|
|
107
|
+
name = "futures-task"
|
|
108
|
+
version = "0.3.32"
|
|
109
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
110
|
+
checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393"
|
|
111
|
+
|
|
112
|
+
[[package]]
|
|
113
|
+
name = "futures-util"
|
|
114
|
+
version = "0.3.32"
|
|
115
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
116
|
+
checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
|
|
117
|
+
dependencies = [
|
|
118
|
+
"futures-core",
|
|
119
|
+
"futures-task",
|
|
120
|
+
"pin-project-lite",
|
|
121
|
+
"slab",
|
|
122
|
+
]
|
|
123
|
+
|
|
124
|
+
[[package]]
|
|
125
|
+
name = "heck"
|
|
126
|
+
version = "0.5.0"
|
|
127
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
129
|
+
|
|
130
|
+
[[package]]
|
|
131
|
+
name = "iana-time-zone"
|
|
132
|
+
version = "0.1.65"
|
|
133
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
134
|
+
checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470"
|
|
135
|
+
dependencies = [
|
|
136
|
+
"android_system_properties",
|
|
137
|
+
"core-foundation-sys",
|
|
138
|
+
"iana-time-zone-haiku",
|
|
139
|
+
"js-sys",
|
|
140
|
+
"log",
|
|
141
|
+
"wasm-bindgen",
|
|
142
|
+
"windows-core",
|
|
143
|
+
]
|
|
144
|
+
|
|
145
|
+
[[package]]
|
|
146
|
+
name = "iana-time-zone-haiku"
|
|
147
|
+
version = "0.1.2"
|
|
148
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
149
|
+
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
|
|
150
|
+
dependencies = [
|
|
151
|
+
"cc",
|
|
152
|
+
]
|
|
153
|
+
|
|
154
|
+
[[package]]
|
|
155
|
+
name = "inventory"
|
|
156
|
+
version = "0.3.24"
|
|
157
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
158
|
+
checksum = "a4f0c30c76f2f4ccee3fe55a2435f691ca00c0e4bd87abe4f4a851b1d4dac39b"
|
|
159
|
+
dependencies = [
|
|
160
|
+
"rustversion",
|
|
161
|
+
]
|
|
162
|
+
|
|
163
|
+
[[package]]
|
|
164
|
+
name = "js-sys"
|
|
165
|
+
version = "0.3.99"
|
|
166
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
167
|
+
checksum = "142bc4740e452c1e57ade0cbc129f139c9093e354346f0872ef985f4f5cf5f11"
|
|
168
|
+
dependencies = [
|
|
169
|
+
"cfg-if",
|
|
170
|
+
"futures-util",
|
|
171
|
+
"once_cell",
|
|
172
|
+
"wasm-bindgen",
|
|
173
|
+
]
|
|
174
|
+
|
|
175
|
+
[[package]]
|
|
176
|
+
name = "libc"
|
|
177
|
+
version = "0.2.186"
|
|
178
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
179
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
180
|
+
|
|
181
|
+
[[package]]
|
|
182
|
+
name = "log"
|
|
183
|
+
version = "0.4.30"
|
|
184
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
185
|
+
checksum = "616ec5685824bcc94416c6d4a7a446eea774a31efd7062c8480ba6fd06d7a6e5"
|
|
186
|
+
|
|
187
|
+
[[package]]
|
|
188
|
+
name = "num-traits"
|
|
189
|
+
version = "0.2.19"
|
|
190
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
191
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
192
|
+
dependencies = [
|
|
193
|
+
"autocfg",
|
|
194
|
+
]
|
|
195
|
+
|
|
196
|
+
[[package]]
|
|
197
|
+
name = "once_cell"
|
|
198
|
+
version = "1.21.4"
|
|
199
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
200
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
201
|
+
|
|
202
|
+
[[package]]
|
|
203
|
+
name = "phf"
|
|
204
|
+
version = "0.12.1"
|
|
205
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
+
checksum = "913273894cec178f401a31ec4b656318d95473527be05c0752cc41cdc32be8b7"
|
|
207
|
+
dependencies = [
|
|
208
|
+
"phf_shared",
|
|
209
|
+
]
|
|
210
|
+
|
|
211
|
+
[[package]]
|
|
212
|
+
name = "phf_shared"
|
|
213
|
+
version = "0.12.1"
|
|
214
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
215
|
+
checksum = "06005508882fb681fd97892ecff4b7fd0fee13ef1aa569f8695dae7ab9099981"
|
|
216
|
+
dependencies = [
|
|
217
|
+
"siphasher",
|
|
218
|
+
]
|
|
219
|
+
|
|
220
|
+
[[package]]
|
|
221
|
+
name = "pin-project-lite"
|
|
222
|
+
version = "0.2.17"
|
|
223
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
224
|
+
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
225
|
+
|
|
226
|
+
[[package]]
|
|
227
|
+
name = "portable-atomic"
|
|
228
|
+
version = "1.13.1"
|
|
229
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
230
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
231
|
+
|
|
232
|
+
[[package]]
|
|
233
|
+
name = "proc-macro2"
|
|
234
|
+
version = "1.0.106"
|
|
235
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
236
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
237
|
+
dependencies = [
|
|
238
|
+
"unicode-ident",
|
|
239
|
+
]
|
|
240
|
+
|
|
241
|
+
[[package]]
|
|
242
|
+
name = "pyo3"
|
|
243
|
+
version = "0.28.3"
|
|
244
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
245
|
+
checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
|
|
246
|
+
dependencies = [
|
|
247
|
+
"inventory",
|
|
248
|
+
"libc",
|
|
249
|
+
"once_cell",
|
|
250
|
+
"portable-atomic",
|
|
251
|
+
"pyo3-build-config",
|
|
252
|
+
"pyo3-ffi",
|
|
253
|
+
"pyo3-macros",
|
|
254
|
+
]
|
|
255
|
+
|
|
256
|
+
[[package]]
|
|
257
|
+
name = "pyo3-build-config"
|
|
258
|
+
version = "0.28.3"
|
|
259
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
260
|
+
checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
|
|
261
|
+
dependencies = [
|
|
262
|
+
"target-lexicon",
|
|
263
|
+
]
|
|
264
|
+
|
|
265
|
+
[[package]]
|
|
266
|
+
name = "pyo3-ffi"
|
|
267
|
+
version = "0.28.3"
|
|
268
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
269
|
+
checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
|
|
270
|
+
dependencies = [
|
|
271
|
+
"libc",
|
|
272
|
+
"pyo3-build-config",
|
|
273
|
+
]
|
|
274
|
+
|
|
275
|
+
[[package]]
|
|
276
|
+
name = "pyo3-macros"
|
|
277
|
+
version = "0.28.3"
|
|
278
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
279
|
+
checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
|
|
280
|
+
dependencies = [
|
|
281
|
+
"proc-macro2",
|
|
282
|
+
"pyo3-macros-backend",
|
|
283
|
+
"quote",
|
|
284
|
+
"syn",
|
|
285
|
+
]
|
|
286
|
+
|
|
287
|
+
[[package]]
|
|
288
|
+
name = "pyo3-macros-backend"
|
|
289
|
+
version = "0.28.3"
|
|
290
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
291
|
+
checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
|
|
292
|
+
dependencies = [
|
|
293
|
+
"heck",
|
|
294
|
+
"proc-macro2",
|
|
295
|
+
"pyo3-build-config",
|
|
296
|
+
"quote",
|
|
297
|
+
"syn",
|
|
298
|
+
]
|
|
299
|
+
|
|
300
|
+
[[package]]
|
|
301
|
+
name = "quote"
|
|
302
|
+
version = "1.0.45"
|
|
303
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
304
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
305
|
+
dependencies = [
|
|
306
|
+
"proc-macro2",
|
|
307
|
+
]
|
|
308
|
+
|
|
309
|
+
[[package]]
|
|
310
|
+
name = "rustversion"
|
|
311
|
+
version = "1.0.22"
|
|
312
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
313
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
314
|
+
|
|
315
|
+
[[package]]
|
|
316
|
+
name = "shlex"
|
|
317
|
+
version = "1.3.0"
|
|
318
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
319
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
320
|
+
|
|
321
|
+
[[package]]
|
|
322
|
+
name = "siphasher"
|
|
323
|
+
version = "1.0.3"
|
|
324
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
325
|
+
checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649"
|
|
326
|
+
|
|
327
|
+
[[package]]
|
|
328
|
+
name = "slab"
|
|
329
|
+
version = "0.4.12"
|
|
330
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
331
|
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
332
|
+
|
|
333
|
+
[[package]]
|
|
334
|
+
name = "syn"
|
|
335
|
+
version = "2.0.117"
|
|
336
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
337
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
338
|
+
dependencies = [
|
|
339
|
+
"proc-macro2",
|
|
340
|
+
"quote",
|
|
341
|
+
"unicode-ident",
|
|
342
|
+
]
|
|
343
|
+
|
|
344
|
+
[[package]]
|
|
345
|
+
name = "target-lexicon"
|
|
346
|
+
version = "0.13.5"
|
|
347
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
348
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
349
|
+
|
|
350
|
+
[[package]]
|
|
351
|
+
name = "unicode-ident"
|
|
352
|
+
version = "1.0.24"
|
|
353
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
354
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
355
|
+
|
|
356
|
+
[[package]]
|
|
357
|
+
name = "wasm-bindgen"
|
|
358
|
+
version = "0.2.122"
|
|
359
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
360
|
+
checksum = "3ed04576f974d2b2fba0f38c51dbc5518011e38c36bf1143164be765528fd409"
|
|
361
|
+
dependencies = [
|
|
362
|
+
"cfg-if",
|
|
363
|
+
"once_cell",
|
|
364
|
+
"rustversion",
|
|
365
|
+
"wasm-bindgen-macro",
|
|
366
|
+
"wasm-bindgen-shared",
|
|
367
|
+
]
|
|
368
|
+
|
|
369
|
+
[[package]]
|
|
370
|
+
name = "wasm-bindgen-macro"
|
|
371
|
+
version = "0.2.122"
|
|
372
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
373
|
+
checksum = "916151b09da36bd82f6615cbf3a419e2f0ba23a03c6160e8e92eb6bd4aa1dec6"
|
|
374
|
+
dependencies = [
|
|
375
|
+
"quote",
|
|
376
|
+
"wasm-bindgen-macro-support",
|
|
377
|
+
]
|
|
378
|
+
|
|
379
|
+
[[package]]
|
|
380
|
+
name = "wasm-bindgen-macro-support"
|
|
381
|
+
version = "0.2.122"
|
|
382
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
383
|
+
checksum = "299047362ccbfce148b67ab7e73349f77748e00c8296f9542adfad2ad82c5c5e"
|
|
384
|
+
dependencies = [
|
|
385
|
+
"bumpalo",
|
|
386
|
+
"proc-macro2",
|
|
387
|
+
"quote",
|
|
388
|
+
"syn",
|
|
389
|
+
"wasm-bindgen-shared",
|
|
390
|
+
]
|
|
391
|
+
|
|
392
|
+
[[package]]
|
|
393
|
+
name = "wasm-bindgen-shared"
|
|
394
|
+
version = "0.2.122"
|
|
395
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
396
|
+
checksum = "9a929b2c61f11ba3e9bc35b50c1f25cb38e0e892c0c231ae2b8cf78d5dad4437"
|
|
397
|
+
dependencies = [
|
|
398
|
+
"unicode-ident",
|
|
399
|
+
]
|
|
400
|
+
|
|
401
|
+
[[package]]
|
|
402
|
+
name = "windows-core"
|
|
403
|
+
version = "0.62.2"
|
|
404
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
405
|
+
checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
|
|
406
|
+
dependencies = [
|
|
407
|
+
"windows-implement",
|
|
408
|
+
"windows-interface",
|
|
409
|
+
"windows-link",
|
|
410
|
+
"windows-result",
|
|
411
|
+
"windows-strings",
|
|
412
|
+
]
|
|
413
|
+
|
|
414
|
+
[[package]]
|
|
415
|
+
name = "windows-implement"
|
|
416
|
+
version = "0.60.2"
|
|
417
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
418
|
+
checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
|
|
419
|
+
dependencies = [
|
|
420
|
+
"proc-macro2",
|
|
421
|
+
"quote",
|
|
422
|
+
"syn",
|
|
423
|
+
]
|
|
424
|
+
|
|
425
|
+
[[package]]
|
|
426
|
+
name = "windows-interface"
|
|
427
|
+
version = "0.59.3"
|
|
428
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
429
|
+
checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
|
|
430
|
+
dependencies = [
|
|
431
|
+
"proc-macro2",
|
|
432
|
+
"quote",
|
|
433
|
+
"syn",
|
|
434
|
+
]
|
|
435
|
+
|
|
436
|
+
[[package]]
|
|
437
|
+
name = "windows-link"
|
|
438
|
+
version = "0.2.1"
|
|
439
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
440
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
441
|
+
|
|
442
|
+
[[package]]
|
|
443
|
+
name = "windows-result"
|
|
444
|
+
version = "0.4.1"
|
|
445
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
446
|
+
checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
|
|
447
|
+
dependencies = [
|
|
448
|
+
"windows-link",
|
|
449
|
+
]
|
|
450
|
+
|
|
451
|
+
[[package]]
|
|
452
|
+
name = "windows-strings"
|
|
453
|
+
version = "0.5.1"
|
|
454
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
455
|
+
checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
|
|
456
|
+
dependencies = [
|
|
457
|
+
"windows-link",
|
|
458
|
+
]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "finance_dates_py"
|
|
3
|
+
version = "0.2.0"
|
|
4
|
+
edition = "2021"
|
|
5
|
+
publish = false
|
|
6
|
+
|
|
7
|
+
[lib]
|
|
8
|
+
name = "finance_dates"
|
|
9
|
+
path = "rust/python/lib.rs"
|
|
10
|
+
crate-type = ["cdylib"]
|
|
11
|
+
|
|
12
|
+
[dependencies]
|
|
13
|
+
finance-dates = { path = "./rust", version = "*" }
|
|
14
|
+
pyo3 = { version = "0.28.2", features = ["abi3", "abi3-py310", "extension-module", "multiple-pymethods"] }
|
|
15
|
+
chrono = { version = "0.4", default-features = false, features = ["clock"] }
|
|
16
|
+
|
|
17
|
+
[profile.release]
|
|
18
|
+
panic = 'abort'
|
|
19
|
+
lto = true
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2025
|
|
189
|
+
Copyright 2025 PrettyGoodCapital
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|