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.1.tar.gz (6.8 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.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppp_connectors-0.4.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for ppp_connectors-0.4.1.tar.gz
Algorithm Hash digest
SHA256 71faed472beba76b4b3907c4754aa59a691b208a17a5c439ff5f3567c31c4146
MD5 b0bbbab5dd9fef8d18ac745371e8e00f
BLAKE2b-256 aa59975e4dc465b360d7258b5fd81507fe6db70270f477cebb1a13430f1c5b07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppp_connectors-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for ppp_connectors-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70af9f4711b10155079b7c24322f146ca7742b4bc4fb77deac33de4b6bdc478f
MD5 edf65ffc52f57d7921a9e6640a75d7b2
BLAKE2b-256 bed7079ae7fb39e97131bc61987877c48d5a2b1491c0c59ca42b146bf2e0d6ad

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