Skip to content

Commit

Permalink
Update device endpoint support and improve dependency management (#3)
Browse files Browse the repository at this point in the history
* Update Client to be compatible with the current Vilfo API

* Add pipenv to manage dependencies
  • Loading branch information
ManneW committed Nov 4, 2021
1 parent d659c10 commit 84ec4c4
Show file tree
Hide file tree
Showing 7 changed files with 533 additions and 43 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,3 @@
{
"python.formatting.provider": "black"
}
19 changes: 19 additions & 0 deletions Pipfile
@@ -0,0 +1,19 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
requests = "*"
getmac = "~=0.8"
semver = "*"

[dev-packages]
black = "*"
responses = "*"

[requires]
python_version = "3.9"

[pipenv]
allow_prereleases = true
240 changes: 240 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 23 additions & 2 deletions requirements-dev.txt
@@ -1,2 +1,23 @@
requests
responses
#
# These requirements were autogenerated by pipenv
# To regenerate from the project's Pipfile, run:
#
# pipenv lock --requirements --dev-only
#

-i https://pypi.org/simple
black==21.10b0
certifi==2021.10.8
charset-normalizer==2.0.7; python_version >= '3'
click==8.0.3; python_version >= '3.6'
idna==3.3; python_version >= '3'
mypy-extensions==0.4.3
pathspec==0.9.0
platformdirs==2.4.0; python_version >= '3.6'
regex==2021.11.2
requests==2.26.0
responses==0.15.0
six==1.16.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
tomli==1.2.2; python_version >= '3.6'
typing-extensions==3.10.0.2
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'
17 changes: 15 additions & 2 deletions requirements.txt
@@ -1,2 +1,15 @@
requests
getmac~=0.8
#
# These requirements were autogenerated by pipenv
# To regenerate from the project's Pipfile, run:
#
# pipenv lock --requirements
#

-i https://pypi.org/simple
certifi==2021.10.8
charset-normalizer==2.0.7; python_version >= '3'
getmac==0.8.2
idna==3.3; python_version >= '3'
requests==2.26.0
semver==3.0.0.dev2
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 comments on commit 84ec4c4

Please sign in to comment.