Skip to content

Commit 7151982

Browse files
committed
initial framework
1 parent f4c7118 commit 7151982

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

pyhpipam/.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"python.pythonPath": "${workspaceFolder}/venv/bin/python",
3+
"python.autoComplete.extraPaths": ["./tests/scripts"],
4+
"python.envFile": "${workspaceFolder}/.env",
5+
"restructuredtext.confPath": "${workspaceFolder}/docs"
6+
}

pyhpipam/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from pkg_resources import get_distribution, DistributionNotFound
2+
3+
from pyhpipam.core.query import RequestError, AllocationError, ContentError
4+
from pyhpipam.core.api import Api as api
5+
6+
try:
7+
__version__ = get_distribution(__name__).version
8+
except DistributionNotFound:
9+
pass

pyhpipam/core/__init__.py

Whitespace-only changes.

pyhpipam/core/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# provides a common api object to work on.

pyhpipam/core/query.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# provides the main query methods.

0 commit comments

Comments
 (0)