Skip to main content

Python REST Tool

Synopsis

Provide a python tool to quickly invoke REST calls with a pre-defined list of settings, plays.

Code style: black

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)

Source distribution for restify-ENGYAK 0.2.11
File Size Uploaded
restify-ENGYAK-0.2.11.tar.gz 21.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for restify-ENGYAK 0.2.11
File Interpreter ABI Platform
restify_ENGYAK-0.2.11-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.11 This release

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page