Welcome to PyHole!
PyHole provides an easy to use generic REST API client. It has object oriented style of calling and supports GET and POST connection methods. Connections are based on urllib and supports all protocols supported by urllib.
With PyHole you can create a call to any legacy REST API just in seconds!
Quickstart
A simple example will illustrate the powerful idea of PyHole calls:
>>> from pyhole import PyHole
>>> proxy = PyHole('http://domain.ltd/rest_api')
>>> proxy.category[123]('get_items', item_id=34)
http://domain.ltd/rest_api/category/123/get_items?item_id=34
>>> proxy.category[123]('get_item', item_id=34).get()
#this will actually make HTTP GET Request on the given URL and prints the response.
Lazy evaluation of a proxy object ensures that a real HTTP connection is not made until get(), post() or put() method is called.
Metadata
Release files for PyHole 1.6
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 |
|---|---|---|---|---|
| PyHole-1.6.tar.gz | 4.7 kB | Without provenance | Details for PyHole-1.6.tar.gz |
Release files / PyHole-1.6.tar.gz
| Download URL | PyHole-1.6.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a77f6eec4d21ce66f100031ce6257d8bd0a31df3db96d7a8f7061e0981c17d2
|
|
BLAKE2b-256 checksum How to use checksums |
1a5ef6735dcf22dd44baca9618db89639c86d5c717c224a70daad2196cafa556
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for PyHole 1.6
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.