Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/porplax/neobridge
Browse files Browse the repository at this point in the history
  • Loading branch information
Localis9 committed Apr 9, 2024
2 parents df6c5a5 + e8160d9 commit 31d6ba4
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 40 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/python-publish.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# This permission is needed for private repositories.
contents: read
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3

- uses: pdm-project/setup-pdm@v3

- name: Publish package distributions to PyPI
run: pdm publish
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Zayne Marsh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ neobridge.setone(self, rgb: tuple, index: int)
"""
```

```py
neobridge.setlist(self, rgb_list: list)
"""
*Gives the board a list of RGB values to set.*
Args:
rgb (rgb_list): RGB list to set.
"""
```

```py
neobridge.show(self)
"""
Expand Down
2 changes: 1 addition & 1 deletion src/neobridge/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ class Command:
for i in range(len(neo)):
neo[i] = _list[i]
except:
pass
pass

0 comments on commit 31d6ba4

Please sign in to comment.