pvisor 0.1.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.
Files changed (56) hide show
  1. pvisor-0.1.0/.github/workflows/CI.yml +256 -0
  2. pvisor-0.1.0/.gitignore +81 -0
  3. pvisor-0.1.0/CHANGELOG.md +18 -0
  4. pvisor-0.1.0/Cargo.lock +133 -0
  5. pvisor-0.1.0/Cargo.toml +13 -0
  6. pvisor-0.1.0/LICENSE +21 -0
  7. pvisor-0.1.0/LICENSES/BOTTLENECK_LICENCE +25 -0
  8. pvisor-0.1.0/LICENSES/DATEUTIL_LICENSE +54 -0
  9. pvisor-0.1.0/LICENSES/HAVEN_LICENSE +21 -0
  10. pvisor-0.1.0/LICENSES/HAVEN_MIT +32 -0
  11. pvisor-0.1.0/LICENSES/KLIB_LICENSE +23 -0
  12. pvisor-0.1.0/LICENSES/MUSL_LICENSE +193 -0
  13. pvisor-0.1.0/LICENSES/NUMPY_LICENSE +30 -0
  14. pvisor-0.1.0/LICENSES/PACKAGING_LICENSE +202 -0
  15. pvisor-0.1.0/LICENSES/PANDAS_LICENSES +31 -0
  16. pvisor-0.1.0/LICENSES/PSF_LICENSE +279 -0
  17. pvisor-0.1.0/LICENSES/PYPERCLIP_LICENSE +27 -0
  18. pvisor-0.1.0/LICENSES/PYUPGRADE_LICENSE +19 -0
  19. pvisor-0.1.0/LICENSES/SAS7BDAT_LICENSE +19 -0
  20. pvisor-0.1.0/LICENSES/ULTRAJSON_LICENSE +114 -0
  21. pvisor-0.1.0/PKG-INFO +15 -0
  22. pvisor-0.1.0/README.md +84 -0
  23. pvisor-0.1.0/docs/Makefile +20 -0
  24. pvisor-0.1.0/docs/conf.py +40 -0
  25. pvisor-0.1.0/docs/index.rst +21 -0
  26. pvisor-0.1.0/docs/interfaces.rst +49 -0
  27. pvisor-0.1.0/docs/make.bat +35 -0
  28. pvisor-0.1.0/docs/usage.rst +12 -0
  29. pvisor-0.1.0/pvisor/__init__.py +10 -0
  30. pvisor-0.1.0/pvisor/melcor_interface.py +388 -0
  31. pvisor-0.1.0/pvisor/pvisor_module.py +86 -0
  32. pvisor-0.1.0/pvisor/relap_interface.py +374 -0
  33. pvisor-0.1.0/pvisor/spectra_interface.py +159 -0
  34. pvisor-0.1.0/pvisor/trace_interface.py +447 -0
  35. pvisor-0.1.0/pyproject.toml +16 -0
  36. pvisor-0.1.0/src/lib.rs +174 -0
  37. pvisor-0.1.0/tests/melcor/MODEL +114 -0
  38. pvisor-0.1.0/tests/melcor/PVISOR.MEL +77 -0
  39. pvisor-0.1.0/tests/melcor/PVISOR.PTF +0 -0
  40. pvisor-0.1.0/tests/melcor/PVISOR.csv +205 -0
  41. pvisor-0.1.0/tests/melcor/test_melcor.py +44 -0
  42. pvisor-0.1.0/tests/relap/test_input.csv +202 -0
  43. pvisor-0.1.0/tests/relap/test_input.i +140 -0
  44. pvisor-0.1.0/tests/relap/test_input.plt +0 -0
  45. pvisor-0.1.0/tests/relap/test_relap.py +42 -0
  46. pvisor-0.1.0/tests/spectra/6_digit/6_digit.PLT +1308 -0
  47. pvisor-0.1.0/tests/spectra/6_digit/6_digit.csv +3 -0
  48. pvisor-0.1.0/tests/spectra/6_digit/test_spectra_6_digit.py +35 -0
  49. pvisor-0.1.0/tests/spectra/9_digit/9_digit.PLT +1308 -0
  50. pvisor-0.1.0/tests/spectra/9_digit/9_digit.csv +3 -0
  51. pvisor-0.1.0/tests/spectra/9_digit/test_spectra_9_digit.py +35 -0
  52. pvisor-0.1.0/tests/spectra/test_input.SPE +71 -0
  53. pvisor-0.1.0/tests/trace/test_input.csv +3 -0
  54. pvisor-0.1.0/tests/trace/test_input.inp +331 -0
  55. pvisor-0.1.0/tests/trace/test_input.xtv +0 -0
  56. pvisor-0.1.0/tests/trace/test_trace.py +42 -0
@@ -0,0 +1,256 @@
1
+ # This file is autogenerated by maturin v1.12.6
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci --pytest github
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ push:
10
+ branches:
11
+ - main
12
+ tags:
13
+ - '*'
14
+ pull_request:
15
+ workflow_dispatch:
16
+
17
+ permissions:
18
+ contents: read
19
+
20
+ jobs:
21
+ linux:
22
+ runs-on: ${{ matrix.platform.runner }}
23
+ strategy:
24
+ matrix:
25
+ platform:
26
+ - runner: ubuntu-22.04
27
+ target: x86_64
28
+ - runner: ubuntu-22.04
29
+ target: x86
30
+ - runner: ubuntu-22.04
31
+ target: aarch64
32
+ - runner: ubuntu-22.04
33
+ target: armv7
34
+ - runner: ubuntu-22.04
35
+ target: s390x
36
+ - runner: ubuntu-22.04
37
+ target: ppc64le
38
+ steps:
39
+ - uses: actions/checkout@v6
40
+ - uses: actions/setup-python@v6
41
+ with:
42
+ python-version: "3.13"
43
+ - name: Build wheels
44
+ uses: PyO3/maturin-action@v1
45
+ with:
46
+ target: ${{ matrix.platform.target }}
47
+ args: --release --out dist --find-interpreter
48
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
49
+ manylinux: auto
50
+ - name: Upload wheels
51
+ uses: actions/upload-artifact@v6
52
+ with:
53
+ name: wheels-linux-${{ matrix.platform.target }}
54
+ path: dist
55
+ # - name: pytest
56
+ # if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
57
+ # shell: bash
58
+ # run: |
59
+ # set -e
60
+ # python3 -m venv .venv
61
+ # source .venv/bin/activate
62
+ # pip install pvisor --find-links dist --force-reinstall
63
+ # pip install pytest
64
+ # pytest
65
+ # - name: pytest
66
+ # if: ${{ !startsWith(matrix.platform.target, 'x86') && matrix.platform.target != 'ppc64' }}
67
+ # uses: uraimo/run-on-arch-action@v2
68
+ # with:
69
+ # arch: ${{ matrix.platform.target }}
70
+ # distro: ubuntu22.04
71
+ # githubToken: ${{ github.token }}
72
+ # install: |
73
+ # apt-get update
74
+ # apt-get install -y --no-install-recommends python3 python3-pip
75
+ # pip3 install -U pip pytest
76
+ # run: |
77
+ # set -e
78
+ # pip3 install pvisor --find-links dist --force-reinstall
79
+ # pytest
80
+
81
+ musllinux:
82
+ runs-on: ${{ matrix.platform.runner }}
83
+ strategy:
84
+ matrix:
85
+ platform:
86
+ - runner: ubuntu-22.04
87
+ target: x86_64
88
+ - runner: ubuntu-22.04
89
+ target: x86
90
+ - runner: ubuntu-22.04
91
+ target: aarch64
92
+ - runner: ubuntu-22.04
93
+ target: armv7
94
+ steps:
95
+ - uses: actions/checkout@v6
96
+ - uses: actions/setup-python@v6
97
+ with:
98
+ python-version: "3.13"
99
+ - name: Build wheels
100
+ uses: PyO3/maturin-action@v1
101
+ with:
102
+ target: ${{ matrix.platform.target }}
103
+ args: --release --out dist --find-interpreter
104
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
105
+ manylinux: musllinux_1_2
106
+ - name: Upload wheels
107
+ uses: actions/upload-artifact@v6
108
+ with:
109
+ name: wheels-musllinux-${{ matrix.platform.target }}
110
+ path: dist
111
+ # - name: pytest
112
+ # if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
113
+ # run: |
114
+ # set -e
115
+ # docker run --rm -v ${{ github.workspace }}:/io -w /io alpine:latest sh -c '
116
+ # apk add py3-pip py3-virtualenv
117
+ # python3 -m virtualenv .venv
118
+ # source .venv/bin/activate
119
+ # pip install pvisor --no-index --find-links dist --force-reinstall
120
+ # pip install pytest
121
+ # pytest
122
+ # '
123
+ # - name: pytest
124
+ # if: ${{ !startsWith(matrix.platform.target, 'x86') }}
125
+ # uses: uraimo/run-on-arch-action@v2
126
+ # with:
127
+ # arch: ${{ matrix.platform.target }}
128
+ # distro: alpine_latest
129
+ # githubToken: ${{ github.token }}
130
+ # install: |
131
+ # apk add py3-virtualenv
132
+ # run: |
133
+ # set -e
134
+ # python3 -m virtualenv .venv
135
+ # source .venv/bin/activate
136
+ # pip install pytest
137
+ # pip install pvisor --find-links dist --force-reinstall
138
+ # pytest
139
+
140
+ windows:
141
+ runs-on: ${{ matrix.platform.runner }}
142
+ strategy:
143
+ matrix:
144
+ platform:
145
+ - runner: windows-latest
146
+ target: x64
147
+ python_arch: x64
148
+ - runner: windows-latest
149
+ target: x86
150
+ python_arch: x86
151
+ - runner: windows-11-arm
152
+ target: aarch64
153
+ python_arch: arm64
154
+ steps:
155
+ - uses: actions/checkout@v6
156
+ - uses: actions/setup-python@v6
157
+ with:
158
+ python-version: "3.13"
159
+ architecture: ${{ matrix.platform.python_arch }}
160
+ - name: Build wheels
161
+ uses: PyO3/maturin-action@v1
162
+ with:
163
+ target: ${{ matrix.platform.target }}
164
+ args: --release --out dist --find-interpreter
165
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
166
+ - name: Upload wheels
167
+ uses: actions/upload-artifact@v6
168
+ with:
169
+ name: wheels-windows-${{ matrix.platform.target }}
170
+ path: dist
171
+ # - name: pytest
172
+ # shell: bash
173
+ # run: |
174
+ # set -e
175
+ # python3 -m venv .venv
176
+ # source .venv/Scripts/activate
177
+ # pip install pvisor --find-links dist --force-reinstall
178
+ # pip install pytest
179
+ # pytest
180
+
181
+ macos:
182
+ runs-on: ${{ matrix.platform.runner }}
183
+ strategy:
184
+ matrix:
185
+ platform:
186
+ - runner: macos-15-intel
187
+ target: x86_64
188
+ - runner: macos-latest
189
+ target: aarch64
190
+ steps:
191
+ - uses: actions/checkout@v6
192
+ - uses: actions/setup-python@v6
193
+ with:
194
+ python-version: "3.13"
195
+ - name: Build wheels
196
+ uses: PyO3/maturin-action@v1
197
+ with:
198
+ target: ${{ matrix.platform.target }}
199
+ args: --release --out dist --find-interpreter
200
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
201
+ - name: Upload wheels
202
+ uses: actions/upload-artifact@v6
203
+ with:
204
+ name: wheels-macos-${{ matrix.platform.target }}
205
+ path: dist
206
+ # - name: pytest
207
+ # run: |
208
+ # set -e
209
+ # python3 -m venv .venv
210
+ # source .venv/bin/activate
211
+ # pip install pvisor --find-links dist --force-reinstall
212
+ # pip install pytest
213
+ # pytest
214
+
215
+ sdist:
216
+ runs-on: ubuntu-latest
217
+ steps:
218
+ - uses: actions/checkout@v6
219
+ - name: Build sdist
220
+ uses: PyO3/maturin-action@v1
221
+ with:
222
+ command: sdist
223
+ args: --out dist
224
+ - name: Upload sdist
225
+ uses: actions/upload-artifact@v6
226
+ with:
227
+ name: wheels-sdist
228
+ path: dist
229
+
230
+ release:
231
+ name: Release
232
+ runs-on: ubuntu-latest
233
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
234
+ needs: [linux, musllinux, windows, macos, sdist]
235
+ permissions:
236
+ # Use to sign the release artifacts
237
+ id-token: write
238
+ # Used to upload release artifacts
239
+ contents: write
240
+ # Used to generate artifact attestation
241
+ attestations: write
242
+ environment:
243
+ name: pypi
244
+ url: https://pypi.org/p/pvisor
245
+ steps:
246
+ - uses: actions/download-artifact@v7
247
+ - name: Generate artifact attestation
248
+ uses: actions/attest-build-provenance@v3
249
+ with:
250
+ subject-path: 'wheels-*/*'
251
+ - name: Install uv
252
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
253
+ uses: astral-sh/setup-uv@v7
254
+ - name: Publish to PyPI
255
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
256
+ run: uv publish 'wheels-*/*'
@@ -0,0 +1,81 @@
1
+ # vim files
2
+ *.swp
3
+
4
+ # Temp folders (mostly used for generating testdata)
5
+ **/temp
6
+
7
+
8
+
9
+ # Auto generated by Maturin
10
+ /target
11
+
12
+ # Byte-compiled / optimized / DLL files
13
+ __pycache__/
14
+ .pytest_cache/
15
+ *.py[cod]
16
+
17
+ # C extensions
18
+ *.so
19
+
20
+ # Distribution / packaging
21
+ .Python
22
+ .venv/
23
+ env/
24
+ bin/
25
+ build/
26
+ develop-eggs/
27
+ dist/
28
+ eggs/
29
+ lib/
30
+ lib64/
31
+ parts/
32
+ sdist/
33
+ var/
34
+ include/
35
+ man/
36
+ venv/
37
+ *.egg-info/
38
+ .installed.cfg
39
+ *.egg
40
+
41
+ # Installer logs
42
+ pip-log.txt
43
+ pip-delete-this-directory.txt
44
+ pip-selfcheck.json
45
+
46
+ # Unit test / coverage reports
47
+ htmlcov/
48
+ .tox/
49
+ .coverage
50
+ .cache
51
+ nosetests.xml
52
+ coverage.xml
53
+
54
+ # Translations
55
+ *.mo
56
+
57
+ # Mr Developer
58
+ .mr.developer.cfg
59
+ .project
60
+ .pydevproject
61
+
62
+ # Rope
63
+ .ropeproject
64
+
65
+ # Django stuff:
66
+ *.log
67
+ *.pot
68
+
69
+ .DS_Store
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyCharm
75
+ .idea/
76
+
77
+ # VSCode
78
+ .vscode/
79
+
80
+ # Pyenv
81
+ .python-version
@@ -0,0 +1,18 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased] -
9
+
10
+ - Support for MELCOR.
11
+
12
+ ### Added
13
+
14
+ - Support for RELAP and SPECTRA.
15
+
16
+ ### Deprecated
17
+
18
+ - `SPECTRA_LEGACY`: the legacy pythonic spectra engine of `read_file()`.
@@ -0,0 +1,133 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "heck"
7
+ version = "0.5.0"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
10
+
11
+ [[package]]
12
+ name = "libc"
13
+ version = "0.2.169"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
16
+
17
+ [[package]]
18
+ name = "once_cell"
19
+ version = "1.21.3"
20
+ source = "registry+https://github.com/rust-lang/crates.io-index"
21
+ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
22
+
23
+ [[package]]
24
+ name = "portable-atomic"
25
+ version = "1.10.0"
26
+ source = "registry+https://github.com/rust-lang/crates.io-index"
27
+ checksum = "280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6"
28
+
29
+ [[package]]
30
+ name = "proc-macro2"
31
+ version = "1.0.93"
32
+ source = "registry+https://github.com/rust-lang/crates.io-index"
33
+ checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99"
34
+ dependencies = [
35
+ "unicode-ident",
36
+ ]
37
+
38
+ [[package]]
39
+ name = "pvisor"
40
+ version = "0.1.0"
41
+ dependencies = [
42
+ "pyo3",
43
+ ]
44
+
45
+ [[package]]
46
+ name = "pyo3"
47
+ version = "0.28.2"
48
+ source = "registry+https://github.com/rust-lang/crates.io-index"
49
+ checksum = "cf85e27e86080aafd5a22eae58a162e133a589551542b3e5cee4beb27e54f8e1"
50
+ dependencies = [
51
+ "libc",
52
+ "once_cell",
53
+ "portable-atomic",
54
+ "pyo3-build-config",
55
+ "pyo3-ffi",
56
+ "pyo3-macros",
57
+ ]
58
+
59
+ [[package]]
60
+ name = "pyo3-build-config"
61
+ version = "0.28.2"
62
+ source = "registry+https://github.com/rust-lang/crates.io-index"
63
+ checksum = "8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7"
64
+ dependencies = [
65
+ "target-lexicon",
66
+ ]
67
+
68
+ [[package]]
69
+ name = "pyo3-ffi"
70
+ version = "0.28.2"
71
+ source = "registry+https://github.com/rust-lang/crates.io-index"
72
+ checksum = "491aa5fc66d8059dd44a75f4580a2962c1862a1c2945359db36f6c2818b748dc"
73
+ dependencies = [
74
+ "libc",
75
+ "pyo3-build-config",
76
+ ]
77
+
78
+ [[package]]
79
+ name = "pyo3-macros"
80
+ version = "0.28.2"
81
+ source = "registry+https://github.com/rust-lang/crates.io-index"
82
+ checksum = "f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e"
83
+ dependencies = [
84
+ "proc-macro2",
85
+ "pyo3-macros-backend",
86
+ "quote",
87
+ "syn",
88
+ ]
89
+
90
+ [[package]]
91
+ name = "pyo3-macros-backend"
92
+ version = "0.28.2"
93
+ source = "registry+https://github.com/rust-lang/crates.io-index"
94
+ checksum = "22faaa1ce6c430a1f71658760497291065e6450d7b5dc2bcf254d49f66ee700a"
95
+ dependencies = [
96
+ "heck",
97
+ "proc-macro2",
98
+ "pyo3-build-config",
99
+ "quote",
100
+ "syn",
101
+ ]
102
+
103
+ [[package]]
104
+ name = "quote"
105
+ version = "1.0.38"
106
+ source = "registry+https://github.com/rust-lang/crates.io-index"
107
+ checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
108
+ dependencies = [
109
+ "proc-macro2",
110
+ ]
111
+
112
+ [[package]]
113
+ name = "syn"
114
+ version = "2.0.98"
115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
116
+ checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1"
117
+ dependencies = [
118
+ "proc-macro2",
119
+ "quote",
120
+ "unicode-ident",
121
+ ]
122
+
123
+ [[package]]
124
+ name = "target-lexicon"
125
+ version = "0.13.5"
126
+ source = "registry+https://github.com/rust-lang/crates.io-index"
127
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
128
+
129
+ [[package]]
130
+ name = "unicode-ident"
131
+ version = "1.0.16"
132
+ source = "registry+https://github.com/rust-lang/crates.io-index"
133
+ checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034"
@@ -0,0 +1,13 @@
1
+ [package]
2
+ name = "pvisor"
3
+ version = "0.1.0"
4
+ edition = "2021"
5
+ readme = "README.md"
6
+
7
+ # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
8
+ [lib]
9
+ name = "pvisor"
10
+ crate-type = ["cdylib"]
11
+
12
+ [dependencies]
13
+ pyo3 = "0.28.2"
pvisor-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 NRG PALLAS
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,25 @@
1
+ Copyright (c) 2010-2019 Keith Goodman
2
+ Copyright (c) 2019 Bottleneck Developers
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ * Redistributions of source code must retain the above copyright notice,
9
+ this list of conditions and the following disclaimer.
10
+
11
+ * Redistributions in binary form must reproduce the above copyright
12
+ notice, this list of conditions and the following disclaimer in the
13
+ documentation and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
19
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25
+ POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,54 @@
1
+ Copyright 2017- Paul Ganssle <paul@ganssle.io>
2
+ Copyright 2017- dateutil contributors (see AUTHORS file)
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+
16
+ The above license applies to all contributions after 2017-12-01, as well as
17
+ all contributions that have been re-licensed (see AUTHORS file for the list of
18
+ contributors who have re-licensed their code).
19
+ --------------------------------------------------------------------------------
20
+ dateutil - Extensions to the standard Python datetime module.
21
+
22
+ Copyright (c) 2003-2011 - Gustavo Niemeyer <gustavo@niemeyer.net>
23
+ Copyright (c) 2012-2014 - Tomi Pieviläinen <tomi.pievilainen@iki.fi>
24
+ Copyright (c) 2014-2016 - Yaron de Leeuw <me@jarondl.net>
25
+ Copyright (c) 2015- - Paul Ganssle <paul@ganssle.io>
26
+ Copyright (c) 2015- - dateutil contributors (see AUTHORS file)
27
+
28
+ All rights reserved.
29
+
30
+ Redistribution and use in source and binary forms, with or without
31
+ modification, are permitted provided that the following conditions are met:
32
+
33
+ * Redistributions of source code must retain the above copyright notice,
34
+ this list of conditions and the following disclaimer.
35
+ * Redistributions in binary form must reproduce the above copyright notice,
36
+ this list of conditions and the following disclaimer in the documentation
37
+ and/or other materials provided with the distribution.
38
+ * Neither the name of the copyright holder nor the names of its
39
+ contributors may be used to endorse or promote products derived from
40
+ this software without specific prior written permission.
41
+
42
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
43
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
44
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
45
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
46
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
47
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
48
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
49
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
50
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
51
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
52
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
53
+
54
+ The above BSD License Applies to all code, even that also covered by Apache 2.0.
@@ -0,0 +1,21 @@
1
+ # MIT License
2
+
3
+ Copyright (c) 2019 Hadley Wickham; RStudio; and Evan Miller
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,32 @@
1
+ Based on http://opensource.org/licenses/MIT
2
+
3
+ This is a template. Complete and ship as file LICENSE the following 2
4
+ lines (only)
5
+
6
+ YEAR:
7
+ COPYRIGHT HOLDER:
8
+
9
+ and specify as
10
+
11
+ License: MIT + file LICENSE
12
+
13
+ Copyright (c) <YEAR>, <COPYRIGHT HOLDER>
14
+
15
+ Permission is hereby granted, free of charge, to any person obtaining
16
+ a copy of this software and associated documentation files (the
17
+ "Software"), to deal in the Software without restriction, including
18
+ without limitation the rights to use, copy, modify, merge, publish,
19
+ distribute, sublicense, and/or sell copies of the Software, and to
20
+ permit persons to whom the Software is furnished to do so, subject to
21
+ the following conditions:
22
+
23
+ The above copyright notice and this permission notice shall be
24
+ included in all copies or substantial portions of the Software.
25
+
26
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
27
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
28
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
29
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
30
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
31
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
32
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,23 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2008- Attractive Chaos <attractor@live.co.uk>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
20
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.