Skip to content

Commit 84ec4c4

Browse files
authored
Update device endpoint support and improve dependency management (#3)
* Update Client to be compatible with the current Vilfo API * Add pipenv to manage dependencies
1 parent d659c10 commit 84ec4c4

File tree

7 files changed

+533
-43
lines changed

7 files changed

+533
-43
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.formatting.provider": "black"
3+
}

Pipfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
requests = "*"
8+
getmac = "~=0.8"
9+
semver = "*"
10+
11+
[dev-packages]
12+
black = "*"
13+
responses = "*"
14+
15+
[requires]
16+
python_version = "3.9"
17+
18+
[pipenv]
19+
allow_prereleases = true

Pipfile.lock

Lines changed: 240 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements-dev.txt

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,23 @@
1-
requests
2-
responses
1+
#
2+
# These requirements were autogenerated by pipenv
3+
# To regenerate from the project's Pipfile, run:
4+
#
5+
# pipenv lock --requirements --dev-only
6+
#
7+
8+
-i https://pypi.org/simple
9+
black==21.10b0
10+
certifi==2021.10.8
11+
charset-normalizer==2.0.7; python_version >= '3'
12+
click==8.0.3; python_version >= '3.6'
13+
idna==3.3; python_version >= '3'
14+
mypy-extensions==0.4.3
15+
pathspec==0.9.0
16+
platformdirs==2.4.0; python_version >= '3.6'
17+
regex==2021.11.2
18+
requests==2.26.0
19+
responses==0.15.0
20+
six==1.16.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
21+
tomli==1.2.2; python_version >= '3.6'
22+
typing-extensions==3.10.0.2
23+
urllib3==1.26.7; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'

requirements.txt

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1-
requests
2-
getmac~=0.8
1+
#
2+
# These requirements were autogenerated by pipenv
3+
# To regenerate from the project's Pipfile, run:
4+
#
5+
# pipenv lock --requirements
6+
#
7+
8+
-i https://pypi.org/simple
9+
certifi==2021.10.8
10+
charset-normalizer==2.0.7; python_version >= '3'
11+
getmac==0.8.2
12+
idna==3.3; python_version >= '3'
13+
requests==2.26.0
14+
semver==3.0.0.dev2
15+
urllib3==1.26.7; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'

0 commit comments

Comments
 (0)