A CLI tool to install software on a remote JunOS machine.
Project description
Welcome to add_juniper_software!
Installation
This package is installed using pip. Pip should come pre-installed with all versions of Python for which this package is compatible. Nonetheless, if you wish to install pip, you can do so by downloading get-pip.py and running that python file (Windows/MacOS/Linux/BSD), or you can run the following command in terminal (Linux/BSD):
sudo apt install python3-pip
If you’re using brew (most likely for MacOS), you can install pip (along with the rest of Python 3) using brew:
brew install python3
Note: The creator of this software does not recommend the installation of python or pip using brew, and instead recommends that Python 3.7+ be installed using the installation candidates found on python.org, which include pip by default.
Using Pip to install from PyPi
Fetching this repository from PyPi is the recommended way to install this package. From your terminal, run the following command:
pip3 install add_juniper_software
And that’s it! Now you can go right ahead to the quick-start guide!
Install from GitHub
Not a big fan of pip? Well, you’re weird, but weird is OK! I’ve written a separate script to help make installation from GitHub releases as easy as possible. To start, download the installation script and run it:
wget https://raw.githubusercontent.com/EGuthrieWasTaken/add_juniper_software/main/source_install.py
python3 source_install.py
After completing, the script will have downloaded the latest tarball release and extracted it into the working directory. Now, all you have to do is switch into the newly-extracted directory and run the install command:
cd EGuthrieWasTaken-add_juniper_software-[commit_id]/
python3 setup.py install
If you get a permission denied error, you may have to re-run using sudo or equivalent. Congratulations, you just installed add_juniper_software from GitHub releases! Feel free to check out the quick-start guide!
Alternatively, you can download the latest code from GitHub to install from source. This is not recommended:
gh repo clone EGuthrieWasTaken/add_juniper_software
cd add_juniper_software/
python3 setup.py install
And with a little bit of luck, you should have just installed from source!
Quick-Start Guide
Getting started with this package is easy! Just run add-juniper-software from your machine! Use the -h flag to see the help menu!
add-juniper-software -h
Documentation
Documentation for this project can be found on Read the Docs. Otherwise, feel free to browse the source code within the repository! It is (hopefully) well-documented…
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 add_juniper_software-1.0.3.tar.gz
.
File metadata
- Download URL: add_juniper_software-1.0.3.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a51bb4355763330be44b3a417480d6fde71f9fea781fe97accb6855932fcbdf |
|
MD5 | 92dd1f532fd41df8a9ef01a8135e6311 |
|
BLAKE2b-256 | a9ca58fd9dd28d3d6feda265843be9420b6ad5da075885125c92cd26111ba106 |
File details
Details for the file add_juniper_software-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: add_juniper_software-1.0.3-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1eef9fa3deae19407efb9b6063820ac42a64c16ee656b4f65f2418d67354629 |
|
MD5 | d7ff8029b1e408dbbe5fbb54d507592f |
|
BLAKE2b-256 | 297840fede3045da63bcbc2b323e68aa994e3a0f6a6f3c46e9a974aea0d381e4 |