Skip to content

Commit 6af2d21

Browse files
committed
fix: switch to apache 2 license
1 parent 7a5996b commit 6af2d21

449 files changed

Lines changed: 655 additions & 2202 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE

Lines changed: 194 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,194 @@
1-
BSD 3-Clause License
2-
3-
(c) Meta Platforms, Inc. and affiliates.
4-
5-
Redistribution and use in source and binary forms, with or without modification,
6-
are permitted provided that the following conditions are met:
7-
8-
1. Redistributions of source code must retain the above copyright notice,this list
9-
of conditions and the following disclaimer.
10-
11-
2. Redistributions in binary form must reproduce the above copyright notice, this
12-
list of conditions and the following disclaimer in the documentation
13-
and/or other materials provided with the distribution.
14-
15-
3. Neither the name of the copyright holder nor the names of its contributors may
16-
be used to endorse or promote products derived from this software without specific
17-
prior written permission.
18-
19-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY
20-
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21-
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
22-
SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23-
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
24-
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
25-
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26-
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
27-
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
28-
DAMAGE.
1+
Apache License
2+
Version 2.0, January 2004
3+
http://www.apache.org/licenses/
4+
5+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6+
7+
1. Definitions.
8+
9+
"License" shall mean the terms and conditions for use, reproduction, and
10+
distribution as defined by Sections 1 through 9 of this document.
11+
12+
"Licensor" shall mean the copyright owner or entity authorized by the copyright
13+
owner that is granting the License.
14+
15+
"Legal Entity" shall mean the union of the acting entity and all other entities
16+
that control, are controlled by, or are under common control with that entity.
17+
For the purposes of this definition, "control" means (i) the power, direct or
18+
indirect, to cause the direction or management of such entity, whether by
19+
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
20+
outstanding shares, or (iii) beneficial ownership of such entity.
21+
22+
"You" (or "Your") shall mean an individual or Legal Entity exercising
23+
permissions granted by this License.
24+
25+
"Source" form shall mean the preferred form for making modifications, including
26+
but not limited to software source code, documentation source, and configuration
27+
files.
28+
29+
"Object" form shall mean any form resulting from mechanical transformation or
30+
translation of a Source form, including but not limited to compiled object code,
31+
generated documentation, and conversions to other media types.
32+
33+
"Work" shall mean the work of authorship, whether in Source or Object form, made
34+
available under the License, as indicated by a copyright notice that is included
35+
in or attached to the work (an example is provided in the Appendix below).
36+
37+
"Derivative Works" shall mean any work, whether in Source or Object form, that
38+
is based on (or derived from) the Work and for which the editorial revisions,
39+
annotations, elaborations, or other modifications represent, as a whole, an
40+
original work of authorship. For the purposes of this License, Derivative Works
41+
shall not include works that remain separable from, or merely link (or bind by
42+
name) to the interfaces of, the Work and Derivative Works thereof.
43+
44+
"Contribution" shall mean any work of authorship, including the original version
45+
of the Work and any modifications or additions to that Work or Derivative Works
46+
thereof, that is intentionally submitted to Licensor for inclusion in the Work by
47+
the copyright owner or by an individual or Legal Entity authorized to submit on
48+
behalf of the copyright owner. For the purposes of this definition, "submitted"
49+
means any form of electronic, verbal, or written communication sent to the
50+
Licensor or its representatives, including but not limited to communication on
51+
electronic mailing lists, source code control systems, and issue tracking systems
52+
that are managed by, or on behalf of, the Licensor for the purpose of discussing
53+
and improving the Work, but excluding communication that is conspicuously marked
54+
or otherwise designated in writing by the copyright owner as "Not a
55+
Contribution."
56+
57+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
58+
of whom a Contribution has been received by Licensor and subsequently
59+
incorporated within the Work.
60+
61+
2. Grant of Copyright License.
62+
63+
Subject to the terms and conditions of this License, each Contributor hereby
64+
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
65+
irrevocable copyright license to reproduce, prepare Derivative Works of,
66+
publicly display, publicly perform, sublicense, and distribute the Work and such
67+
Derivative Works in Source or Object form.
68+
69+
3. Grant of Patent License.
70+
71+
Subject to the terms and conditions of this License, each Contributor hereby
72+
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
73+
irrevocable (except as stated in this section) patent license to make, have made,
74+
use, offer to sell, sell, import, and otherwise transfer the Work, where such
75+
license applies only to those patent claims licensable by such Contributor that
76+
are necessarily infringed by their Contribution(s) alone or by combination of
77+
their Contribution(s) with the Work to which such Contribution(s) was submitted.
78+
If You institute patent litigation against any entity (including a cross-claim or
79+
counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated
80+
within the Work constitutes direct or contributory patent infringement, then any
81+
patent licenses granted to You under this License for that Work shall terminate
82+
as of the date such litigation is filed.
83+
84+
4. Redistribution.
85+
86+
You may reproduce and distribute copies of the Work or Derivative Works thereof
87+
in any medium, with or without modifications, and in Source or Object form,
88+
provided that You meet the following conditions:
89+
90+
(a) You must give any other recipients of the Work or Derivative Works a copy of
91+
this License; and
92+
93+
(b) You must cause any modified files to carry prominent notices stating that You
94+
changed the files; and
95+
96+
(c) You must retain, in the Source form of any Derivative Works that You
97+
distribute, all copyright, patent, trademark, and attribution notices from
98+
the Source form of the Work, excluding those notices that do not pertain to
99+
any part of the Derivative Works; and
100+
101+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then
102+
any Derivative Works that You distribute must include a readable copy of the
103+
attribution notices contained within such NOTICE file, excluding those
104+
notices that do not pertain to any part of the Derivative Works, in at least
105+
one of the following places: within a NOTICE text file distributed as part of
106+
the Derivative Works; within the Source form or documentation, if provided
107+
along with the Derivative Works; or within a display generated by the
108+
Derivative Works, if and wherever such third-party notices normally appear.
109+
The contents of the NOTICE file are for informational purposes only and do
110+
not modify the License. You may add Your own attribution notices within
111+
Derivative Works that You distribute, alongside or as an addendum to the
112+
NOTICE text from the Work, provided that such additional attribution notices
113+
cannot be construed as modifying the License.
114+
115+
You may add Your own copyright statement to Your modifications and may provide
116+
additional or different license terms and conditions for use, reproduction, or
117+
distribution of Your modifications, or for any such Derivative Works as a whole,
118+
provided Your use, reproduction, and distribution of the Work otherwise complies
119+
with the conditions stated in this License.
120+
121+
5. Submission of Contributions.
122+
123+
Unless You explicitly state otherwise, any Contribution intentionally submitted
124+
for inclusion in the Work by You to the Licensor shall be under the terms and
125+
conditions of this License, without any additional terms or conditions.
126+
Notwithstanding the above, nothing herein shall supersede or modify the terms of
127+
any separate license agreement you may have executed with Licensor regarding such
128+
Contributions.
129+
130+
6. Trademarks.
131+
132+
This License does not grant permission to use the trade names, trademarks,
133+
service marks, or product names of the Licensor, except as required for
134+
reasonable and customary use in describing the origin of the Work and reproducing
135+
the content of the NOTICE file.
136+
137+
7. Disclaimer of Warranty.
138+
139+
Unless required by applicable law or agreed to in writing, Licensor provides the
140+
Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
141+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
142+
including, without limitation, any warranties or conditions of TITLE,
143+
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
144+
solely responsible for determining the appropriateness of using or redistributing
145+
the Work and assume any risks associated with Your exercise of permissions under
146+
this License.
147+
148+
8. Limitation of Liability.
149+
150+
In no event and under no legal theory, whether in tort (including negligence),
151+
contract, or otherwise, unless required by applicable law (such as deliberate and
152+
grossly negligent acts) or agreed to in writing, shall any Contributor be liable
153+
to You for damages, including any direct, indirect, special, incidental, or
154+
consequential damages of any character arising as a result of this License or out
155+
of the use or inability to use the Work (including but not limited to damages for
156+
loss of goodwill, work stoppage, computer failure or malfunction, or any and all
157+
other commercial damages or losses), even if such Contributor has been advised of
158+
the possibility of such damages.
159+
160+
9. Accepting Warranty or Additional Liability.
161+
162+
While redistributing the Work or Derivative Works thereof, You may choose to
163+
offer, and charge a fee for, acceptance of support, warranty, indemnity, or other
164+
liability obligations and/or rights consistent with this License. However, in
165+
accepting such obligations, You may act only on Your own behalf and on Your sole
166+
responsibility, not on behalf of any other Contributor, and only if You agree to
167+
indemnify, defend, and hold each Contributor harmless for any liability incurred
168+
by, or claims asserted against, such Contributor by reason of your accepting any
169+
such warranty or additional liability.
170+
171+
END OF TERMS AND CONDITIONS
172+
173+
APPENDIX: How to apply the Apache License to your work.
174+
175+
To apply the Apache License to your work, attach the following boilerplate
176+
notice, with the fields enclosed by brackets "[]" replaced with your own
177+
identifying information. (Don't include the brackets!) The text should be
178+
enclosed in the appropriate comment syntax for the file format. We also
179+
recommend that a file or class name and description of purpose be included on
180+
the same "printed page" as the copyright notice for easier identification within
181+
third-party archives.
182+
183+
Copyright [yyyy] [name of copyright owner]
184+
185+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
186+
this file except in compliance with the License. You may obtain a copy of the
187+
License at
188+
189+
http://www.apache.org/licenses/LICENSE-2.0
190+
191+
Unless required by applicable law or agreed to in writing, software distributed
192+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
193+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
194+
specific language governing permissions and limitations under the License.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ An e2e framework for creating, deploying and using isolated execution environmen
44

55
<p align="center">
66
<a href="https://pypi.org/project/openenv/"><img alt="PyPI" src="https://img.shields.io/pypi/v/openenv?color=blue"/></a>
7-
<a href="https://github.com/huggingface/OpenEnv/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/badge/License-BSD%203--Clause-blue.svg"/></a>
7+
<a href="https://github.com/huggingface/OpenEnv/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"/></a>
88
<a href="https://huggingface.co/docs/openenv"><img alt="Docs" src="https://img.shields.io/badge/Docs-Explore-blue?logo=readthedocs&logoColor=white"/></a>
99
<a href="https://huggingface.co/openenv"><img alt="Hugging Face" src="https://img.shields.io/badge/🤗%20Hugging%20Face-OpenEnv-yellow"/></a>
1010
<a href="https://discord.gg/YsTYBh6PD9"><img alt="Discord" src="https://img.shields.io/badge/Discord-OpenEnv-7289da?style=flat&logo=discord&logoColor=white"/></a>
@@ -378,4 +378,4 @@ And we'd also like to acknowledge the team at Farama Foundation as the OpenEnv A
378378

379379
## License
380380

381-
BSD 3-Clause License (see [LICENSE](./LICENSE) file)
381+
Apache License 2.0 (see [LICENSE](./LICENSE) file)

docs/source/environments/carla.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,4 +361,4 @@ Scenarios and navigation agents adapted from [sinatras/carla-env](https://github
361361

362362
## License
363363

364-
BSD-3-Clause License (see [LICENSE](https://github.com/huggingface/OpenEnv/blob/main/LICENSE))
364+
Apache License 2.0 (see [LICENSE](https://github.com/huggingface/OpenEnv/blob/main/LICENSE))

docs/source/environments/finrl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ See the `examples/` directory for complete examples:
341341

342342
## License
343343

344-
BSD 3-Clause License (see LICENSE file in repository root)
344+
Apache License 2.0 (see LICENSE file in repository root)
345345

346346
## References
347347

docs/source/environments/julia.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,4 @@ uvicorn julia_env.server.app:app --host 0.0.0.0 --port 8000
218218

219219
## License
220220

221-
This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree.
221+
This source code is licensed under the Apache License 2.0 found in the LICENSE file in the root directory of this source tree.

docs/source/environments/kernrl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,4 @@ For production deployments, consider additional isolation measures.
137137

138138
## License
139139

140-
BSD-3-Clause (following OpenEnv licensing)
140+
Apache License 2.0 (following OpenEnv licensing)

docs/source/environments/openapp.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
<!-- openenv-source: openapp_env -->
2-
<!--
3-
Copyright (c) Meta Platforms, Inc. and affiliates.
4-
All rights reserved.
5-
6-
This source code is licensed under the BSD-style license found in the
7-
LICENSE file in the root directory of this source tree.
8-
-->
2+
<!-- SPDX-License-Identifier: Apache-2.0 -->
93

104
<div align="center">
115

@@ -554,7 +548,7 @@ This is expected for a full browser automation environment.
554548

555549
## License
556550

557-
BSD 3-Clause License (see LICENSE file in OpenEnv root directory)
551+
Apache License 2.0 (see LICENSE file in OpenEnv root directory)
558552

559553
## Citation
560554

docs/source/environments/snake.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,4 +267,4 @@ The underlying snake game is from marlenv:
267267

268268
## License
269269

270-
BSD 3-Clause License - See LICENSE file in the root directory.
270+
Apache License 2.0 - See LICENSE file in the root directory.

docs/source/environments/sumo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,4 +339,4 @@ If you use SUMO-RL in your research, please cite:
339339

340340
## License
341341

342-
This integration is licensed under the BSD-style license. SUMO-RL and SUMO have their own licenses.
342+
This integration is licensed under the Apache License 2.0. SUMO-RL and SUMO have their own licenses.

docs/source/environments/unity.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<!-- openenv-source: unity_env -->
2-
<!--
3-
Copyright (c) Meta Platforms, Inc. and affiliates.
4-
All rights reserved.
5-
This source code is licensed under the BSD-style license found in the
6-
LICENSE file in the root directory of this source tree.
7-
-->
2+
<!-- SPDX-License-Identifier: Apache-2.0 -->
83

94

105
# Unity ML-Agents Environment

0 commit comments

Comments
 (0)