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.6.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.6-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppp_connectors-0.4.6.tar.gz
  • Upload date:
  • Size: 6.9 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

Hashes for ppp_connectors-0.4.6.tar.gz
Algorithm Hash digest
SHA256 66bbb91b6afdecb8585f621e9750203650964f1209d522228fe79de7aebc8178
MD5 5e89df3996d94ed266f924a65cdd43b0
BLAKE2b-256 60751b61aaa3a434287708254fec90835a8830892b1ec4a08a6a7a231ccdd822

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppp_connectors-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 10.3 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

Hashes for ppp_connectors-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e7863f7b45fc81901ee66ab5c54c856e99adad53da9c6014279b9e3a9af4739e
MD5 7575e44e51715a257732f47afe8f233e
BLAKE2b-256 d1ec3cd6b3524e7c198b2dd5364d44e73641ff92ac8b940c7da32156179aff98

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