feat: configuration loading and netbox api client
config.yaml next to the script (or $NETBOX_INVENTORY_CONFIG) with environment variable overrides, requests session with token auth, paginated list fetching and readable error reporting.
This commit is contained in:
1 parent
44e7dd50b5
commit
7912dacf95
4 files changed
+231
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
# Python
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
.venv/
|
||||
|
||||
# Testing
|
||||
.pytest_cache/
|
||||
.ruff_cache/
|
||||
|
||||
# Configuration
|
||||
config.yaml
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
.vscode/
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Reference in new issue
Block a user