Skip to main content

Python curl wrapper inspired by micha/resty

Project description


`pyresty` is a requests wrapper inspired by [micha/resty]( It provides a simple, concice shell interface for interacting with REST

##Quick Start

Install pyresty however you desire. I recommend `pip`.

$ pip install pyresty

Add a host to the configuration (ad-hoc hosts to be added soon):

$ pyresty add localhost http://localhost:8000/v2.0

Set the global host to your target:

$ pyresty localhost

Make requests:

$ GET /things
{[{"id": 1, "name": "superwidget"}, {"id": 2, "name": "not_cool_widget"}]}

$ DELETE /things/1

Switch hosts if you want:

$ pyresty production_server

##Upcoming Features:

* ad-hoc host definition: `pyresty`
* session recording and playback
* token loading from environment
* auth plugins
* host sections with more options
* output options
* vi integration

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyresty, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size pyresty-0.0.4.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page