This is just a simple program to test my programing knowledge and to learn more about API and Nautobot.
Project description
Nautobot API Sandbox
This is a simple program to test my programming knowledge and learn more about API and Nautobot.
Prerequisites
Before getting started, make sure you have the following installed on your machine:
- Python 3.9 or later
- Poetry
Getting Started
- Clone the repository:
git clone git@github.com:tPayne0647/nautobot-api-sandbox.git
- Navigate to the project directory:
cd nautobot-api-sandbox
- Install the project dependencies using Poetry:
poetry install
- Activate the virtual environment created by Poetry:
poetry shell
- Run the program:
nautobot_api_sandbox
Demo token: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
This will start the Nautobot API Sandbox command-line interface. Follow the instructions in the application to interact with the Nautobot API. NOTE: You don't need to add '()' or "" quotes. Simply type the command + the name (e.g., create_tenant tpayne, show_devices atl01).
Development
If you're contributing to the project or want to run tests, make sure to install the development dependencies as well: poetry install --dev
To run the tests: poetry run pytest
Any help or tips would be awesome!
Currently Working On / Want to Add
- Exception handling? Need to learn more about how these work exactly...
- Valid unittest?
- Integrate click?
- Make sure using logging correctly
- Poetry integration
- publish application?
This is a work in progress!!!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nautobot_api_sandbox-0.1.0.tar.gz
.
File metadata
- Download URL: nautobot_api_sandbox-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.10.102.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f97cc530290b091b6056210d075726a3c60bd8c4df82f2a0073f8874b338a491 |
|
MD5 | 2975033a9a26792b9351f2c267481230 |
|
BLAKE2b-256 | 6e66e703accc840b2db47f2a0124af848954a9a20ca4b729e2c12c025d75f607 |
File details
Details for the file nautobot_api_sandbox-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: nautobot_api_sandbox-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.10.102.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 133bff8121727043572abeb20046351d0cbb944964f974367fe620093750f1d3 |
|
MD5 | d0eb10841ea38b4cb2e30af319a9bb99 |
|
BLAKE2b-256 | d802880678876e56ce6d96a9396c03144118d813251eb27fc1b96de9383b0861 |