port-ocean
Port Ocean is a CLI tool for managing your Port projects.
What it is and what it does
Port Ocean is a framework for building and running integrations that sync data from third-party systems into Port's developer portal. It provides a CLI tool (`ocean sail`) to execute integration modules, handle configuration via YAML, and manage the full integration lifecycle. The framework abstracts away common concerns like authentication, event handling (via Kafka or webhooks), and API communication, letting developers focus on mapping third-party data to Port's data model.
The package itself is a runtime and scaffolding layer built on FastAPI and async Python, with support for real-time updates and monitoring. It's designed for teams building custom integrations or contributing to Port's integration library. Developers write integration-specific logic in separate modules that the framework orchestrates, with configuration managed through environment variables and config files.
Use it for:
- Build a custom integration to sync PagerDuty incidents and on-call schedules into Port's developer portal.
- Create a webhook listener that pushes deployment events from your CI/CD system into Port in real time.
- Develop a Kafka consumer integration to stream infrastructure changes from your event bus into Port.
- Scaffold and test a new integration locally before deploying it as a containerized service.
- Monitor and manage multiple integrations with Prometheus metrics and structured logging.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Port Ocean is a CLI framework and runtime for building integrations that connect third-party systems to Port's developer portal, handling real-time data synchronization and lifecycle management.
Yes. Port Ocean is actively maintained (release 1 day old), has no known vulnerabilities, and is built on solid async foundations (FastAPI, uvicorn). Install it if you need to build or run integrations with Port's developer portal. The 31 dependencies are substantial but expected for a framework handling async I/O, messaging, and web serving. Requires Python 3.12+.
Install
port-ocean on PyPI
pip
pip install port-oceanuv
uv add port-oceanpoetry
poetry add port-oceanInstalling port-ocean
Before you install
Installation is straightforward with low friction. The package is actively maintained with a release just 1 day old, backed by 31 runtime dependencies that cover async I/O, web serving, messaging, and monitoring. Python 3.12+ is required.
License in practice
Licensed under Apache 2.0 (permissive), allowing commercial and private use with minimal restrictions—standard for open-source infrastructure tools.
Quickstart
pip install "port-ocean[cli]"
Then source the venv and run:
ocean sail ./path/to/integration
Requires Python 3.12 or later (3.12, 3.13, or 3.14 supported); Python 3.11 mentioned in description but package requires >=3.12.
Verify before relying
- Whether the 31 runtime dependencies are all required for basic CLI use or only for specific integrations.
- Real-time update architecture details and supported event listener types beyond KAFKA and WEBHOOK.
- Performance characteristics and scalability limits for concurrent integrations.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (<4.0,>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 31 — aiofiles, aiostream, confluent-kafka, cryptography, fastapi, filelock, httpx, ijson, jinja2, jmespath, jq, loguru, prometheus-client, psutil, pydantic-settings, pydantic, pydispatcher, pyhumps, pyjwt, pytest-cov, python-dateutil, python-dotenv, pyyaml, redis, six, starlette, tomli, urllib3, uvicorn, virtualenv |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 109,548/month — #12,512 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: port_ocean-0.48.7-py3-none-any.whl
Keywords: ocean, port-ocean, port
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
systembridgeconnectorProvides a connector client for the System…
permissive · top 15,000 on PyPI
cloudcruiseOfficial Python SDK for CloudCruise that…
permissive · top 5,000 on PyPI
dockerflowProvides helpers and tools for implementing…
copyleft · top 15,000 on PyPI
acryl-datahub-actionsAcryl-datahub-actions is an event-driven…
permissive · top 15,000 on PyPI
kafka-connect-pyA command-line tool and Python client for…
permissive · top 15,000 on PyPI
faststreamAn asynchronous Python framework for building…
permissive · top 5,000 on PyPI
quixstreamsQuix Streams is a Python framework for building…
permissive · top 15,000 on PyPI
robotframework-reportportalA RobotFramework listener that sends test…
unclear · top 15,000 on PyPI
harbor-rewardkitHarbor Rewardkit defines and runs verifiers for…
permissive · top 5,000 on PyPI
swimlaneSwimlane is a Python driver for the Swimlane…
agpl · top 15,000 on PyPI