Skip to main content

A Python package for interacting with APIs using OpenAPI schema.

Project description

PyBridge

A lightweight library that auto-generates API clients from OpenAPI schemas.

GitHub Repo stars GitHub issues GitHub

pybridge

Installation

You can easily install it via pip:

pip install pybridge

Usage

from pybridgeclient import PyBridge
base_url = "https://example.api.com/"
headers = {
    "Authorization": "Bearer xxxxxxxx"}
py_bridge = PyBridge(base_url, headers)
# item_detail is endpoint that is generated from OpenAPI schema
item_detail = py_bridge.item_detail(item_id=1)

Contribution and Feedback

For any contributions and feedback, please visit my GitHub page or reach me via email.

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

pybridgeclient-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

pybridgeclient-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file pybridgeclient-0.1.0.tar.gz.

File metadata

  • Download URL: pybridgeclient-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for pybridgeclient-0.1.0.tar.gz
Algorithm Hash digest
SHA256 213cc1675587f0045645fc73bb293f65f42931fb6035af80554ae2402673b12b
MD5 13b22e89de5a77cdc118416a8331fc3a
BLAKE2b-256 752503545e7e25124500fe47289cbe6683cf3ab9ca469cae5ac9098061485894

See more details on using hashes here.

File details

Details for the file pybridgeclient-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pybridgeclient-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for pybridgeclient-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e7dc8d241e9c54b5ab19756ddcf9bac3eb35e540fb66757370bc57b21acd5b8
MD5 41f6468ed411dd09ff9f202b8db85da8
BLAKE2b-256 062caffe9eb2a76c31b3de9ed03d8ca7df4e950c29b917e6265d32e9388ab0c8

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