sbclient - CLI Splunkbase client
sbclient is a command-line client for interacting with the officially unofficial Splunkbase API.
Installation
sbclient can be installed using pip3:
pip3 install sbclient
Or, if you're feeling adventurous, can be installed directly from github:
pip3 install git+https://github.com/HurricaneLabs/sbclient.git
Usage
Usage: sbclient [OPTIONS] COMMAND [ARGS]...
Options:
-U, --username TEXT [required]
-P, --password TEXT
--help Show this message and exit.
Commands:
check-app-for-update
download-app
get-latest-version
sbclient is broken into several smaller commands. Credentials for Splunkbase can be passed as parameters, or can be set as environment variables
export SPLUNKBASE_USERNAME="doug.merritt"
export SPLUNKBASE_PASSWORD="spLunk1sc00l"
check-app-for-update
check-app-for-update will parse an app directory for details, and check for updates on
Splunkbase for that app. It will also output the current version of the app, and details of the
update if one is available.
Usage: sbclient check-app-for-update [OPTIONS] APP_DIR
Options:
--splunk-version TEXT Restrict to app versions compatible with a given
Splunk version
--help Show this message and exit.
download-app
download-app will download an app from Splunkbase, either a specific version or the latest
available.
Usage: sbclient download-app [OPTIONS] APP_NAME
Options:
--output-path TEXT Path and filename location to save the app
--version TEXT Version of app to download, default is latest
--help Show this message and exit.
get-latest-version
get-latest-version will check Splunkbase and output information on the latest version of an app
available. Optionally, you can restrict the latest version to the latest version compatible with a
specific Splunk version.
Usage: sbclient get-latest-version [OPTIONS] APP_NAME
Options:
--splunk-version TEXT Restrict to app versions compatible with a given
Splunk version
--help Show this message and exit.
Metadata
Release files for sbclient 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sbclient-1.0.2.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sbclient-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.0 kB
Release files / sbclient-1.0.2.tar.gz
| Download URL | sbclient-1.0.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ca745abff4a4f635c197f2e7bee7f7e5370ab233cb6e5dc73d5a231484d92a5
|
|
BLAKE2b-256 checksum How to use checksums |
92b22ddc97124d5746f54bdf75ad58631f8cf55e390a2d3d7ff0efa2e8958cb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.11 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
|
Release files / sbclient-1.0.2-py3-none-any.whl
| Download URL | sbclient-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70f719a31a196bdb75f0b2c8bd69452d1bb736530cbb36128a72c45498d8d3f3
|
|
BLAKE2b-256 checksum How to use checksums |
19c0418affbf16750971d021bd0b48d689ad11fb94e63b853e0f9e1bc6f5b7cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.11 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
|