{"id":29051312,"url":"https://github.com/ngschmidt/python-restify","last_synced_at":"2025-06-26T22:04:05.067Z","repository":{"id":44798065,"uuid":"338699937","full_name":"ngschmidt/python-restify","owner":"ngschmidt","description":"Abstractions should save typing, not thinking! `python-restify` will provide a quick and simple CLI for REST API consumption. ","archived":false,"fork":false,"pushed_at":"2023-01-06T02:12:53.000Z","size":452,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-25T19:52:40.616Z","etag":null,"topics":["nsx-t","python","python3","rest-api"],"latest_commit_sha":null,"homepage":"https://ngschmidt.github.io/python-restify/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ngschmidt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-14T00:34:18.000Z","updated_at":"2021-12-31T19:40:36.000Z","dependencies_parsed_at":"2023-02-05T02:30:20.288Z","dependency_job_id":null,"html_url":"https://github.com/ngschmidt/python-restify","commit_stats":null,"previous_names":["ngschmidt/python-resttool"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/ngschmidt/python-restify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngschmidt%2Fpython-restify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngschmidt%2Fpython-restify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngschmidt%2Fpython-restify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngschmidt%2Fpython-restify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngschmidt","download_url":"https://codeload.github.com/ngschmidt/python-restify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngschmidt%2Fpython-restify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261960463,"owners_count":23236574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nsx-t","python","python3","rest-api"],"created_at":"2025-06-26T22:03:31.362Z","updated_at":"2025-06-26T22:04:05.054Z","avatar_url":"https://github.com/ngschmidt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python REST Tool\n\n## Synopsis\n\nProvide a python tool to quickly invoke REST calls with a pre-defined list of settings, plays.\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n## How to use this tool\n\nDownload the package:\n\n```bash\npython3 -m pip install restify-ENGYAK\n```\n\nSet Environment Variables. `APIUSER` and `APIPASS` are mandatory.\n\n```bash\nexport APIUSER=username\nexport APIPASS=password\nexport APIENDPOINT={{ API Full URL }}\n```\n\nInvoke via the CLI:\n\n```bash\npython3 -m restify -f settings.json list_plays\n```\n\nTo build a new settings file:\n\n```bash\npython3 -m restify create_settings \u003e settings.json\n```\n\nTo list plays provided by a settings file:\n\n```bash\npython3 -m restify -f settings.json list_plays\n```\n\n## API Invocation\n\nOnce the package is installed, the `namshub()` API can be used by:\n\n```python\n# Import Restify Library\nfrom restify.RuminatingCogitation import Settings\nfrom restify.RuminatingCogitation import Reliquary\n# Set the interface - apply from variables no matter what\ncogitation_interface = Reliquary(args.f, input_user=api_user, input_pass=api_pass)\n# Exposed variables: def namshub(self, namshub_string, namshub_variables=False, namshub_dryrun=False):\ncogitation_interface.namshub({{ }}, namshub_variables={{ }})\n```\n\nAnd then process data from there.\n`namshub` currently exports text from the API, and may support a `dict` in the future.\n\n## Notes\n\n## Authors\n\n* *Nick Schmidt*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngschmidt%2Fpython-restify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngschmidt%2Fpython-restify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngschmidt%2Fpython-restify/lists"}