Skip to main content

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

  1. Install via pip to your environment: pip install ppp-connectors
  2. 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 .env file 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


Download files

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

Source Distribution

ppp_connectors-0.4.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ppp_connectors-0.4.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file ppp_connectors-0.4.0.tar.gz.

File metadata

  • Download URL: ppp_connectors-0.4.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.8.0-1014-azure

File hashes

Hashes for ppp_connectors-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b414ee2813fd757eb4e1fa32e14a81f344a6f0841cb8ab4edbc03dd990085470
MD5 ab2776bad95411c2ba756681f351407b
BLAKE2b-256 5565920b4c6b372baf877ce087c778fa2fc6b6a93e86856597c13e3891653782

See more details on using hashes here.

File details

Details for the file ppp_connectors-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: ppp_connectors-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.8.0-1014-azure

File hashes

Hashes for ppp_connectors-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8a9677ed8f8d6194fd0ce730714f396aae964529c975ada87a07c8956ba6c3c
MD5 6486f3fdca689f21554917cfd493fa50
BLAKE2b-256 200f7a2c8df9f3e0e0c22eae7d11386f40f70481ca41de4d56756411b8417175

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page