adafruit-circuitpython-neopixel 6.3.21__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 (44) hide show
  1. adafruit_circuitpython_neopixel-6.3.21/.gitattributes +11 -0
  2. adafruit_circuitpython_neopixel-6.3.21/.github/PULL_REQUEST_TEMPLATE/adafruit_circuitpython_pr.md +13 -0
  3. adafruit_circuitpython_neopixel-6.3.21/.github/workflows/build.yml +14 -0
  4. adafruit_circuitpython_neopixel-6.3.21/.github/workflows/failure-help-text.yml +19 -0
  5. adafruit_circuitpython_neopixel-6.3.21/.github/workflows/release_gh.yml +19 -0
  6. adafruit_circuitpython_neopixel-6.3.21/.github/workflows/release_pypi.yml +19 -0
  7. adafruit_circuitpython_neopixel-6.3.21/.gitignore +48 -0
  8. adafruit_circuitpython_neopixel-6.3.21/.pre-commit-config.yaml +21 -0
  9. adafruit_circuitpython_neopixel-6.3.21/.readthedocs.yaml +22 -0
  10. adafruit_circuitpython_neopixel-6.3.21/CODE_OF_CONDUCT.md +135 -0
  11. adafruit_circuitpython_neopixel-6.3.21/LICENSE +22 -0
  12. adafruit_circuitpython_neopixel-6.3.21/LICENSES/CC-BY-4.0.txt +324 -0
  13. adafruit_circuitpython_neopixel-6.3.21/LICENSES/MIT.txt +19 -0
  14. adafruit_circuitpython_neopixel-6.3.21/LICENSES/Unlicense.txt +20 -0
  15. adafruit_circuitpython_neopixel-6.3.21/PKG-INFO +173 -0
  16. adafruit_circuitpython_neopixel-6.3.21/README.rst +152 -0
  17. adafruit_circuitpython_neopixel-6.3.21/README.rst.license +3 -0
  18. adafruit_circuitpython_neopixel-6.3.21/adafruit_circuitpython_neopixel.egg-info/PKG-INFO +173 -0
  19. adafruit_circuitpython_neopixel-6.3.21/adafruit_circuitpython_neopixel.egg-info/SOURCES.txt +42 -0
  20. adafruit_circuitpython_neopixel-6.3.21/adafruit_circuitpython_neopixel.egg-info/dependency_links.txt +1 -0
  21. adafruit_circuitpython_neopixel-6.3.21/adafruit_circuitpython_neopixel.egg-info/requires.txt +4 -0
  22. adafruit_circuitpython_neopixel-6.3.21/adafruit_circuitpython_neopixel.egg-info/top_level.txt +1 -0
  23. adafruit_circuitpython_neopixel-6.3.21/docs/_static/custom.css +8 -0
  24. adafruit_circuitpython_neopixel-6.3.21/docs/_static/favicon.ico +0 -0
  25. adafruit_circuitpython_neopixel-6.3.21/docs/_static/favicon.ico.license +3 -0
  26. adafruit_circuitpython_neopixel-6.3.21/docs/api.rst +5 -0
  27. adafruit_circuitpython_neopixel-6.3.21/docs/api.rst.license +3 -0
  28. adafruit_circuitpython_neopixel-6.3.21/docs/conf.py +172 -0
  29. adafruit_circuitpython_neopixel-6.3.21/docs/examples.rst +44 -0
  30. adafruit_circuitpython_neopixel-6.3.21/docs/examples.rst.license +3 -0
  31. adafruit_circuitpython_neopixel-6.3.21/docs/index.rst +49 -0
  32. adafruit_circuitpython_neopixel-6.3.21/docs/index.rst.license +3 -0
  33. adafruit_circuitpython_neopixel-6.3.21/docs/requirements.txt +7 -0
  34. adafruit_circuitpython_neopixel-6.3.21/examples/neopixel_bouncing_ball.py +66 -0
  35. adafruit_circuitpython_neopixel-6.3.21/examples/neopixel_pixel.py +29 -0
  36. adafruit_circuitpython_neopixel-6.3.21/examples/neopixel_rainbowio_simpletest.py +29 -0
  37. adafruit_circuitpython_neopixel-6.3.21/examples/neopixel_rpi_simpletest.py +80 -0
  38. adafruit_circuitpython_neopixel-6.3.21/examples/neopixel_simpletest.py +82 -0
  39. adafruit_circuitpython_neopixel-6.3.21/neopixel.py +177 -0
  40. adafruit_circuitpython_neopixel-6.3.21/optional_requirements.txt +3 -0
  41. adafruit_circuitpython_neopixel-6.3.21/pyproject.toml +47 -0
  42. adafruit_circuitpython_neopixel-6.3.21/requirements.txt +6 -0
  43. adafruit_circuitpython_neopixel-6.3.21/ruff.toml +104 -0
  44. adafruit_circuitpython_neopixel-6.3.21/setup.cfg +4 -0
@@ -0,0 +1,11 @@
1
+ # SPDX-FileCopyrightText: 2024 Justin Myers for Adafruit Industries
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://circuitpython.readthedocs.io/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: v4.5.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.3.4
14
+ hooks:
15
+ - id: ruff-format
16
+ - id: ruff
17
+ args: ["--fix"]
18
+ - repo: https://github.com/fsfe/reuse-tool
19
+ rev: v3.0.1
20
+ hooks:
21
+ - id: reuse
@@ -0,0 +1,22 @@
1
+ # SPDX-FileCopyrightText: 2021 ladyada 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,135 @@
1
+ <!--
2
+ SPDX-FileCopyrightText: 2014 Coraline Ada Ehmke
3
+ SPDX-FileCopyrightText: 2019 Kattni Rembor for Adafruit Industries
4
+ SPDX-License-Identifier: CC-BY-4.0
5
+ -->
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 a positive environment
24
+ include:
25
+
26
+ * Be kind and courteous to others
27
+ * Using welcoming and inclusive language
28
+ * Being respectful of differing viewpoints and experiences
29
+ * Collaborating with other community members
30
+ * Gracefully accepting constructive criticism
31
+ * Focusing on what is best for the community
32
+ * Showing empathy towards other community members
33
+
34
+ Examples of unacceptable behavior by participants include:
35
+
36
+ * The use of sexualized language or imagery and sexual attention or advances
37
+ * The use of inappropriate images, including in a community member's avatar
38
+ * The use of inappropriate language, including in a community member's nickname
39
+ * Any spamming, flaming, baiting or other attention-stealing behavior
40
+ * Excessive or unwelcome helping; answering outside the scope of the question
41
+ asked
42
+ * Trolling, insulting/derogatory comments, and personal or political attacks
43
+ * Promoting or spreading disinformation, lies, or conspiracy theories against
44
+ a person, group, organisation, project, or community
45
+ * Public or private harassment
46
+ * Publishing others' private information, such as a physical or electronic
47
+ address, without explicit permission
48
+ * Other conduct which could reasonably be considered inappropriate
49
+
50
+ The goal of the standards and moderation guidelines outlined here is to build
51
+ and maintain a respectful community. We ask that you don’t just aim to be
52
+ "technically unimpeachable", but rather try to be your best self.
53
+
54
+ We value many things beyond technical expertise, including collaboration and
55
+ supporting others within our community. Providing a positive experience for
56
+ other community members can have a much more significant impact than simply
57
+ providing the correct answer.
58
+
59
+ ## Our Responsibilities
60
+
61
+ Project leaders are responsible for clarifying the standards of acceptable
62
+ behavior and are expected to take appropriate and fair corrective action in
63
+ response to any instances of unacceptable behavior.
64
+
65
+ Project leaders have the right and responsibility to remove, edit, or
66
+ reject messages, comments, commits, code, issues, and other contributions
67
+ that are not aligned to this Code of Conduct, or to ban temporarily or
68
+ permanently any community member for other behaviors that they deem
69
+ inappropriate, threatening, offensive, or harmful.
70
+
71
+ ## Moderation
72
+
73
+ Instances of behaviors that violate the Adafruit Community Code of Conduct
74
+ may be reported by any member of the community. Community members are
75
+ encouraged to report these situations, including situations they witness
76
+ involving other community members.
77
+
78
+ You may report in the following ways:
79
+
80
+ In any situation, you may send an email to <support@adafruit.com>.
81
+
82
+ On the Adafruit Discord, you may send an open message from any channel
83
+ to all Community Moderators by tagging @community moderators. You may
84
+ also send an open message from any channel, or a direct message to
85
+ @kattni#1507, @tannewt#4653, @Dan Halbert#1614, @cater#2442,
86
+ @sommersoft#0222, @Mr. Certainly#0472 or @Andon#8175.
87
+
88
+ Email and direct message reports will be kept confidential.
89
+
90
+ In situations on Discord where the issue is particularly egregious, possibly
91
+ illegal, requires immediate action, or violates the Discord terms of service,
92
+ you should also report the message directly to Discord.
93
+
94
+ These are the steps for upholding our community’s standards of conduct.
95
+
96
+ 1. Any member of the community may report any situation that violates the
97
+ Adafruit Community Code of Conduct. All reports will be reviewed and
98
+ investigated.
99
+ 2. If the behavior is an egregious violation, the community member who
100
+ committed the violation may be banned immediately, without warning.
101
+ 3. Otherwise, moderators will first respond to such behavior with a warning.
102
+ 4. Moderators follow a soft "three strikes" policy - the community member may
103
+ be given another chance, if they are receptive to the warning and change their
104
+ behavior.
105
+ 5. If the community member is unreceptive or unreasonable when warned by a
106
+ moderator, or the warning goes unheeded, they may be banned for a first or
107
+ second offense. Repeated offenses will result in the community member being
108
+ banned.
109
+
110
+ ## Scope
111
+
112
+ This Code of Conduct and the enforcement policies listed above apply to all
113
+ Adafruit Community venues. This includes but is not limited to any community
114
+ spaces (both public and private), the entire Adafruit Discord server, and
115
+ Adafruit GitHub repositories. Examples of Adafruit Community spaces include
116
+ but are not limited to meet-ups, audio chats on the Adafruit Discord, or
117
+ interaction at a conference.
118
+
119
+ This Code of Conduct applies both within project spaces and in public spaces
120
+ when an individual is representing the project or its community. As a community
121
+ member, you are representing our community, and are expected to behave
122
+ accordingly.
123
+
124
+ ## Attribution
125
+
126
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
127
+ version 1.4, available at
128
+ <https://www.contributor-covenant.org/version/1/4/code-of-conduct.html>,
129
+ and the [Rust Code of Conduct](https://www.rust-lang.org/en-US/conduct.html).
130
+
131
+ For other projects adopting the Adafruit Community Code of
132
+ Conduct, please contact the maintainers of those projects for enforcement.
133
+ If you wish to use this code of conduct for your own project, consider
134
+ explicitly mentioning your moderation policy or making a copy with your
135
+ own moderation policy so as to avoid confusion.
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Damien P. George
4
+ Copyright (c) 2017 Scott Shawcroft for Adafruit Industries
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.