ubc-solar-physics 0.1.11__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.
- ubc_solar_physics-0.1.11/.gitignore +162 -0
- ubc_solar_physics-0.1.11/Cargo.lock +524 -0
- ubc_solar_physics-0.1.11/Cargo.toml +14 -0
- ubc_solar_physics-0.1.11/LICENSE +21 -0
- ubc_solar_physics-0.1.11/PKG-INFO +75 -0
- ubc_solar_physics-0.1.11/README.md +2 -0
- ubc_solar_physics-0.1.11/physics/__init__.py +14 -0
- ubc_solar_physics-0.1.11/physics/environment/__init__.py +33 -0
- ubc_solar_physics-0.1.11/physics/environment/base_environment.py +62 -0
- ubc_solar_physics-0.1.11/physics/environment/environment.rs +3 -0
- ubc_solar_physics-0.1.11/physics/environment/gis/__init__.py +7 -0
- ubc_solar_physics-0.1.11/physics/environment/gis/base_gis.py +24 -0
- ubc_solar_physics-0.1.11/physics/environment/gis/gis.py +374 -0
- ubc_solar_physics-0.1.11/physics/environment/gis/gis.rs +25 -0
- ubc_solar_physics-0.1.11/physics/environment/gis.rs +1 -0
- ubc_solar_physics-0.1.11/physics/environment/openweather_environment.py +18 -0
- ubc_solar_physics-0.1.11/physics/environment/race.py +89 -0
- ubc_solar_physics-0.1.11/physics/environment/solar_calculations/OpenweatherSolarCalculations.py +529 -0
- ubc_solar_physics-0.1.11/physics/environment/solar_calculations/SolcastSolarCalculations.py +41 -0
- ubc_solar_physics-0.1.11/physics/environment/solar_calculations/__init__.py +9 -0
- ubc_solar_physics-0.1.11/physics/environment/solar_calculations/base_solar_calculations.py +9 -0
- ubc_solar_physics-0.1.11/physics/environment/solar_calculations/solar_calculations.rs +24 -0
- ubc_solar_physics-0.1.11/physics/environment/solar_calculations.rs +1 -0
- ubc_solar_physics-0.1.11/physics/environment/solcast_environment.py +18 -0
- ubc_solar_physics-0.1.11/physics/environment/weather_forecasts/OpenWeatherForecast.py +307 -0
- ubc_solar_physics-0.1.11/physics/environment/weather_forecasts/SolcastForecasts.py +235 -0
- ubc_solar_physics-0.1.11/physics/environment/weather_forecasts/__init__.py +9 -0
- ubc_solar_physics-0.1.11/physics/environment/weather_forecasts/base_weather_forecasts.py +56 -0
- ubc_solar_physics-0.1.11/physics/environment/weather_forecasts/weather_forecasts.rs +116 -0
- ubc_solar_physics-0.1.11/physics/environment/weather_forecasts.rs +1 -0
- ubc_solar_physics-0.1.11/physics/environment.rs +3 -0
- ubc_solar_physics-0.1.11/physics/lib.rs +76 -0
- ubc_solar_physics-0.1.11/physics/models/__init__.py +13 -0
- ubc_solar_physics-0.1.11/physics/models/arrays/__init__.py +7 -0
- ubc_solar_physics-0.1.11/physics/models/arrays/arrays.rs +0 -0
- ubc_solar_physics-0.1.11/physics/models/arrays/base_array.py +6 -0
- ubc_solar_physics-0.1.11/physics/models/arrays/basic_array.py +39 -0
- ubc_solar_physics-0.1.11/physics/models/arrays.rs +1 -0
- ubc_solar_physics-0.1.11/physics/models/battery/__init__.py +7 -0
- ubc_solar_physics-0.1.11/physics/models/battery/base_battery.py +29 -0
- ubc_solar_physics-0.1.11/physics/models/battery/basic_battery.py +141 -0
- ubc_solar_physics-0.1.11/physics/models/battery/battery.rs +0 -0
- ubc_solar_physics-0.1.11/physics/models/battery.rs +1 -0
- ubc_solar_physics-0.1.11/physics/models/constants.py +23 -0
- ubc_solar_physics-0.1.11/physics/models/lvs/__init__.py +7 -0
- ubc_solar_physics-0.1.11/physics/models/lvs/base_lvs.py +6 -0
- ubc_solar_physics-0.1.11/physics/models/lvs/basic_lvs.py +18 -0
- ubc_solar_physics-0.1.11/physics/models/lvs/lvs.rs +0 -0
- ubc_solar_physics-0.1.11/physics/models/lvs.rs +1 -0
- ubc_solar_physics-0.1.11/physics/models/motor/__init__.py +7 -0
- ubc_solar_physics-0.1.11/physics/models/motor/base_motor.py +6 -0
- ubc_solar_physics-0.1.11/physics/models/motor/basic_motor.py +179 -0
- ubc_solar_physics-0.1.11/physics/models/motor/motor.rs +0 -0
- ubc_solar_physics-0.1.11/physics/models/motor.rs +1 -0
- ubc_solar_physics-0.1.11/physics/models/regen/__init__.py +7 -0
- ubc_solar_physics-0.1.11/physics/models/regen/base_regen.py +6 -0
- ubc_solar_physics-0.1.11/physics/models/regen/basic_regen.py +39 -0
- ubc_solar_physics-0.1.11/physics/models/regen/regen.rs +0 -0
- ubc_solar_physics-0.1.11/physics/models/regen.rs +1 -0
- ubc_solar_physics-0.1.11/physics/models.rs +5 -0
- ubc_solar_physics-0.1.11/pyproject.toml +95 -0
- ubc_solar_physics-0.1.11/setup.cfg +4 -0
- ubc_solar_physics-0.1.11/ubc_solar_physics.egg-info/PKG-INFO +75 -0
- ubc_solar_physics-0.1.11/ubc_solar_physics.egg-info/SOURCES.txt +65 -0
- ubc_solar_physics-0.1.11/ubc_solar_physics.egg-info/dependency_links.txt +1 -0
- ubc_solar_physics-0.1.11/ubc_solar_physics.egg-info/requires.txt +31 -0
- ubc_solar_physics-0.1.11/ubc_solar_physics.egg-info/top_level.txt +1 -0
@@ -0,0 +1,162 @@
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
2
|
+
__pycache__/
|
3
|
+
*.py[cod]
|
4
|
+
*$py.class
|
5
|
+
|
6
|
+
# C extensions
|
7
|
+
*.so
|
8
|
+
|
9
|
+
# Distribution / packaging
|
10
|
+
.Python
|
11
|
+
build/
|
12
|
+
develop-eggs/
|
13
|
+
dist/
|
14
|
+
downloads/
|
15
|
+
eggs/
|
16
|
+
.eggs/
|
17
|
+
lib/
|
18
|
+
lib64/
|
19
|
+
parts/
|
20
|
+
sdist/
|
21
|
+
var/
|
22
|
+
wheels/
|
23
|
+
share/python-wheels/
|
24
|
+
*.egg-info/
|
25
|
+
.installed.cfg
|
26
|
+
*.egg
|
27
|
+
MANIFEST
|
28
|
+
|
29
|
+
# PyInstaller
|
30
|
+
# Usually these files are written by a python script from a template
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
32
|
+
*.manifest
|
33
|
+
*.spec
|
34
|
+
|
35
|
+
# Installer logs
|
36
|
+
pip-log.txt
|
37
|
+
pip-delete-this-directory.txt
|
38
|
+
|
39
|
+
# Unit test / coverage reports
|
40
|
+
htmlcov/
|
41
|
+
.tox/
|
42
|
+
.nox/
|
43
|
+
.coverage
|
44
|
+
.coverage.*
|
45
|
+
.cache
|
46
|
+
nosetests.xml
|
47
|
+
coverage.xml
|
48
|
+
*.cover
|
49
|
+
*.py,cover
|
50
|
+
.hypothesis/
|
51
|
+
.pytest_cache/
|
52
|
+
cover/
|
53
|
+
|
54
|
+
# Translations
|
55
|
+
*.mo
|
56
|
+
*.pot
|
57
|
+
|
58
|
+
# Django stuff:
|
59
|
+
*.log
|
60
|
+
local_settings.py
|
61
|
+
db.sqlite3
|
62
|
+
db.sqlite3-journal
|
63
|
+
|
64
|
+
# Flask stuff:
|
65
|
+
instance/
|
66
|
+
.webassets-cache
|
67
|
+
|
68
|
+
# Scrapy stuff:
|
69
|
+
.scrapy
|
70
|
+
|
71
|
+
# Sphinx documentation
|
72
|
+
docs/_build/
|
73
|
+
|
74
|
+
# PyBuilder
|
75
|
+
.pybuilder/
|
76
|
+
target/
|
77
|
+
|
78
|
+
# Jupyter Notebook
|
79
|
+
.ipynb_checkpoints
|
80
|
+
|
81
|
+
# IPython
|
82
|
+
profile_default/
|
83
|
+
ipython_config.py
|
84
|
+
|
85
|
+
# pyenv
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
88
|
+
# .python-version
|
89
|
+
|
90
|
+
# pipenv
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
94
|
+
# install all needed dependencies.
|
95
|
+
#Pipfile.lock
|
96
|
+
|
97
|
+
# poetry
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
100
|
+
# commonly ignored for libraries.
|
101
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
102
|
+
#poetry.lock
|
103
|
+
|
104
|
+
# pdm
|
105
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
106
|
+
#pdm.lock
|
107
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
108
|
+
# in version control.
|
109
|
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
110
|
+
.pdm.toml
|
111
|
+
.pdm-python
|
112
|
+
.pdm-build/
|
113
|
+
|
114
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
115
|
+
__pypackages__/
|
116
|
+
|
117
|
+
# Celery stuff
|
118
|
+
celerybeat-schedule
|
119
|
+
celerybeat.pid
|
120
|
+
|
121
|
+
# SageMath parsed files
|
122
|
+
*.sage.py
|
123
|
+
|
124
|
+
# Environments
|
125
|
+
.env
|
126
|
+
.venv
|
127
|
+
env/
|
128
|
+
venv/
|
129
|
+
ENV/
|
130
|
+
env.bak/
|
131
|
+
venv.bak/
|
132
|
+
|
133
|
+
# Spyder project settings
|
134
|
+
.spyderproject
|
135
|
+
.spyproject
|
136
|
+
|
137
|
+
# Rope project settings
|
138
|
+
.ropeproject
|
139
|
+
|
140
|
+
# mkdocs documentation
|
141
|
+
/site
|
142
|
+
|
143
|
+
# mypy
|
144
|
+
.mypy_cache/
|
145
|
+
.dmypy.json
|
146
|
+
dmypy.json
|
147
|
+
|
148
|
+
# Pyre type checker
|
149
|
+
.pyre/
|
150
|
+
|
151
|
+
# pytype static type analyzer
|
152
|
+
.pytype/
|
153
|
+
|
154
|
+
# Cython debug symbols
|
155
|
+
cython_debug/
|
156
|
+
|
157
|
+
# PyCharm
|
158
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
159
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
160
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
161
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
162
|
+
.idea/
|
@@ -0,0 +1,524 @@
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
2
|
+
# It is not intended for manual editing.
|
3
|
+
version = 3
|
4
|
+
|
5
|
+
[[package]]
|
6
|
+
name = "android-tzdata"
|
7
|
+
version = "0.1.1"
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
9
|
+
checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
|
10
|
+
|
11
|
+
[[package]]
|
12
|
+
name = "android_system_properties"
|
13
|
+
version = "0.1.5"
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
15
|
+
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
16
|
+
dependencies = [
|
17
|
+
"libc",
|
18
|
+
]
|
19
|
+
|
20
|
+
[[package]]
|
21
|
+
name = "autocfg"
|
22
|
+
version = "1.3.0"
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
24
|
+
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
|
25
|
+
|
26
|
+
[[package]]
|
27
|
+
name = "bitflags"
|
28
|
+
version = "2.6.0"
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
30
|
+
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
31
|
+
|
32
|
+
[[package]]
|
33
|
+
name = "bumpalo"
|
34
|
+
version = "3.16.0"
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
36
|
+
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
|
37
|
+
|
38
|
+
[[package]]
|
39
|
+
name = "cc"
|
40
|
+
version = "1.1.13"
|
41
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
42
|
+
checksum = "72db2f7947ecee9b03b510377e8bb9077afa27176fdbff55c51027e976fdcc48"
|
43
|
+
dependencies = [
|
44
|
+
"shlex",
|
45
|
+
]
|
46
|
+
|
47
|
+
[[package]]
|
48
|
+
name = "cfg-if"
|
49
|
+
version = "1.0.0"
|
50
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
51
|
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
52
|
+
|
53
|
+
[[package]]
|
54
|
+
name = "chrono"
|
55
|
+
version = "0.4.34"
|
56
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
57
|
+
checksum = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b"
|
58
|
+
dependencies = [
|
59
|
+
"android-tzdata",
|
60
|
+
"iana-time-zone",
|
61
|
+
"js-sys",
|
62
|
+
"num-traits",
|
63
|
+
"wasm-bindgen",
|
64
|
+
"windows-targets",
|
65
|
+
]
|
66
|
+
|
67
|
+
[[package]]
|
68
|
+
name = "core"
|
69
|
+
version = "0.1.0"
|
70
|
+
dependencies = [
|
71
|
+
"chrono",
|
72
|
+
"numpy",
|
73
|
+
"pyo3",
|
74
|
+
]
|
75
|
+
|
76
|
+
[[package]]
|
77
|
+
name = "core-foundation-sys"
|
78
|
+
version = "0.8.7"
|
79
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
80
|
+
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
81
|
+
|
82
|
+
[[package]]
|
83
|
+
name = "heck"
|
84
|
+
version = "0.4.1"
|
85
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
86
|
+
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
87
|
+
|
88
|
+
[[package]]
|
89
|
+
name = "iana-time-zone"
|
90
|
+
version = "0.1.60"
|
91
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
92
|
+
checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
|
93
|
+
dependencies = [
|
94
|
+
"android_system_properties",
|
95
|
+
"core-foundation-sys",
|
96
|
+
"iana-time-zone-haiku",
|
97
|
+
"js-sys",
|
98
|
+
"wasm-bindgen",
|
99
|
+
"windows-core",
|
100
|
+
]
|
101
|
+
|
102
|
+
[[package]]
|
103
|
+
name = "iana-time-zone-haiku"
|
104
|
+
version = "0.1.2"
|
105
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
106
|
+
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
|
107
|
+
dependencies = [
|
108
|
+
"cc",
|
109
|
+
]
|
110
|
+
|
111
|
+
[[package]]
|
112
|
+
name = "indoc"
|
113
|
+
version = "2.0.5"
|
114
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
115
|
+
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
|
116
|
+
|
117
|
+
[[package]]
|
118
|
+
name = "js-sys"
|
119
|
+
version = "0.3.70"
|
120
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
121
|
+
checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a"
|
122
|
+
dependencies = [
|
123
|
+
"wasm-bindgen",
|
124
|
+
]
|
125
|
+
|
126
|
+
[[package]]
|
127
|
+
name = "libc"
|
128
|
+
version = "0.2.156"
|
129
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
130
|
+
checksum = "a5f43f184355eefb8d17fc948dbecf6c13be3c141f20d834ae842193a448c72a"
|
131
|
+
|
132
|
+
[[package]]
|
133
|
+
name = "lock_api"
|
134
|
+
version = "0.4.12"
|
135
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
136
|
+
checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
|
137
|
+
dependencies = [
|
138
|
+
"autocfg",
|
139
|
+
"scopeguard",
|
140
|
+
]
|
141
|
+
|
142
|
+
[[package]]
|
143
|
+
name = "log"
|
144
|
+
version = "0.4.22"
|
145
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
146
|
+
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
147
|
+
|
148
|
+
[[package]]
|
149
|
+
name = "matrixmultiply"
|
150
|
+
version = "0.3.9"
|
151
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
152
|
+
checksum = "9380b911e3e96d10c1f415da0876389aaf1b56759054eeb0de7df940c456ba1a"
|
153
|
+
dependencies = [
|
154
|
+
"autocfg",
|
155
|
+
"rawpointer",
|
156
|
+
]
|
157
|
+
|
158
|
+
[[package]]
|
159
|
+
name = "memoffset"
|
160
|
+
version = "0.9.1"
|
161
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
162
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
163
|
+
dependencies = [
|
164
|
+
"autocfg",
|
165
|
+
]
|
166
|
+
|
167
|
+
[[package]]
|
168
|
+
name = "ndarray"
|
169
|
+
version = "0.15.6"
|
170
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
171
|
+
checksum = "adb12d4e967ec485a5f71c6311fe28158e9d6f4bc4a447b474184d0f91a8fa32"
|
172
|
+
dependencies = [
|
173
|
+
"matrixmultiply",
|
174
|
+
"num-complex",
|
175
|
+
"num-integer",
|
176
|
+
"num-traits",
|
177
|
+
"rawpointer",
|
178
|
+
]
|
179
|
+
|
180
|
+
[[package]]
|
181
|
+
name = "num-complex"
|
182
|
+
version = "0.4.6"
|
183
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
184
|
+
checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
|
185
|
+
dependencies = [
|
186
|
+
"num-traits",
|
187
|
+
]
|
188
|
+
|
189
|
+
[[package]]
|
190
|
+
name = "num-integer"
|
191
|
+
version = "0.1.46"
|
192
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
193
|
+
checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
|
194
|
+
dependencies = [
|
195
|
+
"num-traits",
|
196
|
+
]
|
197
|
+
|
198
|
+
[[package]]
|
199
|
+
name = "num-traits"
|
200
|
+
version = "0.2.19"
|
201
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
202
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
203
|
+
dependencies = [
|
204
|
+
"autocfg",
|
205
|
+
]
|
206
|
+
|
207
|
+
[[package]]
|
208
|
+
name = "numpy"
|
209
|
+
version = "0.20.0"
|
210
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
211
|
+
checksum = "bef41cbb417ea83b30525259e30ccef6af39b31c240bda578889494c5392d331"
|
212
|
+
dependencies = [
|
213
|
+
"libc",
|
214
|
+
"ndarray",
|
215
|
+
"num-complex",
|
216
|
+
"num-integer",
|
217
|
+
"num-traits",
|
218
|
+
"pyo3",
|
219
|
+
"rustc-hash",
|
220
|
+
]
|
221
|
+
|
222
|
+
[[package]]
|
223
|
+
name = "once_cell"
|
224
|
+
version = "1.19.0"
|
225
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
226
|
+
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
227
|
+
|
228
|
+
[[package]]
|
229
|
+
name = "parking_lot"
|
230
|
+
version = "0.12.3"
|
231
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
232
|
+
checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
|
233
|
+
dependencies = [
|
234
|
+
"lock_api",
|
235
|
+
"parking_lot_core",
|
236
|
+
]
|
237
|
+
|
238
|
+
[[package]]
|
239
|
+
name = "parking_lot_core"
|
240
|
+
version = "0.9.10"
|
241
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
242
|
+
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
|
243
|
+
dependencies = [
|
244
|
+
"cfg-if",
|
245
|
+
"libc",
|
246
|
+
"redox_syscall",
|
247
|
+
"smallvec",
|
248
|
+
"windows-targets",
|
249
|
+
]
|
250
|
+
|
251
|
+
[[package]]
|
252
|
+
name = "proc-macro2"
|
253
|
+
version = "1.0.86"
|
254
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
255
|
+
checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
|
256
|
+
dependencies = [
|
257
|
+
"unicode-ident",
|
258
|
+
]
|
259
|
+
|
260
|
+
[[package]]
|
261
|
+
name = "pyo3"
|
262
|
+
version = "0.20.0"
|
263
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
264
|
+
checksum = "04e8453b658fe480c3e70c8ed4e3d3ec33eb74988bd186561b0cc66b85c3bc4b"
|
265
|
+
dependencies = [
|
266
|
+
"cfg-if",
|
267
|
+
"indoc",
|
268
|
+
"libc",
|
269
|
+
"memoffset",
|
270
|
+
"parking_lot",
|
271
|
+
"pyo3-build-config",
|
272
|
+
"pyo3-ffi",
|
273
|
+
"pyo3-macros",
|
274
|
+
"unindent",
|
275
|
+
]
|
276
|
+
|
277
|
+
[[package]]
|
278
|
+
name = "pyo3-build-config"
|
279
|
+
version = "0.20.3"
|
280
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
281
|
+
checksum = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
|
282
|
+
dependencies = [
|
283
|
+
"once_cell",
|
284
|
+
"target-lexicon",
|
285
|
+
]
|
286
|
+
|
287
|
+
[[package]]
|
288
|
+
name = "pyo3-ffi"
|
289
|
+
version = "0.20.0"
|
290
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
291
|
+
checksum = "214929900fd25e6604661ed9cf349727c8920d47deff196c4e28165a6ef2a96b"
|
292
|
+
dependencies = [
|
293
|
+
"libc",
|
294
|
+
"pyo3-build-config",
|
295
|
+
]
|
296
|
+
|
297
|
+
[[package]]
|
298
|
+
name = "pyo3-macros"
|
299
|
+
version = "0.20.0"
|
300
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
301
|
+
checksum = "dac53072f717aa1bfa4db832b39de8c875b7c7af4f4a6fe93cdbf9264cf8383b"
|
302
|
+
dependencies = [
|
303
|
+
"proc-macro2",
|
304
|
+
"pyo3-macros-backend",
|
305
|
+
"quote",
|
306
|
+
"syn",
|
307
|
+
]
|
308
|
+
|
309
|
+
[[package]]
|
310
|
+
name = "pyo3-macros-backend"
|
311
|
+
version = "0.20.0"
|
312
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
313
|
+
checksum = "7774b5a8282bd4f25f803b1f0d945120be959a36c72e08e7cd031c792fdfd424"
|
314
|
+
dependencies = [
|
315
|
+
"heck",
|
316
|
+
"proc-macro2",
|
317
|
+
"quote",
|
318
|
+
"syn",
|
319
|
+
]
|
320
|
+
|
321
|
+
[[package]]
|
322
|
+
name = "quote"
|
323
|
+
version = "1.0.36"
|
324
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
325
|
+
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
|
326
|
+
dependencies = [
|
327
|
+
"proc-macro2",
|
328
|
+
]
|
329
|
+
|
330
|
+
[[package]]
|
331
|
+
name = "rawpointer"
|
332
|
+
version = "0.2.1"
|
333
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
334
|
+
checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
335
|
+
|
336
|
+
[[package]]
|
337
|
+
name = "redox_syscall"
|
338
|
+
version = "0.5.3"
|
339
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
340
|
+
checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
|
341
|
+
dependencies = [
|
342
|
+
"bitflags",
|
343
|
+
]
|
344
|
+
|
345
|
+
[[package]]
|
346
|
+
name = "rustc-hash"
|
347
|
+
version = "1.1.0"
|
348
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
349
|
+
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
350
|
+
|
351
|
+
[[package]]
|
352
|
+
name = "scopeguard"
|
353
|
+
version = "1.2.0"
|
354
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
355
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
356
|
+
|
357
|
+
[[package]]
|
358
|
+
name = "shlex"
|
359
|
+
version = "1.3.0"
|
360
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
361
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
362
|
+
|
363
|
+
[[package]]
|
364
|
+
name = "smallvec"
|
365
|
+
version = "1.13.2"
|
366
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
367
|
+
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
|
368
|
+
|
369
|
+
[[package]]
|
370
|
+
name = "syn"
|
371
|
+
version = "2.0.75"
|
372
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
373
|
+
checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9"
|
374
|
+
dependencies = [
|
375
|
+
"proc-macro2",
|
376
|
+
"quote",
|
377
|
+
"unicode-ident",
|
378
|
+
]
|
379
|
+
|
380
|
+
[[package]]
|
381
|
+
name = "target-lexicon"
|
382
|
+
version = "0.12.16"
|
383
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
384
|
+
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
385
|
+
|
386
|
+
[[package]]
|
387
|
+
name = "unicode-ident"
|
388
|
+
version = "1.0.12"
|
389
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
390
|
+
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
391
|
+
|
392
|
+
[[package]]
|
393
|
+
name = "unindent"
|
394
|
+
version = "0.2.3"
|
395
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
396
|
+
checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
|
397
|
+
|
398
|
+
[[package]]
|
399
|
+
name = "wasm-bindgen"
|
400
|
+
version = "0.2.93"
|
401
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
402
|
+
checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5"
|
403
|
+
dependencies = [
|
404
|
+
"cfg-if",
|
405
|
+
"once_cell",
|
406
|
+
"wasm-bindgen-macro",
|
407
|
+
]
|
408
|
+
|
409
|
+
[[package]]
|
410
|
+
name = "wasm-bindgen-backend"
|
411
|
+
version = "0.2.93"
|
412
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
413
|
+
checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b"
|
414
|
+
dependencies = [
|
415
|
+
"bumpalo",
|
416
|
+
"log",
|
417
|
+
"once_cell",
|
418
|
+
"proc-macro2",
|
419
|
+
"quote",
|
420
|
+
"syn",
|
421
|
+
"wasm-bindgen-shared",
|
422
|
+
]
|
423
|
+
|
424
|
+
[[package]]
|
425
|
+
name = "wasm-bindgen-macro"
|
426
|
+
version = "0.2.93"
|
427
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
428
|
+
checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf"
|
429
|
+
dependencies = [
|
430
|
+
"quote",
|
431
|
+
"wasm-bindgen-macro-support",
|
432
|
+
]
|
433
|
+
|
434
|
+
[[package]]
|
435
|
+
name = "wasm-bindgen-macro-support"
|
436
|
+
version = "0.2.93"
|
437
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
438
|
+
checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
|
439
|
+
dependencies = [
|
440
|
+
"proc-macro2",
|
441
|
+
"quote",
|
442
|
+
"syn",
|
443
|
+
"wasm-bindgen-backend",
|
444
|
+
"wasm-bindgen-shared",
|
445
|
+
]
|
446
|
+
|
447
|
+
[[package]]
|
448
|
+
name = "wasm-bindgen-shared"
|
449
|
+
version = "0.2.93"
|
450
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
451
|
+
checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
|
452
|
+
|
453
|
+
[[package]]
|
454
|
+
name = "windows-core"
|
455
|
+
version = "0.52.0"
|
456
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
457
|
+
checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
|
458
|
+
dependencies = [
|
459
|
+
"windows-targets",
|
460
|
+
]
|
461
|
+
|
462
|
+
[[package]]
|
463
|
+
name = "windows-targets"
|
464
|
+
version = "0.52.6"
|
465
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
466
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
467
|
+
dependencies = [
|
468
|
+
"windows_aarch64_gnullvm",
|
469
|
+
"windows_aarch64_msvc",
|
470
|
+
"windows_i686_gnu",
|
471
|
+
"windows_i686_gnullvm",
|
472
|
+
"windows_i686_msvc",
|
473
|
+
"windows_x86_64_gnu",
|
474
|
+
"windows_x86_64_gnullvm",
|
475
|
+
"windows_x86_64_msvc",
|
476
|
+
]
|
477
|
+
|
478
|
+
[[package]]
|
479
|
+
name = "windows_aarch64_gnullvm"
|
480
|
+
version = "0.52.6"
|
481
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
482
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
483
|
+
|
484
|
+
[[package]]
|
485
|
+
name = "windows_aarch64_msvc"
|
486
|
+
version = "0.52.6"
|
487
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
488
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
489
|
+
|
490
|
+
[[package]]
|
491
|
+
name = "windows_i686_gnu"
|
492
|
+
version = "0.52.6"
|
493
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
494
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
495
|
+
|
496
|
+
[[package]]
|
497
|
+
name = "windows_i686_gnullvm"
|
498
|
+
version = "0.52.6"
|
499
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
500
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
501
|
+
|
502
|
+
[[package]]
|
503
|
+
name = "windows_i686_msvc"
|
504
|
+
version = "0.52.6"
|
505
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
506
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
507
|
+
|
508
|
+
[[package]]
|
509
|
+
name = "windows_x86_64_gnu"
|
510
|
+
version = "0.52.6"
|
511
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
512
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
513
|
+
|
514
|
+
[[package]]
|
515
|
+
name = "windows_x86_64_gnullvm"
|
516
|
+
version = "0.52.6"
|
517
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
518
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
519
|
+
|
520
|
+
[[package]]
|
521
|
+
name = "windows_x86_64_msvc"
|
522
|
+
version = "0.52.6"
|
523
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
524
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
@@ -0,0 +1,14 @@
|
|
1
|
+
[package]
|
2
|
+
name = "core"
|
3
|
+
version = "0.1.0"
|
4
|
+
edition = "2021"
|
5
|
+
|
6
|
+
[lib]
|
7
|
+
name = "core"
|
8
|
+
path = "physics/lib.rs"
|
9
|
+
crate-type = ["cdylib"]
|
10
|
+
|
11
|
+
[dependencies]
|
12
|
+
chrono = "=0.4.34"
|
13
|
+
numpy = "=0.20.0"
|
14
|
+
pyo3 = { version = "=0.20.0", features = ["extension-module"] }
|