onedatarestfsspec 25.0.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 (31) hide show
  1. onedatarestfsspec-25.0.0/.gitignore +13 -0
  2. onedatarestfsspec-25.0.0/.gitlab-ci.yml +86 -0
  3. onedatarestfsspec-25.0.0/.gitmodules +9 -0
  4. onedatarestfsspec-25.0.0/.pylintrc +498 -0
  5. onedatarestfsspec-25.0.0/LICENSE.txt +10 -0
  6. onedatarestfsspec-25.0.0/Makefile +113 -0
  7. onedatarestfsspec-25.0.0/PKG-INFO +395 -0
  8. onedatarestfsspec-25.0.0/README.md +355 -0
  9. onedatarestfsspec-25.0.0/ct_run.py +188 -0
  10. onedatarestfsspec-25.0.0/examples/basic_usage.py +130 -0
  11. onedatarestfsspec-25.0.0/onedatarestfsspec/__init__.py +6 -0
  12. onedatarestfsspec-25.0.0/onedatarestfsspec/config.py +88 -0
  13. onedatarestfsspec-25.0.0/onedatarestfsspec/core.py +740 -0
  14. onedatarestfsspec-25.0.0/onedatarestfsspec/metrics.py +277 -0
  15. onedatarestfsspec-25.0.0/onedatarestfsspec/utils.py +138 -0
  16. onedatarestfsspec-25.0.0/onedatarestfsspec.egg-info/PKG-INFO +395 -0
  17. onedatarestfsspec-25.0.0/onedatarestfsspec.egg-info/SOURCES.txt +29 -0
  18. onedatarestfsspec-25.0.0/onedatarestfsspec.egg-info/dependency_links.txt +1 -0
  19. onedatarestfsspec-25.0.0/onedatarestfsspec.egg-info/entry_points.txt +2 -0
  20. onedatarestfsspec-25.0.0/onedatarestfsspec.egg-info/requires.txt +18 -0
  21. onedatarestfsspec-25.0.0/onedatarestfsspec.egg-info/top_level.txt +1 -0
  22. onedatarestfsspec-25.0.0/pyproject.toml +76 -0
  23. onedatarestfsspec-25.0.0/setup.cfg +4 -0
  24. onedatarestfsspec-25.0.0/tests/__init__.py +1 -0
  25. onedatarestfsspec-25.0.0/tests/conftest.py +195 -0
  26. onedatarestfsspec-25.0.0/tests/test_config.py +138 -0
  27. onedatarestfsspec-25.0.0/tests/test_core.py +382 -0
  28. onedatarestfsspec-25.0.0/tests/test_env_config.yaml +72 -0
  29. onedatarestfsspec-25.0.0/tests/test_fs.py +593 -0
  30. onedatarestfsspec-25.0.0/tests/test_onedatarestfsspec.py +189 -0
  31. onedatarestfsspec-25.0.0/tests/test_utils.py +163 -0
@@ -0,0 +1,13 @@
1
+ __pycache__
2
+ .idea
3
+ .coverage
4
+ .tox
5
+ .coverage
6
+ onedatafsspec.egg-info/
7
+ onedatarestfsspec.egg-info/
8
+ test.py
9
+ onedatafsspec-tests-results.xml
10
+ onedatarestfsspec-tests-results.xml
11
+ dist/
12
+ build/
13
+ tests/README_integration.md
@@ -0,0 +1,86 @@
1
+ # GitLab CI/CD Pipeline for onedatarestfsspec library
2
+
3
+ stages:
4
+ - test
5
+ - build
6
+
7
+ variables:
8
+ # Use the latest Python 3.12 image
9
+ PYTHON_VERSION: "3.12"
10
+
11
+ # Test stage - run unit tests
12
+ test:
13
+ stage: test
14
+ image: python:${PYTHON_VERSION}
15
+ before_script:
16
+ # Install uv package manager
17
+ - pip install uv
18
+ # Sync dependencies using uv
19
+ - uv sync --extra dev
20
+ script:
21
+ # Run pytest unit tests with coverage reporting
22
+ - uv run pytest --verbose --tb=short --cov=onedatarestfsspec --cov-report=term-missing --cov-report=xml -m "not integration"
23
+ artifacts:
24
+ paths:
25
+ - coverage.xml
26
+ expire_in: 1 week
27
+ coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
28
+ rules:
29
+ - if: $CI_PIPELINE_SOURCE == "push"
30
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
31
+
32
+ # Lint stage - code quality checks
33
+ lint:
34
+ stage: test
35
+ image: python:${PYTHON_VERSION}
36
+ before_script:
37
+ - pip install uv
38
+ - uv sync --extra dev
39
+ # Install linting tools
40
+ - uv add --dev ruff black mypy
41
+ script:
42
+ # Run code formatting check
43
+ - uv run black --check --diff onedatarestfsspec/ tests/
44
+ # Run linting
45
+ - uv run ruff check onedatarestfsspec/ tests/
46
+ # Run type checking
47
+ - uv run mypy onedatarestfsspec/ --ignore-missing-imports
48
+ allow_failure: true
49
+ rules:
50
+ - if: $CI_PIPELINE_SOURCE == "push"
51
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
52
+
53
+ # Build stage - verify package can be built
54
+ build:
55
+ stage: build
56
+ image: python:${PYTHON_VERSION}
57
+ before_script:
58
+ - pip install uv
59
+ - uv sync --extra dev
60
+ script:
61
+ # Build the package
62
+ - uv build
63
+ # Verify the built package
64
+ - ls -la dist/
65
+ artifacts:
66
+ paths:
67
+ - dist/
68
+ expire_in: 1 week
69
+ rules:
70
+ - if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
71
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
72
+
73
+ # Cache configuration
74
+ default:
75
+ cache:
76
+ key: "${CI_JOB_NAME}-${CI_COMMIT_REF_SLUG}"
77
+ paths:
78
+ - .venv/
79
+ policy: pull-push
80
+
81
+ # Job templates for reusability
82
+ .python_setup: &python_setup
83
+ before_script:
84
+ - python --version
85
+ - pip install uv
86
+ - uv sync --extra dev
@@ -0,0 +1,9 @@
1
+ [submodule "bamboos"]
2
+ path = bamboos
3
+ url = ../bamboos.git
4
+ [submodule "one-env"]
5
+ path = one-env
6
+ url = ../one-env.git
7
+ [submodule "onedatafilerestclient"]
8
+ path = onedatafilerestclient
9
+ url = ../onedatafilerestclient.git
@@ -0,0 +1,498 @@
1
+ [MASTER]
2
+
3
+ # A comma-separated list of package or module names from where C extensions may
4
+ # be loaded. Extensions are loading into the active Python interpreter and may
5
+ # run arbitrary code.
6
+ #extension-pkg-whitelist=
7
+
8
+ # Add files or directories to the blacklist. They should be base names, not
9
+ # paths.
10
+ ignore=CVS
11
+
12
+ # Add files or directories matching the regex patterns to the blacklist. The
13
+ # regex matches against base names, not paths.
14
+ ignore-patterns=
15
+
16
+ # Python code to execute, usually for sys.path manipulation such as
17
+ # pygtk.require().
18
+ #init-hook=
19
+
20
+ # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
21
+ # number of processors available to use.
22
+ jobs=1
23
+
24
+ # Control the amount of potential inferred values when inferring a single
25
+ # object. This can help the performance when dealing with large functions or
26
+ # complex, nested conditions.
27
+ limit-inference-results=100
28
+
29
+ # List of plugins (as comma separated values of python module names) to load,
30
+ # usually to register additional checkers.
31
+ load-plugins=
32
+
33
+ # Pickle collected data for later comparisons.
34
+ persistent=yes
35
+
36
+ # Specify a configuration file.
37
+ #rcfile=
38
+
39
+ # Allow loading of arbitrary C extensions. Extensions are imported into the
40
+ # active Python interpreter and may run arbitrary code.
41
+ unsafe-load-any-extension=no
42
+
43
+
44
+ [MESSAGES CONTROL]
45
+
46
+ # Only show warnings with the listed confidence levels. Leave empty to show
47
+ # all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED.
48
+ confidence=
49
+
50
+ # Disable the message, report, category or checker with the given id(s). You
51
+ # can either give multiple identifiers separated by comma (,) or put this
52
+ # option multiple times (only on the command line, not in the configuration
53
+ # file where it should appear only once). You can also use "--disable=all" to
54
+ # disable everything first and then reenable specific checks. For example, if
55
+ # you want to run only the similarities checker, you can use "--disable=all
56
+ # --enable=similarities". If you want to run only the classes checker, but have
57
+ # no Warning level messages displayed, use "--disable=all --enable=classes
58
+ # --disable=W".
59
+ disable=too-many-arguments,
60
+ missing-timeout,
61
+ no-name-in-module,
62
+ import-error,
63
+ redefined-outer-name,
64
+ c-extension-no-member
65
+
66
+
67
+ # Enable the message, report, category or checker with the given id(s). You can
68
+ # either give multiple identifier separated by comma (,) or put this option
69
+ # multiple time (only on the command line, not in the configuration file where
70
+ # it should appear only once). See also the "--disable" option for examples.
71
+ enable=
72
+
73
+
74
+ [REPORTS]
75
+
76
+ # Python expression which should return a score less than or equal to 10. You
77
+ # have access to the variables 'error', 'warning', 'refactor', and 'convention'
78
+ # which contain the number of messages in each category, as well as 'statement'
79
+ # which is the total number of statements analyzed. This score is used by the
80
+ # global evaluation report (RP0004).
81
+ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
82
+
83
+ # Template used to display messages. This is a python new-style format string
84
+ # used to format the message information. See doc for all details.
85
+ #msg-template=
86
+
87
+ # Set the output format. Available formats are text, parseable, colorized, json
88
+ # and msvs (visual studio). You can also give a reporter class, e.g.
89
+ # mypackage.mymodule.MyReporterClass.
90
+ output-format=text
91
+
92
+ # Tells whether to display a full report or only the messages.
93
+ reports=no
94
+
95
+ # Activate the evaluation score.
96
+ score=yes
97
+
98
+
99
+ [REFACTORING]
100
+
101
+ # Maximum number of nested blocks for function / method body
102
+ max-nested-blocks=5
103
+
104
+ # Complete name of functions that never returns. When checking for
105
+ # inconsistent-return-statements if a never returning function is called then
106
+ # it will be considered as an explicit return statement and no message will be
107
+ # printed.
108
+ never-returning-functions=sys.exit
109
+
110
+
111
+ [STRING]
112
+
113
+ # This flag controls whether the implicit-str-concat-in-sequence should
114
+ # generate a warning on implicit string concatenation in sequences defined over
115
+ # several lines.
116
+ check-str-concat-over-line-jumps=no
117
+
118
+
119
+ [TYPECHECK]
120
+
121
+ # List of decorators that produce context managers, such as
122
+ # contextlib.contextmanager. Add to this list to register other decorators that
123
+ # produce valid context managers.
124
+ contextmanager-decorators=contextlib.contextmanager
125
+
126
+ # List of members which are set dynamically and missed by pylint inference
127
+ # system, and so shouldn't trigger E1101 when accessed. Python regular
128
+ # expressions are accepted.
129
+ generated-members=
130
+
131
+ # Tells whether missing members accessed in mixin class should be ignored. A
132
+ # mixin class is detected if its name ends with "mixin" (case insensitive).
133
+ ignore-mixin-members=yes
134
+
135
+ # Tells whether to warn about missing members when the owner of the attribute
136
+ # is inferred to be None.
137
+ ignore-none=yes
138
+
139
+ # This flag controls whether pylint should warn about no-member and similar
140
+ # checks whenever an opaque object is returned when inferring. The inference
141
+ # can return multiple potential results while evaluating a Python object, but
142
+ # some branches might not be evaluated, which results in partial inference. In
143
+ # that case, it might be useful to still emit no-member and other checks for
144
+ # the rest of the inferred objects.
145
+ ignore-on-opaque-inference=yes
146
+
147
+ # List of class names for which member attributes should not be checked (useful
148
+ # for classes with dynamically set attributes). This supports the use of
149
+ # qualified names.
150
+ ignored-classes=optparse.Values,thread._local,_thread._local
151
+
152
+ # List of module names for which member attributes should not be checked
153
+ # (useful for modules/projects where namespaces are manipulated during runtime
154
+ # and thus existing member attributes cannot be deduced by static analysis). It
155
+ # supports qualified module names, as well as Unix pattern matching.
156
+ ignored-modules=fs
157
+
158
+ # Show a hint with possible names when a member name was not found. The aspect
159
+ # of finding the hint is based on edit distance.
160
+ missing-member-hint=yes
161
+
162
+ # The minimum edit distance a name should have in order to be considered a
163
+ # similar match for a missing member name.
164
+ missing-member-hint-distance=1
165
+
166
+ # The total number of similar names that should be taken in consideration when
167
+ # showing a hint for a missing member.
168
+ missing-member-max-choices=1
169
+
170
+ # List of decorators that change the signature of a decorated function.
171
+ signature-mutators=
172
+
173
+
174
+ [BASIC]
175
+
176
+ # Naming style matching correct argument names.
177
+ argument-naming-style=snake_case
178
+
179
+ # Regular expression matching correct argument names. Overrides argument-
180
+ # naming-style.
181
+ #argument-rgx=
182
+
183
+ # Naming style matching correct attribute names.
184
+ attr-naming-style=snake_case
185
+
186
+ # Regular expression matching correct attribute names. Overrides attr-naming-
187
+ # style.
188
+ #attr-rgx=
189
+
190
+ # Bad variable names which should always be refused, separated by a comma.
191
+ bad-names=foo,
192
+ bar,
193
+ baz,
194
+ toto,
195
+ tutu,
196
+ tata
197
+
198
+ # Naming style matching correct class attribute names.
199
+ class-attribute-naming-style=any
200
+
201
+ # Regular expression matching correct class attribute names. Overrides class-
202
+ # attribute-naming-style.
203
+ #class-attribute-rgx=
204
+
205
+ # Naming style matching correct class names.
206
+ class-naming-style=PascalCase
207
+
208
+ # Regular expression matching correct class names. Overrides class-naming-
209
+ # style.
210
+ #class-rgx=
211
+
212
+ # Naming style matching correct constant names.
213
+ const-naming-style=UPPER_CASE
214
+
215
+ # Regular expression matching correct constant names. Overrides const-naming-
216
+ # style.
217
+ #const-rgx=
218
+
219
+ # Minimum line length for functions/classes that require docstrings, shorter
220
+ # ones are exempt.
221
+ docstring-min-length=-1
222
+
223
+ # Naming style matching correct function names.
224
+ function-naming-style=snake_case
225
+
226
+ # Regular expression matching correct function names. Overrides function-
227
+ # naming-style.
228
+ #function-rgx=
229
+
230
+ # Good variable names which should always be accepted, separated by a comma.
231
+ good-names=i,
232
+ j,
233
+ k,
234
+ ex,
235
+ Run,
236
+ _
237
+
238
+ # Include a hint for the correct naming format with invalid-name.
239
+ include-naming-hint=no
240
+
241
+ # Naming style matching correct inline iteration names.
242
+ inlinevar-naming-style=any
243
+
244
+ # Regular expression matching correct inline iteration names. Overrides
245
+ # inlinevar-naming-style.
246
+ #inlinevar-rgx=
247
+
248
+ # Naming style matching correct method names.
249
+ method-naming-style=snake_case
250
+
251
+ # Regular expression matching correct method names. Overrides method-naming-
252
+ # style.
253
+ #method-rgx=
254
+
255
+ # Naming style matching correct module names.
256
+ module-naming-style=snake_case
257
+
258
+ # Regular expression matching correct module names. Overrides module-naming-
259
+ # style.
260
+ #module-rgx=
261
+
262
+ # Colon-delimited sets of names that determine each other's naming style when
263
+ # the name regexes allow several styles.
264
+ name-group=
265
+
266
+ # Regular expression which should only match function or class names that do
267
+ # not require a docstring.
268
+ no-docstring-rgx=^_
269
+
270
+ # List of decorators that produce properties, such as abc.abstractproperty. Add
271
+ # to this list to register other decorators that produce valid properties.
272
+ # These decorators are taken in consideration only for invalid-name.
273
+ property-classes=abc.abstractproperty
274
+
275
+ # Naming style matching correct variable names.
276
+ variable-naming-style=snake_case
277
+
278
+ # Regular expression matching correct variable names. Overrides variable-
279
+ # naming-style.
280
+ #variable-rgx=
281
+
282
+
283
+ [FORMAT]
284
+
285
+ # Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
286
+ expected-line-ending-format=
287
+
288
+ # Regexp for a line that is allowed to be longer than the limit.
289
+ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
290
+
291
+ # Number of spaces of indent required inside a hanging or continued line.
292
+ indent-after-paren=4
293
+
294
+ # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
295
+ # tab).
296
+ indent-string=' '
297
+
298
+ # Maximum number of characters on a single line.
299
+ max-line-length=100
300
+
301
+ # Maximum number of lines in a module.
302
+ max-module-lines=2000
303
+
304
+ # Allow the body of a class to be on the same line as the declaration if body
305
+ # contains single statement.
306
+ single-line-class-stmt=no
307
+
308
+ # Allow the body of an if to be on the same line as the test if there is no
309
+ # else.
310
+ single-line-if-stmt=no
311
+
312
+
313
+ [LOGGING]
314
+
315
+ # Format style used to check logging format string. `old` means using %
316
+ # formatting, `new` is for `{}` formatting,and `fstr` is for f-strings.
317
+ logging-format-style=old
318
+
319
+ # Logging modules to check that the string format arguments are in logging
320
+ # function parameter format.
321
+ logging-modules=logging
322
+
323
+
324
+ [VARIABLES]
325
+
326
+ # List of additional names supposed to be defined in builtins. Remember that
327
+ # you should avoid defining new builtins when possible.
328
+ additional-builtins=
329
+
330
+ # Tells whether unused global variables should be treated as a violation.
331
+ allow-global-unused-variables=yes
332
+
333
+ # List of strings which can identify a callback function by name. A callback
334
+ # name must start or end with one of those strings.
335
+ callbacks=cb_,
336
+ _cb
337
+
338
+ # A regular expression matching the name of dummy variables (i.e. expected to
339
+ # not be used).
340
+ dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
341
+
342
+ # Argument names that match this expression will be ignored. Default to name
343
+ # with leading underscore.
344
+ ignored-argument-names=_.*|^ignored_|^unused_
345
+
346
+ # Tells whether we should check for unused import in __init__ files.
347
+ init-import=no
348
+
349
+ # List of qualified module names which can have objects that can redefine
350
+ # builtins.
351
+ redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io
352
+
353
+
354
+ [SIMILARITIES]
355
+
356
+ # Ignore comments when computing similarities.
357
+ ignore-comments=yes
358
+
359
+ # Ignore docstrings when computing similarities.
360
+ ignore-docstrings=yes
361
+
362
+ # Ignore imports when computing similarities.
363
+ ignore-imports=no
364
+
365
+ # Minimum lines number of a similarity.
366
+ min-similarity-lines=4
367
+
368
+
369
+ [MISCELLANEOUS]
370
+
371
+ # List of note tags to take in consideration, separated by a comma.
372
+ notes=FIXME,
373
+ XXX,
374
+ TODO
375
+
376
+
377
+ [SPELLING]
378
+
379
+ # Limits count of emitted suggestions for spelling mistakes.
380
+ max-spelling-suggestions=4
381
+
382
+ # Spelling dictionary name. Available dictionaries: none. To make it work,
383
+ # install the python-enchant package.
384
+ spelling-dict=
385
+
386
+ # List of comma separated words that should not be checked.
387
+ spelling-ignore-words=
388
+
389
+ # A path to a file that contains the private dictionary; one word per line.
390
+ spelling-private-dict-file=
391
+
392
+ # Tells whether to store unknown words to the private dictionary (see the
393
+ # --spelling-private-dict-file option) instead of raising a message.
394
+ spelling-store-unknown-words=no
395
+
396
+
397
+ [CLASSES]
398
+
399
+ # List of method names used to declare (i.e. assign) instance attributes.
400
+ defining-attr-methods=__init__,
401
+ __new__,
402
+ setUp,
403
+ __post_init__
404
+
405
+ # List of member names, which should be excluded from the protected access
406
+ # warning.
407
+ exclude-protected=_asdict,
408
+ _fields,
409
+ _replace,
410
+ _source,
411
+ _make
412
+
413
+ # List of valid names for the first argument in a class method.
414
+ valid-classmethod-first-arg=cls
415
+
416
+ # List of valid names for the first argument in a metaclass class method.
417
+ valid-metaclass-classmethod-first-arg=cls
418
+
419
+
420
+ [IMPORTS]
421
+
422
+ # List of modules that can be imported at any level, not just the top level
423
+ # one.
424
+ allow-any-import-level=
425
+
426
+ # Allow wildcard imports from modules that define __all__.
427
+ allow-wildcard-with-all=no
428
+
429
+ # Analyse import fallback blocks. This can be used to support both Python 2 and
430
+ # 3 compatible code, which means that the block might have code that exists
431
+ # only in one or another interpreter, leading to false positives when analysed.
432
+ analyse-fallback-blocks=no
433
+
434
+ # Deprecated modules which should not be used, separated by a comma.
435
+ deprecated-modules=optparse,tkinter.tix
436
+
437
+ # Create a graph of external dependencies in the given file (report RP0402 must
438
+ # not be disabled).
439
+ ext-import-graph=
440
+
441
+ # Create a graph of every (i.e. internal and external) dependencies in the
442
+ # given file (report RP0402 must not be disabled).
443
+ import-graph=
444
+
445
+ # Create a graph of internal dependencies in the given file (report RP0402 must
446
+ # not be disabled).
447
+ int-import-graph=
448
+
449
+ # Force import order to recognize a module as part of the standard
450
+ # compatibility libraries.
451
+ known-standard-library=
452
+
453
+ # Force import order to recognize a module as part of a third party library.
454
+ known-third-party=enchant
455
+
456
+ # Couples of modules and preferred modules, separated by a comma.
457
+ preferred-modules=
458
+
459
+
460
+ [DESIGN]
461
+
462
+ # Maximum number of arguments for function / method.
463
+ max-args=7
464
+
465
+ # Maximum number of attributes for a class (see R0902).
466
+ max-attributes=7
467
+
468
+ # Maximum number of boolean expressions in an if statement (see R0916).
469
+ max-bool-expr=5
470
+
471
+ # Maximum number of branch for function / method body.
472
+ max-branches=12
473
+
474
+ # Maximum number of locals for function / method body.
475
+ max-locals=15
476
+
477
+ # Maximum number of parents for a class (see R0901).
478
+ max-parents=7
479
+
480
+ # Maximum number of public methods for a class (see R0904).
481
+ max-public-methods=20
482
+
483
+ # Maximum number of return / yield for function / method body.
484
+ max-returns=6
485
+
486
+ # Maximum number of statements in function / method body.
487
+ max-statements=50
488
+
489
+ # Minimum number of public methods for a class (see R0903).
490
+ min-public-methods=2
491
+
492
+
493
+ [EXCEPTIONS]
494
+
495
+ # Exceptions that will emit a warning when being caught. Defaults to
496
+ # "BaseException, Exception".
497
+ overgeneral-exceptions=builtins.BaseException,
498
+ builtins.Exception
@@ -0,0 +1,10 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright © 2026- Onedata.org
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10
+