The beginning tm
							parent
							
								
									8682fc9110
								
							
						
					
					
						commit
						9023d9ccbb
					
				| 
						 | 
					@ -0,0 +1,2 @@
 | 
				
			||||||
 | 
					.venv/
 | 
				
			||||||
 | 
					__pycache__/
 | 
				
			||||||
| 
						 | 
					@ -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,0 +1,3 @@
 | 
				
			||||||
 | 
					from .vieter import Vieter
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					__all__ = ('Vieter')
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
				
			||||||
		Loading…
	
		Reference in New Issue