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.5.2.tar.gz (9.2 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.5.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppp_connectors-0.5.2.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.11.0-1015-azure

File hashes

Hashes for ppp_connectors-0.5.2.tar.gz
Algorithm Hash digest
SHA256 397748ad9e6b5e84b909c0301b2763e4e75d18cc15dddba1740d84424ee126ac
MD5 8be83fd3ad8613ced665e1ee7ccb02e5
BLAKE2b-256 c29907063271b23dfd1d6026c04782da2a933dab0a88cc9ed117e8b05a48d320

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppp_connectors-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.11.0-1015-azure

File hashes

Hashes for ppp_connectors-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 07cbf39f45fe1d23c1e18f90bf6f58537db0df043d729e6be806feb16d8104ed
MD5 3ea3637b9b01be1de1eaded762a4704c
BLAKE2b-256 6e98abfc4c059ed3536db0f1954e5d2d9457fbfc6f0112e784221f97bced3f24

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