primo commit

This commit is contained in:
2020-11-30 12:25:11 +01:00
commit cdb4aced3e
5 changed files with 50 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
__pycache__
.vscode
.venv

0
__init__.py Normal file
View File

31
poetry.lock generated Normal file
View File

@@ -0,0 +1,31 @@
[[package]]
name = "paho-mqtt"
version = "1.5.1"
description = "MQTT version 5.0/3.1.1 client class"
category = "main"
optional = false
python-versions = "*"
[package.extras]
proxy = ["pysocks"]
[[package]]
name = "rpi.gpio"
version = "0.7.0"
description = "A module to control Raspberry Pi GPIO channels"
category = "main"
optional = false
python-versions = "*"
[metadata]
lock-version = "1.1"
python-versions = "^3.8"
content-hash = "01386c0a415f38d4252a3e911925343c3bafeb207dc5a67bffcb23d5da48971e"
[metadata.files]
paho-mqtt = [
{file = "paho-mqtt-1.5.1.tar.gz", hash = "sha256:9feb068e822be7b3a116324e01fb6028eb1d66412bf98595ae72698965cb1cae"},
]
"rpi.gpio" = [
{file = "RPi.GPIO-0.7.0.tar.gz", hash = "sha256:7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f"},
]

1
pyButtons.py Normal file
View File

@@ -0,0 +1 @@
print("Hello world")

15
pyproject.toml Normal file
View File

@@ -0,0 +1,15 @@
[tool.poetry]
name = "pybuttons"
version = "0.1.0"
description = ""
authors = ["Emanuele <ema.trabattoni@gmail.com>"]
[tool.poetry.dependencies]
python = "^3.8"
paho-mqtt = "^1.5.1"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"