gh-action-pypi-publish
pyunifiprotect
Our great sponsors
gh-action-pypi-publish | pyunifiprotect | |
---|---|---|
5 | 10 | |
836 | 109 | |
3.7% | - | |
8.1 | 8.9 | |
2 days ago | 1 day ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gh-action-pypi-publish
-
PyPI new user and new project registrations temporarily suspended
> Recently I've seen someone on Reddit trying to automate the creation of PyPI projects through GitHub Actions. The person was complaining that the first deployment couldn't use an API key for that project since it didn't exist. So I'm not surprised some people are trying to do the same for malicious purposes.
Sorry for the tangent, but: you can do this now! If you use trusted publishing, you can register a "pending publisher" for a project that doesn't exist yet. When the trusted publisher (like GitHub Actions) is used, it'll create the project[1].
All of this is supported transparently by the official publishing action for GitHub Actions[2].
[1]: https://docs.pypi.org/trusted-publishers/creating-a-project-...
[2]: https://github.com/pypa/gh-action-pypi-publish
-
Publishing to PyPI via GitHub Action
In the documentation example, I see that the action yaml file contains the line uses: pypa/gh-action-pypi-publish@release/v1. I have never done this before and almost went with that, but I am not sure why the example shows v1 hardcoded, so I don't think I actually want this to happen. It doesn't seem to be well explained though, and the pypi-publish action repo was also quiet on this. Is this saying that it will create a release branch in my repo and call the release v1? Or how will this appear after I've done it? Will I have to manually change this v1 to v0.1.1 in the actions file AND the pyproject.toml?
-
"Even with --dry-run pip will execute arbitrary code found in the package's setup.py. In fact, merely asking pip to download a package can execute arbitrary code"
Yeah, you're uploading to PyPi in your pipeline, great. The custom github action still uses twine because the stdlib falls short on BASIC security. https://github.com/pypa/gh-action-pypi-publish/blob/unstable/v1/twine-upload.sh
-
Do you publish pypi source code to Github as well in the same form?
I never bothered with pypi myself but I hope the nudge into github actions helps you. I've found the following promising github action: https://github.com/pypa/gh-action-pypi-publish
- The Python Package Index is now a GitHub secret scanning integrator
pyunifiprotect
-
"Even with --dry-run pip will execute arbitrary code found in the package's setup.py. In fact, merely asking pip to download a package can execute arbitrary code"
Also, MANIFEST.in is not required. There is no such file in this project of mine. It is fully handled by the packing pipeline.
-
UniFi Protect CLI and Python Library
Hello! I am the current maintainer of the Python library pyunifiprotect. I have never made a post for the library on here before, but I figured it was finally time with the recent Backup CLI I started adding features to.
-
Smart Chime Review
That is not correct. The option is just not exposed in the frontend on any of the official applications. I exposed the option in both the UniFi Protect CLI/library I made and it is exposed as service in Home Assistant as well.
-
Is it possible to selectively disable certain cameras in UniFi Protect within the app (webapp, or the phone apps)?
"Privacy Mode" is basically a compute feature provided by pyunifiprotect, which is what Home Assistant uses. The switch in HA does exactly what I said in Protect terms:
-
Does Unifi Protect support preserving a video clip?
But I do I have a WIP PR to get a Docker container up for people to use. https://github.com/briis/pyunifiprotect/pull/194. Unfortunately, it is pretty big (~700MB) because ffmpeg is a fat boy.
-
unifi Smart Chime multiple doorbells
If you want to pair multiple doorbells, you can either use pyunifiprotect or Home Assistant.
-
Tool for automatically backing up Unifi Protect clips to cloud storage
I would recommend checking out https://github.com/briis/pyunifiprotect to see what’s available. Also if you want to download historical events you can use https://github.com/danielfernau/unifi-protect-video-downloader
-
Moving from pyCharm to VS Code
OSS project we have a Container configuration for (for reference): https://github.com/briis/pyunifiprotect/blob/master/.devcontainer/devcontainer.json
What are some alternatives?
build - A simple, correct Python build frontend
udm-le - Let's Encrypt support for Ubiquiti UniFi OS
git-filter-repo - Quickly rewrite git repository history (filter-branch replacement)
unifi-protect-remux - Tool to help remux .ubv files from Ubiquiti's Unifi Protect system so they can be turned into standard .mp4 files
amplify-preview-actions - This action deploys your AWS Amplify pull request preview for your public repository
unifi-protect-backup - Python tool to backup unifi event clips in realtime
git-repo-sync - Git Repo Sync enables you to synchronize code to other code management platforms, such as GitLab, Gitee, etc.
trufflehog - Find and verify credentials
unifi-protect-video-downloader - Tool for downloading footage from a local UniFi Protect system
release - Contains every things needed to release jenkins core from the jenkins infra project
awesome-pyproject - An Awesome List of projects using the pyproject.toml Python configuration file.