%global _empty_manifest_terminate_build 0 Name: python-aiocasambi Version: 0.283 Release: 1 Summary: aio library to control Casambi light through cloudapi License: MIT URL: https://github.com/hellqvio86/aiocasambi Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a6/37/872c18a03aaae36d660770a0b9d843816dbd14505999d5ac6b9abd3e183c/aiocasambi-0.283.tar.gz BuildArch: noarch Requires: python3-aiohttp Requires: python3-pyyaml Requires: python3-pyyaml %description ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/aiocasambi) ![PyPI](https://img.shields.io/pypi/v/aiocasambi) ![GitHub](https://img.shields.io/github/license/hellqvio86/aiocasambi) ![GitHub issues](https://img.shields.io/github/issues-raw/hellqvio86/aiocasambi) ![GitHub last commit](https://img.shields.io/github/last-commit/hellqvio86/aiocasambi) ![PyPI - Downloads](https://img.shields.io/pypi/dm/aiocasambi) # Python library for controlling Casambi lights aio Python library for controlling Casambi via Cloud API ## Supported modes These modes are implemented: - on/off - brightness - color temperature - rgb - rgbw ## Getting Started 1. Request developer api key from Casambi: https://developer.casambi.com/ 2. Setup a site in Casambi app: http://support.casambi.com/support/solutions/articles/12000041325-how-to-create-a-site ## Installating Install this library through pip: ``` pip install aiocasambi ``` ## Authors - **Olof Hellqvist** - _Initial work_ ## License This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details ### Test script Add the credentials to _casambi.yaml.example_ and rename the file to _casambi.yaml_ #### Build localy in env ``` python3 -m venv aiocasambi source ./aiocasambi/bin/activate ./aiocasambi/bin/pip3 install -r ./aiocasambi/requirements.txt ``` ## Disclaimer This library is neither affiliated with nor endorsed by Casambi. %package -n python3-aiocasambi Summary: aio library to control Casambi light through cloudapi Provides: python-aiocasambi BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-aiocasambi ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/aiocasambi) ![PyPI](https://img.shields.io/pypi/v/aiocasambi) ![GitHub](https://img.shields.io/github/license/hellqvio86/aiocasambi) ![GitHub issues](https://img.shields.io/github/issues-raw/hellqvio86/aiocasambi) ![GitHub last commit](https://img.shields.io/github/last-commit/hellqvio86/aiocasambi) ![PyPI - Downloads](https://img.shields.io/pypi/dm/aiocasambi) # Python library for controlling Casambi lights aio Python library for controlling Casambi via Cloud API ## Supported modes These modes are implemented: - on/off - brightness - color temperature - rgb - rgbw ## Getting Started 1. Request developer api key from Casambi: https://developer.casambi.com/ 2. Setup a site in Casambi app: http://support.casambi.com/support/solutions/articles/12000041325-how-to-create-a-site ## Installating Install this library through pip: ``` pip install aiocasambi ``` ## Authors - **Olof Hellqvist** - _Initial work_ ## License This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details ### Test script Add the credentials to _casambi.yaml.example_ and rename the file to _casambi.yaml_ #### Build localy in env ``` python3 -m venv aiocasambi source ./aiocasambi/bin/activate ./aiocasambi/bin/pip3 install -r ./aiocasambi/requirements.txt ``` ## Disclaimer This library is neither affiliated with nor endorsed by Casambi. %package help Summary: Development documents and examples for aiocasambi Provides: python3-aiocasambi-doc %description help ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/aiocasambi) ![PyPI](https://img.shields.io/pypi/v/aiocasambi) ![GitHub](https://img.shields.io/github/license/hellqvio86/aiocasambi) ![GitHub issues](https://img.shields.io/github/issues-raw/hellqvio86/aiocasambi) ![GitHub last commit](https://img.shields.io/github/last-commit/hellqvio86/aiocasambi) ![PyPI - Downloads](https://img.shields.io/pypi/dm/aiocasambi) # Python library for controlling Casambi lights aio Python library for controlling Casambi via Cloud API ## Supported modes These modes are implemented: - on/off - brightness - color temperature - rgb - rgbw ## Getting Started 1. Request developer api key from Casambi: https://developer.casambi.com/ 2. Setup a site in Casambi app: http://support.casambi.com/support/solutions/articles/12000041325-how-to-create-a-site ## Installating Install this library through pip: ``` pip install aiocasambi ``` ## Authors - **Olof Hellqvist** - _Initial work_ ## License This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details ### Test script Add the credentials to _casambi.yaml.example_ and rename the file to _casambi.yaml_ #### Build localy in env ``` python3 -m venv aiocasambi source ./aiocasambi/bin/activate ./aiocasambi/bin/pip3 install -r ./aiocasambi/requirements.txt ``` ## Disclaimer This library is neither affiliated with nor endorsed by Casambi. %prep %autosetup -n aiocasambi-0.283 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-aiocasambi -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Wed May 10 2023 Python_Bot - 0.283-1 - Package Spec generated