Ron Swanson Client
Python client to the Ron Swanson API.
Installation
In order to install the package run
pip install ron-swanson-client
Quickstart
The package is as simple as it is. At first, create the instance of RonSwanson class
from ron_swanson.api import RonSwanson
ron = RonSwanson()
Then run the method of the ron instance to make a call to the API.
There are three methods available. Please, see the full example below.
import typing
from ron_swanson.api import RonSwanson
if __name__ == '__main__':
ron = RonSwanson()
# Get single quote of Ron Swanson
one_quote: str = ron.one()
# Get five quotes in a list
five_quotes: typing.List[str] = ron.random(count=5)
# Search for quotes
results: typing.List[str] = ron.search(term="food")
License
The project is licensed under MIT license.
Metadata
Release files for ron-swanson-client 0.1
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 |
|---|---|---|---|---|
| ron-swanson-client-0.1.tar.gz | 14.0 kB | Without provenance | Details for ron-swanson-client-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ron_swanson_client-0.1-py3-none-any.whl | Python 3 | none | any | Details for ron_swanson_client-0.1-py3-none-any.whl |
Total release size: 17.2 kB
Release files / ron-swanson-client-0.1.tar.gz
| Download URL | ron-swanson-client-0.1.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5a4215ed8d968eb742df7856ca53a6e4c73b693e2ca29607b25d882dec20fbb
|
|
BLAKE2b-256 checksum How to use checksums |
9b150daf05d24d1127fdfd5f2652df7b641299e40bb7378f049f4a6c82ac2ca0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Release files / ron_swanson_client-0.1-py3-none-any.whl
| Download URL | ron_swanson_client-0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de555d450a1645ec32aaf4cd594795e1da3e33ddd523496dca18de4e9fcedede
|
|
BLAKE2b-256 checksum How to use checksums |
84f39ff0d647380921283a06f9fdfd786178ae733b184982e822916f668021f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Security for ron-swanson-client 0.1
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.