Upstream software project

port-for

Utility and library that helps with local TCP ports management

About port-for

Utility and library that helps with local TCP ports management

This project links 13 native package records across 9 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

port-for repository preview from GitHub
Project repository preview, supplied by GitHub. Open source repository
Alpine Linux 3.21: 2 package records; Alpine Linux 3.22: 2 package records; Alpine Linux 3.23: 2 package records; Debian 12 (Bookworm): 1 package records; Debian 13 (Trixie): 1 package records; Fedora 43: 1 package records; Fedora 44: 1 package records; openSUSE Leap 15.6: 1 package records; openSUSE Tumbleweed: 2 package records. Catalog coverage diagram, not an application screenshot.port-for: recorded package coverageAlpine Linux 3.212 recordsAlpine Linux 3.222 recordsAlpine Linux 3.232 recordsDebian 12 (Bookworm)1 recordsDebian 13 (Trixie)1 recordsFedora 431 recordsFedora 441 recordsopenSUSE Leap 15.61 records
OpenFactory diagram of linked package records. The first eight releases are shown; all 9 appear below. It is not an application screenshot.

Project identity

Project
port-for
Publisher
Not authoritatively mapped
Native package records
13
Operating systems
alpine-linux-3-21, alpine-linux-3-22, alpine-linux-3-23, debian-12, debian-13, fedora-43, fedora-44, opensuse-leap-15-6, opensuse-tumbleweed
License expression
MIT
Source repository
Open source repository

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

port-for is a command-line utility and a python library that helps with local TCP ports management. It can find an unused TCP localhost port and remember the association:: $ sudo port-for foo 37987 This can be useful when you are installing a stack of software with multiple parts needing port numbers. There are several rules port-for is trying to follow to find and return a new unused port: 1) Port must be unused: port-for checks this by trying to connect to the port and to bind to it. 2) Port must be IANA unassigned and otherwise not well-known: this is acheived by maintaining unassigned ports list (parsed from IANA and Wikipedia). 3) Port shouldn't be inside ephemeral port range. This is important because ports from ephemeral port range can be assigned temporary by OS (e.g. by machine's IP stack) and this may prevent service restart in some circumstances. ``port-for`` doesn't return ports from ephemeral port ranges configured at the current machine. 4) Other heuristics are also applied: ``port-for`` tries to return a port from larger port ranges; it also doesn't return ports that are too close to well-known ports.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Alpine Linux 3.21

  1. Package py3-port-for

    v3.21 (Alpine Linux 3.21): Utility and library that helps with local TCP ports management

    0.7.4-r0: aarch64 x86_64

    Source: py3-port-for

  2. Package py3-port-for-pyc

    v3.21 (Alpine Linux 3.21): Precompiled Python bytecode for py3-port-for

    0.7.4-r0: aarch64 x86_64

    Source: py3-port-for

Alpine Linux 3.22

  1. Package py3-port-for

    v3.22 (Alpine Linux 3.22): Utility and library that helps with local TCP ports management

    0.7.4-r0: aarch64 x86_64

    Source: py3-port-for

  2. Package py3-port-for-pyc

    v3.22 (Alpine Linux 3.22): Precompiled Python bytecode for py3-port-for

    0.7.4-r0: aarch64 x86_64

    Source: py3-port-for

Alpine Linux 3.23

  1. Package py3-port-for

    v3.23 (Alpine Linux 3.23): Utility and library that helps with local TCP ports management

    0.7.4-r0: aarch64 x86_64

    Source: py3-port-for

  2. Package py3-port-for-pyc

    v3.23 (Alpine Linux 3.23): Precompiled Python bytecode for py3-port-for

    0.7.4-r0: aarch64 x86_64

    Source: py3-port-for

Debian 12 (Bookworm)

  1. Package python3-port-for

    bookworm (Debian 12 (Bookworm)) (python): local TCP ports management for Python

    0.6.3-1: all

    Source: port-for

Debian 13 (Trixie)

  1. Package python3-port-for

    trixie (Debian 13 (Trixie)) (python): local TCP ports management for Python

    0.7.4-1: all

    Source: port-for

Fedora 43

  1. Package python3-port-for

    43 (Fedora 43) (Unspecified): Utility that helps with local TCP ports management

    0.7.4-6.fc43: noarch

    Source: python-port-for

Fedora 44

  1. Package python3-port-for

    44 (Fedora 44) (Unspecified): Utility that helps with local TCP ports management

    0.7.4-7.fc44: noarch

    Source: python-port-for

openSUSE Leap 15.6

  1. Package python3-port-for

    leap-15.6 (openSUSE Leap 15.6) (Development/Languages/Python): Utility that helps with local TCP ports managment

    0.4-bp156.3.2: noarch

    Source: python-port-for

openSUSE Tumbleweed

  1. Package python313-port-for

    tumbleweed (openSUSE Tumbleweed) (Development/Languages/Python): Utility that helps with local TCP ports managment

    1.0.0-1.4: noarch

    Source: python-port-for

  2. Package python314-port-for

    tumbleweed (openSUSE Tumbleweed) (Development/Languages/Python): Utility that helps with local TCP ports managment

    1.0.0-1.4: noarch

    Source: python-port-for

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.