Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Simple API to access Netatmo weather station data from any Python 3 script. Designed for Home Assistant (but not only)
Readme
Warning: Due to personal reasons, I am currently unable to dedicate sufficient time to effectively manage this repository. Consequently, no attention will be given to existing or forthcoming issues until further notice. However, I want to assure you that I will continue to merge any pull requests that are submitted, provided they successfully pass the continuous integration tests and do not exhibit any glaring issues.
I apologize for any inconvenience this may cause, and I sincerely hope to have the capacity to allocate more time to this repository in the near future. Your understanding is greatly appreciated.
Simple API to access Netatmo devices and data like weather station or camera data from Python 3. For more detailed information see dev.netatmo.com
This project has no relation with the Netatmo company.
To install pyatmo simply run:
pip install pyatmo
Depending on your permissions you might be required to use sudo.
Once installed you can simply add pyatmo
to your Python 3 scripts by including:
import pyatmo
The module requires a valid user account and a registered application. Be aware that the module may stop working if Netatmo decides to change their API.
Clone the repo and install dependencies:
git clone
cd pyatmo
pipenv install --dev
To add the pre-commit hook to your environment run:
pip install pre-commit
pre-commit install
To run the full suite simply run the following command from within the virtual environment:
pytest
or
python -m pytest tests/
To generate code coverage xml (e.g. for use in VSCode) run
python -m pytest --cov-report xml:cov.xml --cov pyatmo --cov-append tests/
Another way to run the tests is by using tox
. This runs the tests against the installed package and multiple versions of python.
tox
or by specifying a python version
tox -e py310
FAQs
Simple API to access Netatmo weather station data from any Python 3 script. Designed for Home Assistant (but not only)
We found that pyatmo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.