Python REST Tool
Synopsis
Provide a python tool to quickly invoke REST calls with a pre-defined list of settings, plays.
How to use this tool
Download the package:
python3 -m pip install restify-ENGYAK
Set Environment Variables. APIUSER and APIPASS are mandatory.
export APIUSER=username
export APIPASS=password
export APIENDPOINT={{ API Full URL }}
Invoke via the CLI:
python3 -m restify -f settings.json list_plays
To build a new settings file:
python3 -m restify create_settings > settings.json
To list plays provided by a settings file:
python3 -m restify -f settings.json list_plays
API Invocation
Once the package is installed, the namshub() API can be used by:
# Import Restify Library
from restify.RuminatingCogitation import Settings
from restify.RuminatingCogitation import Reliquary
# Set the interface - apply from variables no matter what
cogitation_interface = Reliquary(args.f, input_user=api_user, input_pass=api_pass)
# Exposed variables: def namshub(self, namshub_string, namshub_variables=False, namshub_dryrun=False):
cogitation_interface.namshub({{ }}, namshub_variables={{ }})
And then process data from there.
namshub currently exports text from the API, and may support a dict in the future.
Notes
Authors
- Nick Schmidt
Metadata
Release files for restify-ENGYAK 0.2.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| restify-ENGYAK-0.2.11.tar.gz | 21.7 kB | Without provenance | Details for restify-ENGYAK-0.2.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| restify_ENGYAK-0.2.11-py3-none-any.whl | Python 3 | none | any | Details for restify_ENGYAK-0.2.11-py3-none-any.whl |
Total release size: 44.5 kB
Release files / restify-ENGYAK-0.2.11.tar.gz
| Download URL | restify-ENGYAK-0.2.11.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d692a865f12ce765d00af600cedfbe26136e186ab6f0735bc6be89ff8ac00438
|
|
BLAKE2b-256 checksum How to use checksums |
2d5c127d36f9881126ae6507e39755e0e3a89d9eff0d097db3df2d1194958acb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / restify_ENGYAK-0.2.11-py3-none-any.whl
| Download URL | restify_ENGYAK-0.2.11-py3-none-any.whl |
|---|---|
| Size | 22.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99e777a8915e9bbe694703a5c801bd91801ca622086aab73866bff1dd520cc3a
|
|
BLAKE2b-256 checksum How to use checksums |
4a7f050b622584ca9f4ea93fd2cdfe120674d8254b50fa5dc15db8375fa9b7fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Security for restify-ENGYAK 0.2.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.