The beginning tm
This commit is contained in:
parent
8682fc9110
commit
9023d9ccbb
5 changed files with 25 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
.venv/
|
||||||
|
__pycache__/
|
||||||
13
Makefile
Normal file
13
Makefile
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
PYTHON ?= python3
|
||||||
|
VENV ?= .venv
|
||||||
|
|
||||||
|
.PHONY: venv
|
||||||
|
venv: $(VENV)/bin/activate
|
||||||
|
$(VENV)/bin/activate: requirements.txt
|
||||||
|
rm -rf '$(VENV)'
|
||||||
|
'$(PYTHON)' -m venv '$(VENV)'
|
||||||
|
'$(VENV)'/bin/pip install -r requirements.txt
|
||||||
|
|
||||||
|
.PHONY: shell
|
||||||
|
shell: venv
|
||||||
|
@ '$(VENV)'/bin/python
|
||||||
0
requirements.txt
Normal file
0
requirements.txt
Normal file
3
vieter/__init__.py
Normal file
3
vieter/__init__.py
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
from .vieter import Vieter
|
||||||
|
|
||||||
|
__all__ = ('Vieter')
|
||||||
7
vieter/vieter.py
Normal file
7
vieter/vieter.py
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
class Vieter:
|
||||||
|
def __init__(self, address: str, api_key: str) -> None:
|
||||||
|
self._address = address
|
||||||
|
self._api_key = api_key
|
||||||
|
|
||||||
|
def _do_req(self, path: str, method: str, params: dict):
|
||||||
|
pass
|
||||||
Reference in a new issue