Skip to main content

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, Nautobot, and developing in general.

https://demo.nautobot.com/

Getting Started

  1. Install package: pip install nautobot_api_sandbox

  2. Run package: nautobot_api_sandbox

  3. Enter 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 Prerequisites

Before getting started, make sure you have the following installed on your machine:

  • Python 3.9 or later
  • Poetry

Development

  1. Clone the repository: git clone git@github.com:tPayne0647/nautobot-api-sandbox.git
  2. Navigate to the project directory: cd nautobot-api-sandbox
  3. Install the project dependencies using Poetry: poetry install
  4. Install the development dependencies: poetry install --dev
  5. Activate the virtual environment created by Poetry: poetry shell
  6. Run the program: nautobot_api_sandbox

To run the tests: poetry run pytest

Any help or tips would be greatly appreciated!!

Currently Working On / Want to Add

  • Exception handling?
  • Valid unittest? Need more tests...
  • Integrate click? really want to rework UI
  • Make sure using logging correctly
  • Fix delete_tenant RequestError 409
  • Update readme instructions
  • Poetry integration
  • Publish package

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

nautobot_api_sandbox-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

nautobot_api_sandbox-0.1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file nautobot_api_sandbox-0.1.1.tar.gz.

File metadata

  • Download URL: nautobot_api_sandbox-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.16 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for nautobot_api_sandbox-0.1.1.tar.gz
Algorithm Hash digest
SHA256 96cb10e886b8d8a3775fabc5523f7e7d15930286c013c1a7c6c0817cecc4025f
MD5 7294744af63d97f2bd4dcdafcc99828a
BLAKE2b-256 fbd73c63eecc44489615c7b3848957158a6c2294526746a2bd0965a7a1517cd0

See more details on using hashes here.

File details

Details for the file nautobot_api_sandbox-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nautobot_api_sandbox-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.16 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for nautobot_api_sandbox-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c02887d02f07eee4480a8c267a06a3e1a7f3ddc7f148c881e02e78ada27382c
MD5 0f06a33cb7c0bd94ecc96f5a3526bb9d
BLAKE2b-256 7c557f946dc31bb4d12fb75660bde6061b123e9853e4d7359cf5fcec25c52ee3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page