fameio 1.8.1__tar.gz → 2.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.
- fameio-2.0.0/CHANGELOG.md +204 -0
- fameio-2.0.0/LICENSES/Apache-2.0.txt +178 -0
- fameio-2.0.0/LICENSES/CC-BY-4.0.txt +395 -0
- fameio-2.0.0/LICENSES/CC0-1.0.txt +121 -0
- {fameio-1.8.1 → fameio-2.0.0}/PKG-INFO +694 -656
- fameio-1.8.1/src/fameio.egg-info/PKG-INFO → fameio-2.0.0/README.md +123 -115
- fameio-2.0.0/pyproject.toml +72 -0
- fameio-2.0.0/src/fameio/scripts/__init__.py +20 -0
- fameio-2.0.0/src/fameio/scripts/__init__.py.license +3 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/scripts/convert_results.py +30 -34
- fameio-2.0.0/src/fameio/scripts/convert_results.py.license +3 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/scripts/make_config.py +13 -16
- fameio-2.0.0/src/fameio/scripts/make_config.py.license +3 -0
- fameio-2.0.0/src/fameio/source/cli/__init__.py +3 -0
- fameio-2.0.0/src/fameio/source/cli/convert_results.py +75 -0
- fameio-2.0.0/src/fameio/source/cli/make_config.py +62 -0
- fameio-2.0.0/src/fameio/source/cli/options.py +59 -0
- fameio-2.0.0/src/fameio/source/cli/parser.py +238 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/loader.py +10 -11
- fameio-2.0.0/src/fameio/source/logs.py +83 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/results/conversion.py +12 -14
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/results/csv_writer.py +16 -5
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/results/data_transformer.py +3 -2
- fameio-2.0.0/src/fameio/source/results/input_dao.py +163 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/results/reader.py +25 -14
- fameio-2.0.0/src/fameio/source/results/yaml_writer.py +28 -0
- fameio-2.0.0/src/fameio/source/scenario/agent.py +116 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/scenario/attribute.py +9 -12
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/scenario/contract.py +55 -40
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/scenario/exception.py +11 -9
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/scenario/generalproperties.py +11 -17
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/scenario/scenario.py +19 -14
- fameio-2.0.0/src/fameio/source/schema/agenttype.py +132 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/schema/attribute.py +8 -7
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/schema/schema.py +24 -11
- fameio-2.0.0/src/fameio/source/series.py +169 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/time.py +8 -8
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/tools.py +13 -2
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/validator.py +138 -58
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/writer.py +108 -112
- fameio-1.8.1/README.md +0 -637
- fameio-1.8.1/setup.cfg +0 -4
- fameio-1.8.1/setup.py +0 -60
- fameio-1.8.1/src/fameio/scripts/__init__.py +0 -18
- fameio-1.8.1/src/fameio/source/cli.py +0 -253
- fameio-1.8.1/src/fameio/source/logs.py +0 -59
- fameio-1.8.1/src/fameio/source/scenario/agent.py +0 -99
- fameio-1.8.1/src/fameio/source/schema/agenttype.py +0 -84
- fameio-1.8.1/src/fameio/source/series.py +0 -48
- fameio-1.8.1/src/fameio.egg-info/SOURCES.txt +0 -44
- fameio-1.8.1/src/fameio.egg-info/dependency_links.txt +0 -1
- fameio-1.8.1/src/fameio.egg-info/entry_points.txt +0 -3
- fameio-1.8.1/src/fameio.egg-info/not-zip-safe +0 -1
- fameio-1.8.1/src/fameio.egg-info/requires.txt +0 -8
- fameio-1.8.1/src/fameio.egg-info/top_level.txt +0 -1
- {fameio-1.8.1 → fameio-2.0.0}/LICENSE.txt +0 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/__init__.py +0 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/__init__.py +0 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/path_resolver.py +0 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/results/__init__.py +0 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/results/agent_type.py +0 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/results/output_dao.py +0 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/scenario/__init__.py +0 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/scenario/fameiofactory.py +0 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/schema/__init__.py +0 -0
- {fameio-1.8.1 → fameio-2.0.0}/src/fameio/source/schema/exception.py +0 -0
@@ -0,0 +1,204 @@
|
|
1
|
+
<!-- SPDX-FileCopyrightText: 2023 German Aerospace Center <fame@dlr.de>
|
2
|
+
|
3
|
+
SPDX-License-Identifier: CC0-1.0 -->
|
4
|
+
|
5
|
+
# Changelog
|
6
|
+
|
7
|
+
## [2.0.0 - 2024-04-03](https://gitlab.com/fame-framework/fame-io/-/tags/v2.0.0)
|
8
|
+
### Changed
|
9
|
+
- **Breaking**: Removed support for `python==3.8` #163 (@dlr-cjs @dlr_fn)
|
10
|
+
- **Breaking**: Signature of `run` functions in `make_config.py` and `convert_results.py` changed: the input file is now read from the configuration dictionary #163 (@dlr-cjs @dlr_fn)
|
11
|
+
- **Breaking**: Created protobuf files now have a header section -> minimum required FAME-Core version is now 1.6.0 #183 (@dlr-cjs @dlr_fn)
|
12
|
+
- Raise error for NaN float values in scenario and time series #165 (@dlr-cjs @dlr_fn)
|
13
|
+
- Enhance Schema to include metadata and output fields #156 (@dlr-cjs @litotes18 @dlr_fn)
|
14
|
+
- Enhance Contracts to include metadata #158 (@dlr-cjs @litotes18 @dlr_fn)
|
15
|
+
- Enhance Agents to include metadata #159 (@dlr-cjs @litotes18 @dlr_fn)
|
16
|
+
- Improve general handling of CLI arguments #163 (@dlr_fn @dlr-cjs)
|
17
|
+
- Ensure `fameio` logger is used consistently !126 (@dlr-cjs @dlr_fn)
|
18
|
+
- Enhanced error message if mandatory attribute is not defined by logging `full_name` #177 (@dlr_fn)
|
19
|
+
- Switch to pyproject.toml #173 (@dlr-cjs)
|
20
|
+
- Restrict supported pandas versions #171 (@dlr-cjs)
|
21
|
+
- Enable to specify defaults for MERGE_TIME parameters #179 (@dlr-cjs)
|
22
|
+
- Conserve order of keys in YAML files #186 (@dlr-cjs @dlr_fn)
|
23
|
+
- Update to `fameprotobuf==1.4.0` #189 (@dlr-cjs @dlr_fn)
|
24
|
+
- Update `CHANGELOG.md` to conform with Common Changelog format #172 (@dlr-cjs @dlr_fn)
|
25
|
+
|
26
|
+
### Added
|
27
|
+
- Write Schema and Metadata of Contracts and Agents to protobuf file #160 (@dlr-cjs @litotes18 @dlr_fn)
|
28
|
+
- Add option to recover input data `--input-recovery`/`--no-input-recovery` #163 (@litotes18 @dlr_fn @dlr-cjs)
|
29
|
+
- Add pipeline tests for all major Python versions >= 3.8 #173 (@dlr-cjs)
|
30
|
+
- Read all input from protobuf file #162 (@dlr-cjs @litotes18 @dlr_fn)
|
31
|
+
- Write all input from protobuf to disk #163 (@litotes18 @dlr_fn @dlr-cjs)
|
32
|
+
- Add header section to input protobuf enabling recovering of inputs from protobuf #183 (@dlr-cjs @dlr_fn)
|
33
|
+
- Add pipeline tests for all major Python versions >= 3.8, < 3.12 #173 (@dlr-cjs)
|
34
|
+
- Enable comments in timeseries using '#' #184 (@dlr-cjs)
|
35
|
+
- Raise Warning if Agent has no Contracts attributed #187 (@dlr_fn)
|
36
|
+
- Add JOSS Paper in folder paper/ #139 (@dlr-cjs @litotes18 @dlr_fn)
|
37
|
+
- Add `CONTRIBUTING.md` #102 (@dlr-cjs @dlr_fn)
|
38
|
+
- Add `Citation.cff` #166 (@dlr-cjs)
|
39
|
+
|
40
|
+
### Removed
|
41
|
+
- Remove deprecated protobuf test !127 (@dlr-cjs @dlr_fn)
|
42
|
+
|
43
|
+
### Fixed
|
44
|
+
- Fix deprecated arguments in pandas groupby !129 (@maurerle)
|
45
|
+
- Fix breaking tests in Pytest 8.0 #176 (@dlr-cjs)
|
46
|
+
- Fix PyTests for Python 3.12 #182 (@dlr_fn)
|
47
|
+
|
48
|
+
## [1.8.1 - 2023-05-04](https://gitlab.com/fame-framework/fame-io/-/tags/v1.8.1)
|
49
|
+
### Fixed
|
50
|
+
- Fix fail of `ConvertFameResults` when `merge-times` was not specified
|
51
|
+
|
52
|
+
## [1.8.0 - 2023-04-14](https://gitlab.com/fame-framework/fame-io/-/tags/v1.8)
|
53
|
+
### Changed
|
54
|
+
- Update repository to be compliant to `REUSE` standard
|
55
|
+
- Accept custom `date_format` (default: `"%Y-%m-%d_%H:%M:%S"`) for `FameTime.convert_fame_time_step_to_datetime()`
|
56
|
+
- Parse command-line arguments case-insensitive for arguments with predefined options
|
57
|
+
- Handle potentially missing cli arguments in `cli.update_default_config` for `makeFameRunConfig` and `convertFameResults` in a robust way.
|
58
|
+
|
59
|
+
### Added
|
60
|
+
- **Breaking**: Add option to define conversion of time steps to given format (default=`UTC`) by `-t/--time {UTC, INT, FAME}` for `convertFameResults`
|
61
|
+
- Add option to merge time steps in results with `convertFameResults`
|
62
|
+
- Add pre-commit hooks enforcing high coding standards and reducing CI runner minutes during development
|
63
|
+
|
64
|
+
## [1.7.0 - 2023-02-20](https://gitlab.com/fame-framework/fame-io/-/tags/v1.7)
|
65
|
+
### Added
|
66
|
+
- Support dictionaries in Schema for field `Products` in elements of `AgentTypes`
|
67
|
+
- Support dictionaries in Schema for field `Values` in elements of `Attributes`
|
68
|
+
|
69
|
+
### Changed
|
70
|
+
- Use `Pathlib` for path handling
|
71
|
+
- Improve error message when no valid `YAML` file is specified for `makeFameRunConfig`
|
72
|
+
|
73
|
+
### Remove
|
74
|
+
- **Breaking**: `Products` in Schema no longer support single non-list values
|
75
|
+
|
76
|
+
## [1.6.3 - 2022-11-04](https://gitlab.com/fame-framework/fame-io/-/tags/v1.6.3)
|
77
|
+
### Added
|
78
|
+
- Allow parsing `Help` for `Attributes` in `schema`
|
79
|
+
|
80
|
+
## [1.6.1 - 2022-11-02](https://gitlab.com/fame-framework/fame-io/-/tags/v1.6.1)
|
81
|
+
### Changed
|
82
|
+
- Use existing logger if already set up to avoid duplicates when `fameio` is used as dependency in third party workflows
|
83
|
+
|
84
|
+
## [1.6.0 - 2022-07-08](https://gitlab.com/fame-framework/fame-io/-/tags/v1.6)
|
85
|
+
### Added
|
86
|
+
- Add option to enable memory saving mode using the flag `-m` or `--memory-saving`
|
87
|
+
- Add options to deal with complex indexed output columns using the flag `-cc` or `--complex-column` with
|
88
|
+
options `IGNORE`, `MERGE` or `SPLIT`
|
89
|
+
|
90
|
+
### Changed
|
91
|
+
- **Breaking**: Update requirement to `python>=3.8`
|
92
|
+
- **Breaking**: Update requirement to `fameprotobuf==v1.2`
|
93
|
+
- Enable parsing of protobuf output files > 2 GB
|
94
|
+
- Reduce memory profile for `convertFameResults`
|
95
|
+
- Extract `source` scripts relevant for `convertFameResults` to be hosted in subpackage `results`
|
96
|
+
|
97
|
+
## [1.5.4 - 2022-06-01](https://gitlab.com/fame-framework/fame-io/-/tags/v1.5.4)
|
98
|
+
### Changed
|
99
|
+
- Limit `protobuf` dependency to `>=3.19,<4.0`
|
100
|
+
|
101
|
+
## [1.5.3 - 2022-03-18](https://gitlab.com/fame-framework/fame-io/-/tags/v1.5.3)
|
102
|
+
### Changed
|
103
|
+
- Harmonize interface with `famegui`
|
104
|
+
- Return `None` on failure of `resolve_series_file_path` instead of raising a `FileNotFoundError`
|
105
|
+
|
106
|
+
## [1.5.2 - 2022-03-10](https://gitlab.com/fame-framework/fame-io/-/tags/v1.5.2)
|
107
|
+
### Changed
|
108
|
+
- Allow interfacing of `famegui` with `scenario` (e.g. serialization, error handling)
|
109
|
+
- Move `scenario` validation to `validator.py`
|
110
|
+
- Extract `path_resolver.py`
|
111
|
+
- Increase test coverage by incorporating [AMIRIS examples](https://gitlab.com/dlr-ve/esy/amiris/examples)
|
112
|
+
|
113
|
+
## [1.5.1 - 2022-01-10](https://gitlab.com/fame-framework/fame-io/-/tags/v1.5.1)
|
114
|
+
### Added
|
115
|
+
- Provide documentation on installation using `pipx`
|
116
|
+
- Add optional argument `-se`/`--singleexport` for exporting individual files for each agent
|
117
|
+
- Add compatibility hook for `famegui` integration
|
118
|
+
|
119
|
+
### Changed
|
120
|
+
- Refactor `scenario.py`
|
121
|
+
- Ensure code formatting using `black`
|
122
|
+
|
123
|
+
## [1.5.0 - 2021-06-30](https://gitlab.com/fame-framework/fame-io/-/tags/v1.5)
|
124
|
+
### Added
|
125
|
+
- Support specifying an output folder in command line interface of `convert_results.py`
|
126
|
+
|
127
|
+
### Changed
|
128
|
+
- Update to latest protobuf package
|
129
|
+
- Refactor code
|
130
|
+
|
131
|
+
## [1.4.0 - 2021-06-10](https://gitlab.com/fame-framework/fame-io/-/tags/v1.4)
|
132
|
+
### Added
|
133
|
+
- Enable "Default" values for Attributes - these are used in case a mandatory attribute is not specified in the Scenario
|
134
|
+
- Allow "List" Attributes with multiple values
|
135
|
+
- Add new AttributeTypes "Long", "String" and "TimeStamp"
|
136
|
+
- Add compact definition of multiple contracts: enable lists for senders and receivers
|
137
|
+
|
138
|
+
### Changed
|
139
|
+
- **Breaking**: Update requirement to `fameprotobuf==1.1.4`
|
140
|
+
- Refactor `make_config.py`: split into several classes and packages, improved exception handling
|
141
|
+
- Switch to pytest and improved test coverage
|
142
|
+
- Make keywords in Schema and Scenario case-insensitive
|
143
|
+
- Improve validations for Schema and Scenario
|
144
|
+
|
145
|
+
### Fixed
|
146
|
+
- Fixed minor bugs
|
147
|
+
|
148
|
+
## [1.3.0 - 2021-04-13](https://gitlab.com/fame-framework/fame-io/-/tags/v1.3)
|
149
|
+
### Added
|
150
|
+
- Enable `Attributes` in agents (formerly known as `Fields`) to be structured in complex tree-like data dictionaries
|
151
|
+
- Allow contracts to support `Attributes` of type `int`, `float`, `enum` or `dict`
|
152
|
+
- Add coverage report badge
|
153
|
+
- Add `CHANGELOG.md`
|
154
|
+
|
155
|
+
### Changed
|
156
|
+
- **Breaking**: Use new format `DataStorage` for input and output protobuf files allowing `FAME-Core` input and output to be written to the same file (requires `FAME-Core > 1.0`)
|
157
|
+
- **Breaking**: Update requirement to `fameprotobuf==1.1.2`
|
158
|
+
- Enable automatic detection of `TimeStamps` by string format and conversion to int64
|
159
|
+
- Raise proper error when file can not be loaded triggered by `!include` command
|
160
|
+
- Raise critical error when trying to convert empty protobuf output file
|
161
|
+
- Check if `product` in `contract` is valid according to `schema.yaml`
|
162
|
+
|
163
|
+
## [1.2.4 - 2021-02-26](https://gitlab.com/fame-framework/fame-io/-/tags/v1.2.4)
|
164
|
+
### Changed
|
165
|
+
- Move `is_compatible` function to class `AttributeType`
|
166
|
+
|
167
|
+
## [1.2.3 - 2021-02-24](https://gitlab.com/fame-framework/fame-io/-/tags/v1.2.3)
|
168
|
+
### Fixed
|
169
|
+
- Fix file prefix `IGNORE_` (used when loading a set of contract files with the !include argument) is now working consistently
|
170
|
+
|
171
|
+
## [1.2.2 - 2021-02-18](https://gitlab.com/fame-framework/fame-io/-/tags/v1.2.2)
|
172
|
+
### Changed
|
173
|
+
- **Breaking**: Rename `fieldtype` to `attributetype` in `schema.yaml`
|
174
|
+
- Derive protobuf imports from `fameprotobuf` package
|
175
|
+
- Improve handling of cases for keys in `scenario.yaml`
|
176
|
+
- Improve handling of time stamp strings
|
177
|
+
|
178
|
+
## [1.2.1 - 2021-02-10](https://gitlab.com/fame-framework/fame-io/-/tags/v1.2.1)
|
179
|
+
### Changed
|
180
|
+
- Improve key handling for contracts which are now case-insensitive
|
181
|
+
|
182
|
+
## [1.2.0 - 2021-02-04](https://gitlab.com/fame-framework/fame-io/-/tags/v1.2)
|
183
|
+
### Added
|
184
|
+
- Add `!include` command to yaml loading to allow integrating additional yaml files
|
185
|
+
|
186
|
+
### Changed
|
187
|
+
- **Breaking**: Rename package to `fameio`
|
188
|
+
- Improve executables
|
189
|
+
- Restructure logging
|
190
|
+
- Improve documentation
|
191
|
+
|
192
|
+
### Fixed
|
193
|
+
- Fix bugs
|
194
|
+
|
195
|
+
## [1.1.0 - 2020-12-09](https://gitlab.com/fame-framework/fame-io/-/tags/v1.1)
|
196
|
+
### Added
|
197
|
+
- Package to PyPI
|
198
|
+
- Provide executables for calling `makeFameRunConfig` and `convertFameResults`
|
199
|
+
|
200
|
+
### Changed
|
201
|
+
- Improve documentation
|
202
|
+
|
203
|
+
## [1.0.0 - 2020-11-17](https://gitlab.com/fame-framework/fame-io/-/tags/v1.0)
|
204
|
+
_Initial release of `famepy`_
|
@@ -0,0 +1,178 @@
|
|
1
|
+
Copyright 2020 German Aerospace Center
|
2
|
+
|
3
|
+
Apache License
|
4
|
+
Version 2.0, January 2004
|
5
|
+
http://www.apache.org/licenses/
|
6
|
+
|
7
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
8
|
+
|
9
|
+
1. Definitions.
|
10
|
+
|
11
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
12
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
13
|
+
|
14
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
15
|
+
the copyright owner that is granting the License.
|
16
|
+
|
17
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
18
|
+
other entities that control, are controlled by, or are under common
|
19
|
+
control with that entity. For the purposes of this definition,
|
20
|
+
"control" means (i) the power, direct or indirect, to cause the
|
21
|
+
direction or management of such entity, whether by contract or
|
22
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
23
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
24
|
+
|
25
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
26
|
+
exercising permissions granted by this License.
|
27
|
+
|
28
|
+
"Source" form shall mean the preferred form for making modifications,
|
29
|
+
including but not limited to software source code, documentation
|
30
|
+
source, and configuration files.
|
31
|
+
|
32
|
+
"Object" form shall mean any form resulting from mechanical
|
33
|
+
transformation or translation of a Source form, including but
|
34
|
+
not limited to compiled object code, generated documentation,
|
35
|
+
and conversions to other media types.
|
36
|
+
|
37
|
+
"Work" shall mean the work of authorship, whether in Source or
|
38
|
+
Object form, made available under the License, as indicated by a
|
39
|
+
copyright notice that is included in or attached to the work
|
40
|
+
(an example is provided in the Appendix below).
|
41
|
+
|
42
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
43
|
+
form, that is based on (or derived from) the Work and for which the
|
44
|
+
editorial revisions, annotations, elaborations, or other modifications
|
45
|
+
represent, as a whole, an original work of authorship. For the purposes
|
46
|
+
of this License, Derivative Works shall not include works that remain
|
47
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
48
|
+
the Work and Derivative Works thereof.
|
49
|
+
|
50
|
+
"Contribution" shall mean any work of authorship, including
|
51
|
+
the original version of the Work and any modifications or additions
|
52
|
+
to that Work or Derivative Works thereof, that is intentionally
|
53
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
54
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
55
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
56
|
+
means any form of electronic, verbal, or written communication sent
|
57
|
+
to the Licensor or its representatives, including but not limited to
|
58
|
+
communication on electronic mailing lists, source code control systems,
|
59
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
60
|
+
Licensor for the purpose of discussing and improving the Work, but
|
61
|
+
excluding communication that is conspicuously marked or otherwise
|
62
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
63
|
+
|
64
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
65
|
+
on behalf of whom a Contribution has been received by Licensor and
|
66
|
+
subsequently incorporated within the Work.
|
67
|
+
|
68
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
69
|
+
this License, each Contributor hereby grants to You a perpetual,
|
70
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
71
|
+
copyright license to reproduce, prepare Derivative Works of,
|
72
|
+
publicly display, publicly perform, sublicense, and distribute the
|
73
|
+
Work and such Derivative Works in Source or Object form.
|
74
|
+
|
75
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
76
|
+
this License, each Contributor hereby grants to You a perpetual,
|
77
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
78
|
+
(except as stated in this section) patent license to make, have made,
|
79
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
80
|
+
where such license applies only to those patent claims licensable
|
81
|
+
by such Contributor that are necessarily infringed by their
|
82
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
83
|
+
with the Work to which such Contribution(s) was submitted. If You
|
84
|
+
institute patent litigation against any entity (including a
|
85
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
86
|
+
or a Contribution incorporated within the Work constitutes direct
|
87
|
+
or contributory patent infringement, then any patent licenses
|
88
|
+
granted to You under this License for that Work shall terminate
|
89
|
+
as of the date such litigation is filed.
|
90
|
+
|
91
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
92
|
+
Work or Derivative Works thereof in any medium, with or without
|
93
|
+
modifications, and in Source or Object form, provided that You
|
94
|
+
meet the following conditions:
|
95
|
+
|
96
|
+
(a) You must give any other recipients of the Work or
|
97
|
+
Derivative Works a copy of this License; and
|
98
|
+
|
99
|
+
(b) You must cause any modified files to carry prominent notices
|
100
|
+
stating that You changed the files; and
|
101
|
+
|
102
|
+
(c) You must retain, in the Source form of any Derivative Works
|
103
|
+
that You distribute, all copyright, patent, trademark, and
|
104
|
+
attribution notices from the Source form of the Work,
|
105
|
+
excluding those notices that do not pertain to any part of
|
106
|
+
the Derivative Works; and
|
107
|
+
|
108
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
109
|
+
distribution, then any Derivative Works that You distribute must
|
110
|
+
include a readable copy of the attribution notices contained
|
111
|
+
within such NOTICE file, excluding those notices that do not
|
112
|
+
pertain to any part of the Derivative Works, in at least one
|
113
|
+
of the following places: within a NOTICE text file distributed
|
114
|
+
as part of the Derivative Works; within the Source form or
|
115
|
+
documentation, if provided along with the Derivative Works; or,
|
116
|
+
within a display generated by the Derivative Works, if and
|
117
|
+
wherever such third-party notices normally appear. The contents
|
118
|
+
of the NOTICE file are for informational purposes only and
|
119
|
+
do not modify the License. You may add Your own attribution
|
120
|
+
notices within Derivative Works that You distribute, alongside
|
121
|
+
or as an addendum to the NOTICE text from the Work, provided
|
122
|
+
that such additional attribution notices cannot be construed
|
123
|
+
as modifying the License.
|
124
|
+
|
125
|
+
You may add Your own copyright statement to Your modifications and
|
126
|
+
may provide additional or different license terms and conditions
|
127
|
+
for use, reproduction, or distribution of Your modifications, or
|
128
|
+
for any such Derivative Works as a whole, provided Your use,
|
129
|
+
reproduction, and distribution of the Work otherwise complies with
|
130
|
+
the conditions stated in this License.
|
131
|
+
|
132
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
133
|
+
any Contribution intentionally submitted for inclusion in the Work
|
134
|
+
by You to the Licensor shall be under the terms and conditions of
|
135
|
+
this License, without any additional terms or conditions.
|
136
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
137
|
+
the terms of any separate license agreement you may have executed
|
138
|
+
with Licensor regarding such Contributions.
|
139
|
+
|
140
|
+
6. Trademarks. This License does not grant permission to use the trade
|
141
|
+
names, trademarks, service marks, or product names of the Licensor,
|
142
|
+
except as required for reasonable and customary use in describing the
|
143
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
144
|
+
|
145
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
146
|
+
agreed to in writing, Licensor provides the Work (and each
|
147
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
148
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
149
|
+
implied, including, without limitation, any warranties or conditions
|
150
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
151
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
152
|
+
appropriateness of using or redistributing the Work and assume any
|
153
|
+
risks associated with Your exercise of permissions under this License.
|
154
|
+
|
155
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
156
|
+
whether in tort (including negligence), contract, or otherwise,
|
157
|
+
unless required by applicable law (such as deliberate and grossly
|
158
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
159
|
+
liable to You for damages, including any direct, indirect, special,
|
160
|
+
incidental, or consequential damages of any character arising as a
|
161
|
+
result of this License or out of the use or inability to use the
|
162
|
+
Work (including but not limited to damages for loss of goodwill,
|
163
|
+
work stoppage, computer failure or malfunction, or any and all
|
164
|
+
other commercial damages or losses), even if such Contributor
|
165
|
+
has been advised of the possibility of such damages.
|
166
|
+
|
167
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
168
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
169
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
170
|
+
or other liability obligations and/or rights consistent with this
|
171
|
+
License. However, in accepting such obligations, You may act only
|
172
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
173
|
+
of any other Contributor, and only if You agree to indemnify,
|
174
|
+
defend, and hold each Contributor harmless for any liability
|
175
|
+
incurred by, or claims asserted against, such Contributor by reason
|
176
|
+
of your accepting any such warranty or additional liability.
|
177
|
+
|
178
|
+
END OF TERMS AND CONDITIONS
|