Skip to main content
#pyresty

`pyresty` is a requests wrapper inspired by [micha/resty](http://github.com/micha/resty). It provides a simple, concice shell interface for interacting with REST
services.

##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 http://random.com`
* session recording and playback
* token loading from environment
* auth plugins
* host sections with more options
* output options
* vi integration

Metadata

Release files for pyresty 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyresty 0.0.4
File Size Uploaded Provenance
pyresty-0.0.4.tar.gz 4.7 kB Without provenance Details

Release files / pyresty-0.0.4.tar.gz

Download URL pyresty-0.0.4.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
368707e74dde0b658596a2264ce789360e080d114f511f2b47b2b3f1d33d78d3
BLAKE2b-256 checksum
How to use checksums
f29d7bf667947524d0f2af8577bda1d15f631a0b510b86f2c187dd81d54c690b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyresty 0.0.4

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.

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