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.3.1.tar.gz (5.7 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.3.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppp_connectors-0.3.1.tar.gz
  • Upload date:
  • Size: 5.7 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.3.1.tar.gz
Algorithm Hash digest
SHA256 dfdd083969d3d9ae30e9d4bc925f8097f3f768489b5951d58fd3f9fdc3f8ec3c
MD5 2de57b4ff5df02a4456afe46eca266df
BLAKE2b-256 e97ee8b18fecf6061b7d1c184eb170e8b71209265129457b5cdb4af717c252d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppp_connectors-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0a116f4122f275a12dfd8e68b41bec53f85d70727ef60488c18fa01c46bab22
MD5 902f6a375532c038c3c4399e74b2b36a
BLAKE2b-256 98021c24214d32cb93ca01e8f24f3e147d258b750182af45925c68add628b551

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