build
pyunifiprotect
Our great sponsors
build | pyunifiprotect | |
---|---|---|
7 | 10 | |
659 | 108 | |
4.1% | - | |
9.2 | 8.9 | |
9 days ago | 6 days ago | |
Python | Python | |
MIT 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.
build
- How can I download a software for my user automatically?
-
Underappreciated Challenges with Python Packaging
If it's pure Python, the only packaging file you need is `pyproject.toml`. You can fill that file with packaging metadata per PEP 518 and PEP 621, including using modern build tooling like flit[1] for the build backend and build[2] for the frontend.
With that, you entire package build (for all distribution types) should be reducible to `python -m build`. Here's an example of a full project doing everything with just `pyproject.toml`[3] (FD: my project).
[1]: https://github.com/pypa/flit
[2]: https://github.com/pypa/build
[3]: https://github.com/pypa/pip-audit
-
"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"
RE the dislike of a "third-party tool", what do you mean by this? All the major tools for packaging in Python are under the PyPA, e.g. - twine - build - hatch
-
'Python: Please stop screwing over Linux distros'
building wheels/sdists to upload or install: build
-
An Interactive Cheat Sheet That Just Gives You The Answer
python3 setup.py sdist bdist_wheel - no need for an sdist when building wheels, also I'd recommend using pypa/build instead.
-
How to Structure a Python AWS Serverless Project
The first step is to turn the internal package into a wheel (a *.whl file). We can use the build tool for this purpose. After installing build with pip we can run it as follows:
-
The future of Python build systems and Gentoo
Shouldn't https://github.com/pypa/build help? I don't think it has enough features yet but I was under the impression that was the distro solution.
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?
gh-action-pypi-publish - The blessed :octocat: GitHub Action, for publishing your :package: distribution files to PyPI: https://github.com/marketplace/actions/pypi-publish
udm-le - Let's Encrypt support for Ubiquiti UniFi OS
installer - A low-level library for installing from a Python wheel distribution.
unifi-protect-remux - Tool to help remux .ubv files from Ubiquiti's Unifi Protect system so they can be turned into standard .mp4 files
setuptools - Official project repository for the Setuptools build system
unifi-protect-backup - Python tool to backup unifi event clips in realtime
awesome-pyproject - An Awesome List of projects using the pyproject.toml Python configuration file.
unifi-protect-video-downloader - Tool for downloading footage from a local UniFi Protect system
pipx - Install and Run Python Applications in Isolated Environments
serverless-project-example - Example Python project using AWS serverless stack
pip - The Python package installer