A simple, lightweight set of connectors and functions to various APIs, controlled by a central broker.
Project description
Connectors
A simple, lightweight set of connectors and functions to various APIs, controlled by a central broker.
How to install
- Install via pip to your environment:
pip install ppp-connectors - Load the required environment variables into your environment. You can find these in
env.sample. This library is intelligent enough to look for both a.envfile and within your system's environment variables, so you can do either option.
Passing additional parameters to a function
All functions will accept **kwargs as additional parameters. For example, the URLScan.io /search endpoint accepts a size parameter. You can include additional parameters like this:
from ppp_connectors import urlscan
r = urlscan.urlscan_search('domain:google.com', **{'size': 200})
print(r.json())
Every individual API is different, so apply additional parameters after consulting the appropriate vendor's API documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ppp_connectors-0.4.3.tar.gz.
File metadata
- Download URL: ppp_connectors-0.4.3.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0364abe9f92304fbdd0afd8b3f10eecf730f27ee3fd6b0f4a2324e50a9cf3886
|
|
| MD5 |
6628fd26548a6e17d2ac9a7fc501943f
|
|
| BLAKE2b-256 |
8111f079e4a37a94d1533b428e74b9a77e69c3ccc8b9bd2662307b2dc3b8cfea
|
File details
Details for the file ppp_connectors-0.4.3-py3-none-any.whl.
File metadata
- Download URL: ppp_connectors-0.4.3-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
556db547233871cc07eabf7314d2a60dfb31156482c33f10d1ec280307147aa8
|
|
| MD5 |
5baef0714e6909de0a79cd671bbb661e
|
|
| BLAKE2b-256 |
3c256d7350f3fb03ac44d48afafdcd5ba7dd8d37e1fb1574e6592c62ec4d664b
|