evo-files 0.1.0__py3-none-any.whl

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.
@@ -0,0 +1,124 @@
1
+ # Copyright © 2025 Bentley Systems, Incorporated
2
+ # Licensed under the Apache License, Version 2.0 (the "License");
3
+ # you may not use this file except in compliance with the License.
4
+ # You may obtain a copy of the License at
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ # Unless required by applicable law or agreed to in writing, software
7
+ # distributed under the License is distributed on an "AS IS" BASIS,
8
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ # See the License for the specific language governing permissions and
10
+ # limitations under the License.
11
+
12
+ # generated by datamodel-codegen:
13
+ # filename: spec.yaml
14
+
15
+ from __future__ import annotations
16
+
17
+ from datetime import datetime
18
+ from typing import Annotated
19
+ from uuid import UUID
20
+
21
+ from pydantic import Field, StrictInt, StrictStr
22
+
23
+ from .._model_config import CustomBaseModel
24
+
25
+
26
+ class ListFileLinks(CustomBaseModel):
27
+ self: Annotated[StrictStr, Field(title="Self")]
28
+
29
+
30
+ class ListFilesResponseLinks(CustomBaseModel):
31
+ next: Annotated[StrictStr | None, Field(title="Next")] = None
32
+ prev: Annotated[StrictStr | None, Field(title="Prev")] = None
33
+ self: Annotated[StrictStr, Field(title="Self")]
34
+
35
+
36
+ class UploadFileResponse(CustomBaseModel):
37
+ """
38
+ Upload file response
39
+ """
40
+
41
+ file_id: Annotated[UUID, Field(title="File Id")]
42
+ upload: Annotated[StrictStr, Field(title="Upload")]
43
+ version_id: Annotated[StrictStr, Field(title="Version Id")]
44
+
45
+
46
+ class UserInfo(CustomBaseModel):
47
+ email: Annotated[StrictStr | None, Field(examples=["kim@example.test"], title="Email Address")] = None
48
+ """
49
+ The primary email address of the user. Can be null if an error occurred while retrieving this information.
50
+ """
51
+ id: Annotated[UUID, Field(examples=["59b73891-5538-4e45-ae67-f8c5b00d7405"], title="User ID")]
52
+ """
53
+ The ID of the user
54
+ """
55
+ name: Annotated[StrictStr | None, Field(examples=["Kim Kim"], title="Full Name")] = None
56
+ """
57
+ The full name of the user. Can be null if an error occurred while retrieving this information.
58
+ """
59
+
60
+
61
+ class FileVersionResponse(CustomBaseModel):
62
+ """
63
+ Metadata for specific file version
64
+ """
65
+
66
+ created_at: Annotated[datetime, Field(title="Created At")]
67
+ created_by: UserInfo | None = None
68
+ file_id: Annotated[UUID, Field(title="File Id")]
69
+ link: Annotated[StrictStr, Field(title="Link")]
70
+ name: Annotated[StrictStr, Field(title="Name")]
71
+ path: Annotated[StrictStr, Field(title="Path")]
72
+ size: Annotated[StrictInt, Field(title="Size")]
73
+ version_id: Annotated[StrictStr, Field(title="Version Id")]
74
+
75
+
76
+ class ListFile(CustomBaseModel):
77
+ created_at: Annotated[datetime, Field(title="Created At")]
78
+ created_by: UserInfo | None = None
79
+ deleted_at: Annotated[datetime | None, Field(title="Deleted At")] = None
80
+ deleted_by: UserInfo | None = None
81
+ etag: Annotated[StrictStr, Field(title="Etag")]
82
+ file_id: Annotated[UUID, Field(title="File Id")]
83
+ links: ListFileLinks
84
+ modified_at: Annotated[datetime, Field(title="Modified At")]
85
+ modified_by: UserInfo | None = None
86
+ name: Annotated[StrictStr, Field(title="Name")]
87
+ path: Annotated[StrictStr, Field(title="Path")]
88
+ size: Annotated[StrictInt, Field(title="Size")]
89
+ version_id: Annotated[StrictStr, Field(title="Version Id")]
90
+
91
+
92
+ class ListFilesResponse(CustomBaseModel):
93
+ """
94
+ List files.
95
+ """
96
+
97
+ count: Annotated[StrictInt, Field(title="Count")]
98
+ files: Annotated[list[ListFile], Field(title="Files")]
99
+ limit: Annotated[StrictInt, Field(title="Limit")]
100
+ links: ListFilesResponseLinks
101
+ offset: Annotated[StrictInt, Field(title="Offset")]
102
+ total: Annotated[StrictInt, Field(title="Total")]
103
+
104
+
105
+ class DownloadFileResponse(CustomBaseModel):
106
+ """
107
+ Download file response.
108
+ """
109
+
110
+ created_at: Annotated[datetime, Field(title="Created At")]
111
+ created_by: UserInfo | None = None
112
+ deleted_at: Annotated[datetime | None, Field(title="Deleted At")] = None
113
+ deleted_by: UserInfo | None = None
114
+ download: Annotated[StrictStr, Field(title="Download")]
115
+ etag: Annotated[StrictStr, Field(title="Etag")]
116
+ file_id: Annotated[UUID, Field(title="File Id")]
117
+ modified_at: Annotated[datetime, Field(title="Modified At")]
118
+ modified_by: UserInfo | None = None
119
+ name: Annotated[StrictStr, Field(title="Name")]
120
+ path: Annotated[StrictStr, Field(title="Path")]
121
+ self: Annotated[StrictStr, Field(title="Self")]
122
+ size: Annotated[StrictInt, Field(title="Size")]
123
+ version_id: Annotated[StrictStr, Field(title="Version Id")]
124
+ versions: Annotated[list[FileVersionResponse] | None, Field(title="Versions")] = None
evo/files/io.py ADDED
@@ -0,0 +1,190 @@
1
+ # Copyright © 2025 Bentley Systems, Incorporated
2
+ # Licensed under the Apache License, Version 2.0 (the "License");
3
+ # you may not use this file except in compliance with the License.
4
+ # You may obtain a copy of the License at
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ # Unless required by applicable law or agreed to in writing, software
7
+ # distributed under the License is distributed on an "AS IS" BASIS,
8
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ # See the License for the specific language governing permissions and
10
+ # limitations under the License.
11
+
12
+ from __future__ import annotations
13
+
14
+ import asyncio
15
+ from pathlib import Path
16
+ from uuid import UUID
17
+
18
+ from evo.common import APIConnector, Environment, ICache
19
+ from evo.common.io import Download, Upload
20
+
21
+ from .data import FileMetadata
22
+ from .endpoints import FileV2Api
23
+
24
+ __all__ = [
25
+ "FileAPIDownload",
26
+ "FileAPIUpload",
27
+ ]
28
+
29
+ _CACHE_SCOPE = "filev2"
30
+ _INVALID_CHARS = {"<", ">", ":", '"', "/", "\\", "|", "?", "*"} | {chr(i) for i in range(32)}
31
+ _INVALID_TRAILING_CHARS = {" ", "."}
32
+ _INVALID_NAMES = {
33
+ "CON",
34
+ "PRN",
35
+ "AUX",
36
+ "NUL",
37
+ "COM1",
38
+ "COM2",
39
+ "COM3",
40
+ "COM4",
41
+ "COM5",
42
+ "COM6",
43
+ "COM7",
44
+ "COM8",
45
+ "COM9",
46
+ "LPT1",
47
+ "LPT2",
48
+ "LPT3",
49
+ "LPT4",
50
+ "LPT5",
51
+ "LPT6",
52
+ "LPT7",
53
+ "LPT8",
54
+ "LPT9",
55
+ }
56
+
57
+
58
+ def _quote_char(c: str) -> str:
59
+ return "%{:02X}".format(ord(c))
60
+
61
+
62
+ def _make_name_safe(name: str) -> str:
63
+ # Replace invalid characters with URL encoded form.
64
+ new_name = "".join(_quote_char(c) if c in _INVALID_CHARS else c for c in name)
65
+ # Replace invalid trailing characters with URL encoded form.
66
+ if new_name and new_name[-1] in _INVALID_TRAILING_CHARS:
67
+ new_name = new_name[:-1] + _quote_char(new_name[-1])
68
+ # Fix reserved names by replacing 'aux' with 'aux_' and 'aux.txt' with 'aux_.txt'.
69
+ parts = new_name.split(".", 1)
70
+ if parts[0].upper() in _INVALID_NAMES:
71
+ if len(parts) == 1:
72
+ new_name += "_"
73
+ else:
74
+ new_name = f"{parts[0]}_.{parts[1]}"
75
+ return new_name
76
+
77
+
78
+ class _FileIOMixin:
79
+ def __init__(self, connector: APIConnector, initial_url: str) -> None:
80
+ self._api = FileV2Api(connector)
81
+ self._mutex = asyncio.Lock()
82
+ self._initial_url = initial_url
83
+
84
+ async def _get_initial_url(self) -> str:
85
+ async with self._mutex:
86
+ if (url := self._initial_url) is not None:
87
+ self._initial_url = None
88
+ return url
89
+
90
+
91
+ class FileAPIUpload(Upload, _FileIOMixin):
92
+ """A context for uploading a file to the File API.
93
+
94
+ Do not use this class directly. Instead, use the `FileAPIClient.prepare_upload_by_*` methods.
95
+ """
96
+
97
+ def __init__(
98
+ self, connector: APIConnector, environment: Environment, file_id: UUID, version_id: str, initial_url: str
99
+ ) -> None:
100
+ """
101
+ :param connector: The connector to use for the API calls.
102
+ :param environment: The environment the file is being uploaded to.
103
+ :param file_id: The ID of the file that will be uploaded.
104
+ :param version_id: The version ID of the file that will be uploaded.
105
+ :param initial_url: The initial URL to use for the upload.
106
+ """
107
+ super().__init__(connector, initial_url)
108
+ self._environment = environment
109
+ self._id = file_id
110
+ self._version_id = version_id
111
+
112
+ @property
113
+ def label(self) -> str:
114
+ """The file and version ID for the file that is being uploaded."""
115
+ return f"{self._id}?version_id={self._version_id}"
116
+
117
+ async def get_upload_url(self) -> str:
118
+ """Generate a URL that will be used to upload the resource.
119
+
120
+ This method may be called multiple times to generate a new URL if the last URL expires.
121
+
122
+ :returns: The upload URL.
123
+ """
124
+ # Use the initial URL first.
125
+ if (url := await self._get_initial_url()) is not None:
126
+ return url
127
+
128
+ # Otherwise, generate a new URL.
129
+ response = await self._api.update_file_by_id(
130
+ organisation_id=str(self._environment.org_id),
131
+ workspace_id=str(self._environment.workspace_id),
132
+ file_id=str(self._id),
133
+ version_id=self._version_id,
134
+ )
135
+ return response.upload
136
+
137
+
138
+ class FileAPIDownload(Download[FileMetadata], _FileIOMixin):
139
+ """A context for downloading a file from the File API.
140
+
141
+ Do not use this class directly. Instead, use the `FileAPIClient.prepare_download_by_*` methods.
142
+ """
143
+
144
+ def __init__(self, connector: APIConnector, metadata: FileMetadata, initial_url: str) -> None:
145
+ """
146
+ :param connector: The connector to use for the API calls.
147
+ :param metadata: The metadata of the file that wil be downloaded.
148
+ :param initial_url: The initial URL to use for the download.
149
+ """
150
+ super().__init__(connector, initial_url)
151
+ self._metadata = metadata
152
+
153
+ @property
154
+ def label(self) -> str:
155
+ """The file and version ID for the file that is being downloaded."""
156
+ return f"{self.metadata.id}?version_id={self.metadata.version_id}"
157
+
158
+ @property
159
+ def metadata(self) -> FileMetadata:
160
+ """The metadata of the file that is being downloaded."""
161
+ return self._metadata
162
+
163
+ def _get_cache_location(self, cache: ICache) -> Path:
164
+ download_dir = (
165
+ cache.get_location(self.metadata.environment, _CACHE_SCOPE)
166
+ / str(self.metadata.id)
167
+ / self.metadata.version_id
168
+ )
169
+ download_dir.mkdir(parents=True, exist_ok=True)
170
+ return download_dir / _make_name_safe(self.metadata.name)
171
+
172
+ async def get_download_url(self) -> str:
173
+ """Generate a URL that will be used to download the resource.
174
+
175
+ This method may be called multiple times to generate a new URL if the last URL expires.
176
+
177
+ :returns: The download URL.
178
+ """
179
+ # Use the initial URL first.
180
+ if (url := await self._get_initial_url()) is not None:
181
+ return url
182
+
183
+ # Otherwise, generate a new URL.
184
+ response = await self._api.get_file_by_id(
185
+ organisation_id=str(self.metadata.environment.org_id),
186
+ workspace_id=str(self.metadata.environment.workspace_id),
187
+ file_id=str(self.metadata.id),
188
+ version_id=self.metadata.version_id,
189
+ )
190
+ return response.download
@@ -0,0 +1,58 @@
1
+ Metadata-Version: 2.4
2
+ Name: evo-files
3
+ Version: 0.1.0
4
+ Summary: Python SDK for using the Seequent Evo File API
5
+ Author-email: Seequent <support@seequent.com>
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE.md
9
+ Requires-Dist: evo-sdk-common>=0.1.0
10
+ Requires-Dist: pydantic<3,>=2
11
+ Provides-Extra: aiohttp
12
+ Requires-Dist: evo-sdk-common[aiohttp]>=0.1.0; extra == "aiohttp"
13
+ Provides-Extra: notebooks
14
+ Requires-Dist: evo-sdk-common[notebooks]>=0.1.0; extra == "notebooks"
15
+ Dynamic: license-file
16
+
17
+ <p align="center"><a href="https://seequent.com" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://developer.seequent.com/img/seequent-logo-dark.svg" alt="Seequent logo" width="400" /><img src="https://developer.seequent.com/img/seequent-logo.svg" alt="Seequent logo" width="400" /></picture></a></p>
18
+ <p align="center">
19
+ <a href="https://github.com/SeequentEvo/evo-python-sdk/actions/workflows/on-push.yaml"><img src="https://github.com/SeequentEvo/evo-python-sdk/actions/workflows/on-push.yaml/badge.svg" alt="" /></a>
20
+ </p>
21
+ <p align="center">
22
+ <a href="https://developer.seequent.com/" target="_blank">Seequent Developer Portal</a>
23
+ &bull; <a href="https://community.seequent.com/" target="_blank">Seequent Community</a>
24
+ &bull; <a href="https://seequent.com" target="_blank">Seequent website</a>
25
+ </p>
26
+
27
+ # Evo File API Client
28
+
29
+ The File API provides the ability to manage files of any type or size, associated with your Evo workspace.
30
+ Enable your product with Evo connected workflows by integrating with the Seequent Evo File API. Most file
31
+ formats and sizes are accepted.
32
+
33
+ ## Installation
34
+
35
+ ```
36
+ pip install evo-files
37
+ ```
38
+
39
+ ## Developing the library
40
+
41
+ For instructions on contributing to the development of this library, please refer to the [evo-python-sdk documentation](https://github.com/seequentevo/evo-python-sdk).
42
+
43
+ ## License
44
+ The Python SDK for Evo is open source and licensed under the [Apache 2.0 license.](./LICENSE.md).
45
+
46
+ Copyright © 2025 Bentley Systems, Incorporated.
47
+
48
+ Licensed under the Apache License, Version 2.0 (the "License").
49
+ You may obtain a copy of the License at
50
+
51
+ http://www.apache.org/licenses/LICENSE-2.0
52
+
53
+ Unless required by applicable law or agreed to in writing, software
54
+ distributed under the License is distributed on an "AS IS" BASIS,
55
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
56
+ See the License for the specific language governing permissions and
57
+ limitations under the License.
58
+
@@ -0,0 +1,14 @@
1
+ evo/files/__init__.py,sha256=jX2_a4BNg92QZFNEXaBpvpcSgbqRyOXrWx1JIkLUZqk,887
2
+ evo/files/_model_config.py,sha256=612yrPQyY-vquEboZdmSWkt8nT2ttbfBy476FyruV30,827
3
+ evo/files/client.py,sha256=-zfbeym3l9_3t-OjenWj-1k5ZVpLtpsNdmTiMi3PUVU,12847
4
+ evo/files/data.py,sha256=J9hieUY6LAeYhmIpRorMNcgjsYuSsO5R7_s1qnDAIlM,2380
5
+ evo/files/io.py,sha256=sSmuJZcKE7_m9NZH60eI0zF25PcHDpG47HzedwKy-o4,6397
6
+ evo/files/endpoints/__init__.py,sha256=UE77QavwbhokEtz8XmDl2p-z5fpsghraTgboDscq76A,1441
7
+ evo/files/endpoints/models.py,sha256=rz7wqkhfen9_wqQqj0mEUbKKnkA0AYniEe9QnoigdPY,4640
8
+ evo/files/endpoints/api/__init__.py,sha256=dHngHmRPwy-Kixoz7BP4ur4qzV4z9T2e8ccTqBtpuio,650
9
+ evo/files/endpoints/api/file_v2_api.py,sha256=mP3EiKbgmpw_Z5bzWmu-Fi3JuP9CsUpgN-9isywry3I,34127
10
+ evo_files-0.1.0.dist-info/licenses/LICENSE.md,sha256=HcFeRdOI-VP5WPEymQerlwLvEj2z_1Yh66RkN-wN7Oc,10778
11
+ evo_files-0.1.0.dist-info/METADATA,sha256=72xWJuaECBvWc_e0VrHD7dIhYaiubbv-qYlkqbe6iLY,2506
12
+ evo_files-0.1.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
13
+ evo_files-0.1.0.dist-info/top_level.txt,sha256=IzLrK1mG2bGw1cT2umqNfLw0GqQgmBQaeZYk3YlWe3o,4
14
+ evo_files-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (78.1.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,190 @@
1
+ Copyright © 2025 Bentley Systems, Incorporated.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
14
+
15
+ Apache License
16
+ Version 2.0, January 2004
17
+ http://www.apache.org/licenses/
18
+
19
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
20
+
21
+ 1. Definitions.
22
+
23
+ "License" shall mean the terms and conditions for use, reproduction,
24
+ and distribution as defined by Sections 1 through 9 of this document.
25
+
26
+ "Licensor" shall mean the copyright owner or entity authorized by
27
+ the copyright owner that is granting the License.
28
+
29
+ "Legal Entity" shall mean the union of the acting entity and all
30
+ other entities that control, are controlled by, or are under common
31
+ control with that entity. For the purposes of this definition,
32
+ "control" means (i) the power, direct or indirect, to cause the
33
+ direction or management of such entity, whether by contract or
34
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
35
+ outstanding shares, or (iii) beneficial ownership of such entity.
36
+
37
+ "You" (or "Your") shall mean an individual or Legal Entity
38
+ exercising permissions granted by this License.
39
+
40
+ "Source" form shall mean the preferred form for making modifications,
41
+ including but not limited to software source code, documentation
42
+ source, and configuration files.
43
+
44
+ "Object" form shall mean any form resulting from mechanical
45
+ transformation or translation of a Source form, including but
46
+ not limited to compiled object code, generated documentation,
47
+ and conversions to other media types.
48
+
49
+ "Work" shall mean the work of authorship, whether in Source or
50
+ Object form, made available under the License, as indicated by a
51
+ copyright notice that is included in or attached to the work
52
+ (an example is provided in the Appendix below).
53
+
54
+ "Derivative Works" shall mean any work, whether in Source or Object
55
+ form, that is based on (or derived from) the Work and for which the
56
+ editorial revisions, annotations, elaborations, or other modifications
57
+ represent, as a whole, an original work of authorship. For the purposes
58
+ of this License, Derivative Works shall not include works that remain
59
+ separable from, or merely link (or bind by name) to the interfaces of,
60
+ the Work and Derivative Works thereof.
61
+
62
+ "Contribution" shall mean any work of authorship, including
63
+ the original version of the Work and any modifications or additions
64
+ to that Work or Derivative Works thereof, that is intentionally
65
+ submitted to Licensor for inclusion in the Work by the copyright owner
66
+ or by an individual or Legal Entity authorized to submit on behalf of
67
+ the copyright owner. For the purposes of this definition, "submitted"
68
+ means any form of electronic, verbal, or written communication sent
69
+ to the Licensor or its representatives, including but not limited to
70
+ communication on electronic mailing lists, source code control systems,
71
+ and issue tracking systems that are managed by, or on behalf of, the
72
+ Licensor for the purpose of discussing and improving the Work, but
73
+ excluding communication that is conspicuously marked or otherwise
74
+ designated in writing by the copyright owner as "Not a Contribution."
75
+
76
+ "Contributor" shall mean Licensor and any individual or Legal Entity
77
+ on behalf of whom a Contribution has been received by Licensor and
78
+ subsequently incorporated within the Work.
79
+
80
+ 2. Grant of Copyright License. Subject to the terms and conditions of
81
+ this License, each Contributor hereby grants to You a perpetual,
82
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
83
+ copyright license to reproduce, prepare Derivative Works of,
84
+ publicly display, publicly perform, sublicense, and distribute the
85
+ Work and such Derivative Works in Source or Object form.
86
+
87
+ 3. Grant of Patent License. Subject to the terms and conditions of
88
+ this License, each Contributor hereby grants to You a perpetual,
89
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
90
+ (except as stated in this section) patent license to make, have made,
91
+ use, offer to sell, sell, import, and otherwise transfer the Work,
92
+ where such license applies only to those patent claims licensable
93
+ by such Contributor that are necessarily infringed by their
94
+ Contribution(s) alone or by combination of their Contribution(s)
95
+ with the Work to which such Contribution(s) was submitted. If You
96
+ institute patent litigation against any entity (including a
97
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
98
+ or a Contribution incorporated within the Work constitutes direct
99
+ or contributory patent infringement, then any patent licenses
100
+ granted to You under this License for that Work shall terminate
101
+ as of the date such litigation is filed.
102
+
103
+ 4. Redistribution. You may reproduce and distribute copies of the
104
+ Work or Derivative Works thereof in any medium, with or without
105
+ modifications, and in Source or Object form, provided that You
106
+ meet the following conditions:
107
+
108
+ (a) You must give any other recipients of the Work or
109
+ Derivative Works a copy of this License; and
110
+
111
+ (b) You must cause any modified files to carry prominent notices
112
+ stating that You changed the files; and
113
+
114
+ (c) You must retain, in the Source form of any Derivative Works
115
+ that You distribute, all copyright, patent, trademark, and
116
+ attribution notices from the Source form of the Work,
117
+ excluding those notices that do not pertain to any part of
118
+ the Derivative Works; and
119
+
120
+ (d) If the Work includes a "NOTICE" text file as part of its
121
+ distribution, then any Derivative Works that You distribute must
122
+ include a readable copy of the attribution notices contained
123
+ within such NOTICE file, excluding those notices that do not
124
+ pertain to any part of the Derivative Works, in at least one
125
+ of the following places: within a NOTICE text file distributed
126
+ as part of the Derivative Works; within the Source form or
127
+ documentation, if provided along with the Derivative Works; or,
128
+ within a display generated by the Derivative Works, if and
129
+ wherever such third-party notices normally appear. The contents
130
+ of the NOTICE file are for informational purposes only and
131
+ do not modify the License. You may add Your own attribution
132
+ notices within Derivative Works that You distribute, alongside
133
+ or as an addendum to the NOTICE text from the Work, provided
134
+ that such additional attribution notices cannot be construed
135
+ as modifying the License.
136
+
137
+ You may add Your own copyright statement to Your modifications and
138
+ may provide additional or different license terms and conditions
139
+ for use, reproduction, or distribution of Your modifications, or
140
+ for any such Derivative Works as a whole, provided Your use,
141
+ reproduction, and distribution of the Work otherwise complies with
142
+ the conditions stated in this License.
143
+
144
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
145
+ any Contribution intentionally submitted for inclusion in the Work
146
+ by You to the Licensor shall be under the terms and conditions of
147
+ this License, without any additional terms or conditions.
148
+ Notwithstanding the above, nothing herein shall supersede or modify
149
+ the terms of any separate license agreement you may have executed
150
+ with Licensor regarding such Contributions.
151
+
152
+ 6. Trademarks. This License does not grant permission to use the trade
153
+ names, trademarks, service marks, or product names of the Licensor,
154
+ except as required for reasonable and customary use in describing the
155
+ origin of the Work and reproducing the content of the NOTICE file.
156
+
157
+ 7. Disclaimer of Warranty. Unless required by applicable law or
158
+ agreed to in writing, Licensor provides the Work (and each
159
+ Contributor provides its Contributions) on an "AS IS" BASIS,
160
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
161
+ implied, including, without limitation, any warranties or conditions
162
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
163
+ PARTICULAR PURPOSE. You are solely responsible for determining the
164
+ appropriateness of using or redistributing the Work and assume any
165
+ risks associated with Your exercise of permissions under this License.
166
+
167
+ 8. Limitation of Liability. In no event and under no legal theory,
168
+ whether in tort (including negligence), contract, or otherwise,
169
+ unless required by applicable law (such as deliberate and grossly
170
+ negligent acts) or agreed to in writing, shall any Contributor be
171
+ liable to You for damages, including any direct, indirect, special,
172
+ incidental, or consequential damages of any character arising as a
173
+ result of this License or out of the use or inability to use the
174
+ Work (including but not limited to damages for loss of goodwill,
175
+ work stoppage, computer failure or malfunction, or any and all
176
+ other commercial damages or losses), even if such Contributor
177
+ has been advised of the possibility of such damages.
178
+
179
+ 9. Accepting Warranty or Additional Liability. While redistributing
180
+ the Work or Derivative Works thereof, You may choose to offer,
181
+ and charge a fee for, acceptance of support, warranty, indemnity,
182
+ or other liability obligations and/or rights consistent with this
183
+ License. However, in accepting such obligations, You may act only
184
+ on Your own behalf and on Your sole responsibility, not on behalf
185
+ of any other Contributor, and only if You agree to indemnify,
186
+ defend, and hold each Contributor harmless for any liability
187
+ incurred by, or claims asserted against, such Contributor by reason
188
+ of your accepting any such warranty or additional liability.
189
+
190
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1 @@
1
+ evo