adafruit-circuitpython-lt8912b 1.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 (47) hide show
  1. adafruit_circuitpython_lt8912b-1.0.0/.gitattributes +11 -0
  2. adafruit_circuitpython_lt8912b-1.0.0/.github/PULL_REQUEST_TEMPLATE/adafruit_circuitpython_pr.md +13 -0
  3. adafruit_circuitpython_lt8912b-1.0.0/.github/workflows/build.yml +14 -0
  4. adafruit_circuitpython_lt8912b-1.0.0/.github/workflows/failure-help-text.yml +19 -0
  5. adafruit_circuitpython_lt8912b-1.0.0/.github/workflows/release_gh.yml +19 -0
  6. adafruit_circuitpython_lt8912b-1.0.0/.github/workflows/release_pypi.yml +19 -0
  7. adafruit_circuitpython_lt8912b-1.0.0/.gitignore +48 -0
  8. adafruit_circuitpython_lt8912b-1.0.0/.pre-commit-config.yaml +21 -0
  9. adafruit_circuitpython_lt8912b-1.0.0/.readthedocs.yaml +22 -0
  10. adafruit_circuitpython_lt8912b-1.0.0/CODE_OF_CONDUCT.md +158 -0
  11. adafruit_circuitpython_lt8912b-1.0.0/LICENSE +21 -0
  12. adafruit_circuitpython_lt8912b-1.0.0/LICENSES/Apache-2.0.txt +201 -0
  13. adafruit_circuitpython_lt8912b-1.0.0/LICENSES/CC-BY-4.0.txt +324 -0
  14. adafruit_circuitpython_lt8912b-1.0.0/LICENSES/MIT.txt +19 -0
  15. adafruit_circuitpython_lt8912b-1.0.0/LICENSES/Unlicense.txt +20 -0
  16. adafruit_circuitpython_lt8912b-1.0.0/NOTICE +26 -0
  17. adafruit_circuitpython_lt8912b-1.0.0/NOTICE.license +2 -0
  18. adafruit_circuitpython_lt8912b-1.0.0/PKG-INFO +202 -0
  19. adafruit_circuitpython_lt8912b-1.0.0/README.rst +180 -0
  20. adafruit_circuitpython_lt8912b-1.0.0/README.rst.license +3 -0
  21. adafruit_circuitpython_lt8912b-1.0.0/adafruit_circuitpython_lt8912b.egg-info/PKG-INFO +202 -0
  22. adafruit_circuitpython_lt8912b-1.0.0/adafruit_circuitpython_lt8912b.egg-info/SOURCES.txt +45 -0
  23. adafruit_circuitpython_lt8912b-1.0.0/adafruit_circuitpython_lt8912b.egg-info/dependency_links.txt +1 -0
  24. adafruit_circuitpython_lt8912b-1.0.0/adafruit_circuitpython_lt8912b.egg-info/requires.txt +4 -0
  25. adafruit_circuitpython_lt8912b-1.0.0/adafruit_circuitpython_lt8912b.egg-info/top_level.txt +1 -0
  26. adafruit_circuitpython_lt8912b-1.0.0/adafruit_lt8912b.py +369 -0
  27. adafruit_circuitpython_lt8912b-1.0.0/docs/_static/custom.css +8 -0
  28. adafruit_circuitpython_lt8912b-1.0.0/docs/_static/favicon.ico +0 -0
  29. adafruit_circuitpython_lt8912b-1.0.0/docs/_static/favicon.ico.license +3 -0
  30. adafruit_circuitpython_lt8912b-1.0.0/docs/api.rst +11 -0
  31. adafruit_circuitpython_lt8912b-1.0.0/docs/api.rst.license +4 -0
  32. adafruit_circuitpython_lt8912b-1.0.0/docs/conf.py +187 -0
  33. adafruit_circuitpython_lt8912b-1.0.0/docs/examples.rst +44 -0
  34. adafruit_circuitpython_lt8912b-1.0.0/docs/examples.rst.license +4 -0
  35. adafruit_circuitpython_lt8912b-1.0.0/docs/index.rst +41 -0
  36. adafruit_circuitpython_lt8912b-1.0.0/docs/index.rst.license +4 -0
  37. adafruit_circuitpython_lt8912b-1.0.0/docs/requirements.txt +7 -0
  38. adafruit_circuitpython_lt8912b-1.0.0/examples/lt8912b_1080p30.py +120 -0
  39. adafruit_circuitpython_lt8912b-1.0.0/examples/lt8912b_640x480.py +120 -0
  40. adafruit_circuitpython_lt8912b-1.0.0/examples/lt8912b_720p.py +121 -0
  41. adafruit_circuitpython_lt8912b-1.0.0/examples/lt8912b_edid.py +261 -0
  42. adafruit_circuitpython_lt8912b-1.0.0/examples/lt8912b_simpletest.py +109 -0
  43. adafruit_circuitpython_lt8912b-1.0.0/optional_requirements.txt +3 -0
  44. adafruit_circuitpython_lt8912b-1.0.0/pyproject.toml +53 -0
  45. adafruit_circuitpython_lt8912b-1.0.0/requirements.txt +7 -0
  46. adafruit_circuitpython_lt8912b-1.0.0/ruff.toml +99 -0
  47. adafruit_circuitpython_lt8912b-1.0.0/setup.cfg +4 -0
@@ -0,0 +1,11 @@
1
+ # SPDX-FileCopyrightText: 2024 Justin Myers
2
+ #
3
+ # SPDX-License-Identifier: Unlicense
4
+
5
+ .py text eol=lf
6
+ .rst text eol=lf
7
+ .txt text eol=lf
8
+ .yaml text eol=lf
9
+ .toml text eol=lf
10
+ .license text eol=lf
11
+ .md text eol=lf
@@ -0,0 +1,13 @@
1
+ # SPDX-FileCopyrightText: 2021 Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ Thank you for contributing! Before you submit a pull request, please read the following.
6
+
7
+ Make sure any changes you're submitting are in line with the CircuitPython Design Guide, available here: https://docs.circuitpython.org/en/latest/docs/design_guide.html
8
+
9
+ If your changes are to documentation, please verify that the documentation builds locally by following the steps found here: https://adafru.it/build-docs
10
+
11
+ Before submitting the pull request, make sure you've run Pylint and Black locally on your code. You can do this manually or using pre-commit. Instructions are available here: https://adafru.it/check-your-code
12
+
13
+ Please remove all of this text before submitting. Include an explanation or list of changes included in your PR, as well as, if applicable, a link to any related issues.
@@ -0,0 +1,14 @@
1
+ # SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: Build CI
6
+
7
+ on: [pull_request, push]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Run Build CI workflow
14
+ uses: adafruit/workflows-circuitpython-libs/build@main
@@ -0,0 +1,19 @@
1
+ # SPDX-FileCopyrightText: 2021 Scott Shawcroft for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: Failure help text
6
+
7
+ on:
8
+ workflow_run:
9
+ workflows: ["Build CI"]
10
+ types:
11
+ - completed
12
+
13
+ jobs:
14
+ post-help:
15
+ runs-on: ubuntu-latest
16
+ if: ${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.event == 'pull_request' }}
17
+ steps:
18
+ - name: Post comment to help
19
+ uses: adafruit/circuitpython-action-library-ci-failed@v1
@@ -0,0 +1,19 @@
1
+ # SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: GitHub Release Actions
6
+
7
+ on:
8
+ release:
9
+ types: [published]
10
+
11
+ jobs:
12
+ upload-release-assets:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Run GitHub Release CI workflow
16
+ uses: adafruit/workflows-circuitpython-libs/release-gh@main
17
+ with:
18
+ github-token: ${{ secrets.GITHUB_TOKEN }}
19
+ upload-url: ${{ github.event.release.upload_url }}
@@ -0,0 +1,19 @@
1
+ # SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: PyPI Release Actions
6
+
7
+ on:
8
+ release:
9
+ types: [published]
10
+
11
+ jobs:
12
+ upload-release-assets:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Run PyPI Release CI workflow
16
+ uses: adafruit/workflows-circuitpython-libs/release-pypi@main
17
+ with:
18
+ pypi-username: ${{ secrets.pypi_username }}
19
+ pypi-password: ${{ secrets.pypi_password }}
@@ -0,0 +1,48 @@
1
+ # SPDX-FileCopyrightText: 2022 Kattni Rembor, written for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ # Do not include files and directories created by your personal work environment, such as the IDE
6
+ # you use, except for those already listed here. Pull requests including changes to this file will
7
+ # not be accepted.
8
+
9
+ # This .gitignore file contains rules for files generated by working with CircuitPython libraries,
10
+ # including building Sphinx, testing with pip, and creating a virual environment, as well as the
11
+ # MacOS and IDE-specific files generated by using MacOS in general, or the PyCharm or VSCode IDEs.
12
+
13
+ # If you find that there are files being generated on your machine that should not be included in
14
+ # your git commit, you should create a .gitignore_global file on your computer to include the
15
+ # files created by your personal setup. To do so, follow the two steps below.
16
+
17
+ # First, create a file called .gitignore_global somewhere convenient for you, and add rules for
18
+ # the files you want to exclude from git commits.
19
+
20
+ # Second, configure Git to use the exclude file for all Git repositories by running the
21
+ # following via commandline, replacing "path/to/your/" with the actual path to your newly created
22
+ # .gitignore_global file:
23
+ # git config --global core.excludesfile path/to/your/.gitignore_global
24
+
25
+ # CircuitPython-specific files
26
+ *.mpy
27
+
28
+ # Python-specific files
29
+ __pycache__
30
+ *.pyc
31
+
32
+ # Sphinx build-specific files
33
+ _build
34
+
35
+ # This file results from running `pip -e install .` in a local repository
36
+ *.egg-info
37
+
38
+ # Virtual environment-specific files
39
+ .env
40
+ .venv
41
+
42
+ # MacOS-specific files
43
+ *.DS_Store
44
+
45
+ # IDE-specific files
46
+ .idea
47
+ .vscode
48
+ *~
@@ -0,0 +1,21 @@
1
+ # SPDX-FileCopyrightText: 2024 Justin Myers for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: Unlicense
4
+
5
+ repos:
6
+ - repo: https://github.com/pre-commit/pre-commit-hooks
7
+ rev: v6.0.0
8
+ hooks:
9
+ - id: check-yaml
10
+ - id: end-of-file-fixer
11
+ - id: trailing-whitespace
12
+ - repo: https://github.com/astral-sh/ruff-pre-commit
13
+ rev: v0.15.7
14
+ hooks:
15
+ - id: ruff-format
16
+ - id: ruff
17
+ args: ["--fix"]
18
+ - repo: https://github.com/fsfe/reuse-tool
19
+ rev: v6.2.0
20
+ hooks:
21
+ - id: reuse
@@ -0,0 +1,22 @@
1
+ # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: Unlicense
4
+
5
+ # Read the Docs configuration file
6
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
7
+
8
+ # Required
9
+ version: 2
10
+
11
+ sphinx:
12
+ configuration: docs/conf.py
13
+
14
+ build:
15
+ os: ubuntu-lts-latest
16
+ tools:
17
+ python: "3"
18
+
19
+ python:
20
+ install:
21
+ - requirements: docs/requirements.txt
22
+ - requirements: requirements.txt
@@ -0,0 +1,158 @@
1
+ <!--
2
+ SPDX-FileCopyrightText: 2014 Coraline Ada Ehmke
3
+ SPDX-FileCopyrightText: 2019-2021 Kattni Rembor for Adafruit Industries
4
+
5
+ SPDX-License-Identifier: CC-BY-4.0
6
+ -->
7
+ # Adafruit Community Code of Conduct
8
+
9
+ ## Our Pledge
10
+
11
+ In the interest of fostering an open and welcoming environment, we as
12
+ contributors and leaders pledge to making participation in our project and
13
+ our community a harassment-free experience for everyone, regardless of age, body
14
+ size, disability, ethnicity, gender identity and expression, level or type of
15
+ experience, education, socio-economic status, nationality, personal appearance,
16
+ race, religion, or sexual identity and orientation.
17
+
18
+ ## Our Standards
19
+
20
+ We are committed to providing a friendly, safe and welcoming environment for
21
+ all.
22
+
23
+ Examples of behavior that contributes to creating and maintaining a positive environment
24
+ include:
25
+
26
+ * Be kind and courteous to others
27
+ * Using welcoming and inclusive language
28
+ * Respecting the identity of every community member, including asking for their
29
+ pronouns if uncertain
30
+ * Being respectful of differing viewpoints and experiences
31
+ * Collaborating with other community members
32
+ * Providing desired assistance and knowledge to other community members
33
+ * Being open to new information and ideas
34
+ * Gracefully accepting constructive criticism
35
+ * Focusing on what is best for the community
36
+ * Showing empathy towards other community members
37
+
38
+ Examples of unacceptable behavior by community members include:
39
+
40
+ * The use of sexualized language or imagery and sexual attention or advances
41
+ * The use of inappropriate images, including in a community member's avatar
42
+ * The use of inappropriate language or profanity, including in a community member's nickname
43
+ * Any spamming, flaming, baiting or other attention-stealing behavior
44
+ * Excessive or unwelcome helping; answering outside the scope of the question
45
+ asked
46
+ * Discussion or promotion of activities or projects that intend or pose a risk of
47
+ significant harm
48
+ * Trolling, insulting/derogatory comments, and attacks of any nature (including,
49
+ but not limited to, personal or political attacks)
50
+ * Promoting or spreading disinformation, lies, or conspiracy theories against
51
+ a person, group, organisation, project, or community
52
+ * Public or private harassment
53
+ * Publishing others' private information, such as a physical or electronic
54
+ address, without explicit permission
55
+ * Engaging in behavior that creates an unwelcoming or uninclusive environment
56
+ * Other conduct which could reasonably be considered inappropriate
57
+
58
+ The Adafruit Community welcomes everyone and strives to create a safe space for all. It is built
59
+ around sharing and contributing to technology. We encourage discussing your thoughts, experiences,
60
+ and feelings within the scope of the community. However, there are topics that can sometimes stray
61
+ from that scope, and can lead to hurting others and create an unwelcoming, uninclusive environment.
62
+
63
+ Examples of discussion topics that have been known to stray outside the scope of the Adafruit
64
+ Community include, but are not limited to:
65
+
66
+ * Discussions regarding religion and related topics
67
+ * Discussions regarding politics and related topics
68
+
69
+ The goal of the standards and moderation guidelines outlined here is to build
70
+ and maintain a respectful community. We ask that you don’t just aim to be
71
+ "technically unimpeachable", but rather try to be your best self.
72
+
73
+ We value many things beyond technical expertise, including collaboration and
74
+ supporting others within our community. Providing a positive experience for
75
+ other community members can have a much more significant impact than simply
76
+ providing the correct answer.
77
+
78
+ ## Our Responsibilities
79
+
80
+ Project leaders are responsible for clarifying the standards of acceptable
81
+ behavior and are expected to take appropriate and fair corrective action in
82
+ response to any instances of unacceptable behavior.
83
+
84
+ Project leaders have the right and responsibility to remove, edit, or
85
+ reject messages, comments, commits, code, issues, and other contributions
86
+ that are not aligned to this Code of Conduct, or to ban temporarily or
87
+ permanently any community member for other behaviors that they deem
88
+ inappropriate, threatening, offensive, or harmful.
89
+
90
+ ## Moderation
91
+
92
+ Instances of behaviors that violate the Adafruit Community Code of Conduct
93
+ may be reported by any member of the community. Community members are
94
+ encouraged to report these situations, including situations they witness
95
+ involving other community members.
96
+
97
+ You may report in the following ways:
98
+
99
+ In any situation, you may email <support@adafruit.com>.
100
+
101
+ On the Adafruit Discord, you may send an open message from any channel
102
+ to all Community Moderators by tagging @community moderators. You may
103
+ also send an open message from the #help-with-community channel, or a
104
+ direct message to any Community Moderator.
105
+
106
+ The source of email and direct message reports will be kept confidential.
107
+
108
+ In situations on Discord where the issue is particularly offensive, possibly
109
+ illegal, requires immediate action, or violates the Discord terms of service,
110
+ you should also report the message directly to [Discord](https://discord.com/safety).
111
+
112
+ These are the steps for upholding our community’s standards of conduct.
113
+
114
+ 1. Any member of the community may report any situation that violates the
115
+ Adafruit Community Code of Conduct. All reports will be reviewed and
116
+ investigated.
117
+ 2. If the behavior is a severe violation, the community member who
118
+ committed the violation may be banned immediately, without warning.
119
+ 3. Otherwise, moderators will first respond to such behavior with a warning.
120
+ 4. Moderators follow a soft "three strikes" policy - the community member may
121
+ be given another chance, if they are receptive to the warning and change their
122
+ behavior.
123
+ 5. If the community member is unreceptive or unreasonable when warned by a
124
+ moderator, or the warning goes unheeded, they may be banned for a first or
125
+ second offense. Repeated offenses will result in the community member being
126
+ banned.
127
+ 6. Disciplinary actions (warnings, bans, etc) for Code of Conduct violations apply
128
+ to the platform where the violation occurred. However, depending on the severity
129
+ of the violation, the disciplinary action may be applied across Adafruit's other
130
+ community platforms. For example, a severe violation on the Adafruit Discord
131
+ server may result in a ban on not only the Adafruit Discord server, but also on
132
+ the Adafruit GitHub organisation, Adafruit Forums, Adafruit Twitter, etc.
133
+
134
+ ## Scope
135
+
136
+ This Code of Conduct and the enforcement policies listed above apply to all
137
+ Adafruit Community venues. This includes but is not limited to any community
138
+ spaces (both public and private), the entire Adafruit Discord server, and
139
+ Adafruit GitHub repositories. Examples of Adafruit Community spaces include
140
+ but are not limited to meet-ups, audio chats on the Adafruit Discord, or
141
+ interaction at a conference.
142
+
143
+ This Code of Conduct applies both within project spaces and in public spaces
144
+ when an individual is representing the project or its community. As a community
145
+ member, you are representing our community, and are expected to behave
146
+ accordingly.
147
+
148
+ ## Attribution
149
+
150
+ This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/),
151
+ version 1.4, available on [contributor-covenant.org](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html),
152
+ and the [Rust Code of Conduct](https://www.rust-lang.org/en-US/conduct.html).
153
+
154
+ For other projects adopting the Adafruit Community Code of
155
+ Conduct, please contact the maintainers of those projects for enforcement.
156
+ If you wish to use this code of conduct for your own project, consider
157
+ explicitly mentioning your moderation policy or making a copy with your
158
+ own moderation policy so as to avoid confusion.
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2026 Scott Shawcroft for Adafruit Industries
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,201 @@
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,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.