Skip to main content

Doc Coverage

PyPort 🚀

port-experimental - pyport stars - pyport forks - pyport

Repo metadata

Coverage Maintainability Security Dependencies

GitHub issues GitHub tag License Documentation

Package info

PyPI version PyPI - Python Version

Simplify Your REST Interactions
A Python SDK for the Port IDP REST API that handles authentication, error handling, and logging so you can focus on building your solutions.


🔍 Overview

Modern REST APIs can be powerful—but they aren’t always intuitive to work with. PyPort abstracts away the repetitive tasks of authentication, error handling, and logging, providing you with a clean, Pythonic client interface to interact with the Port IDP REST API.

Whether you're writing custom Python scripts or building larger applications, PyPort is designed to speed up your development process by simplifying REST operations.

Documentation & Support

For detailed information about the data model and code implementation, please refer to our comprehensive documentation at PyPort Documentation.


✨ Key Features

  • Intuitive Client Interface
    Interact with the Port IDP REST API effortlessly.

  • Automated Authentication
    Manage API tokens and credentials automatically.

  • Robust Error Handling
    Receive clear, actionable error messages for smooth debugging.

  • Integrated Logging
    Built-in logging to help you trace and monitor API interactions.

Note: Additional features and improvements are planned for future releases!


🔒 Security Scan Report

We've run a security scan on our code using Bandit. Check out the Security Scan Report for the details on what was found.


Installation

Install PyPort using pip:

pip install pyport

Usage

Below is a boilerplate example to help you get started with PyPort:

import os
from pyport import PortClient

PORT_CLIENT_ID = os.getenv("PORT_CLIENT_ID")
PORT_CLIENT_SECRET = os.getenv("PORT_CLIENT_SECRET")

port_client = PortClient(client_id=PORT_CLIENT_ID, client_secret=PORT_CLIENT_SECRET, us_region=True)
blueprints = port_client.blueprints.get_blueprints()

Happy Coding!

Metadata

Release files for pyport 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyport 0.3.3
File Size Uploaded Provenance
pyport-0.3.3.tar.gz 70.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyport 0.3.3
File Interpreter ABI Platform
pyport-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 171.0 kB

Release files / pyport-0.3.3.tar.gz

Download URL pyport-0.3.3.tar.gz
Size 70.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d70fb6951dcab46560f34b58fc47bbaf4a227aadde992c92c8c2e1598100787d
BLAKE2b-256 checksum
How to use checksums
ebe78744f0fbfefeb3e9d918bb819a264f2ad1d23f7f0dd43b45042c66a50e90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / pyport-0.3.3-py3-none-any.whl

Download URL pyport-0.3.3-py3-none-any.whl
Size 100.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d196b3bd749a0c371bcd11690946b2e645a16b31db5dd0c975f439f0f7d0c4cb
BLAKE2b-256 checksum
How to use checksums
9fede82b120be0b074eb41e8bef42f08ecb270728e5bf069292edebfc608069d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for pyport 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page