Please Cite Me v1.2.8

logo
PxBLAT
pxblat.find_free_port
Initializing search
    PxBLAT
    • Installation Guide
    • Tutorial
    • CLI Usage
    • Reference
    • Contributor Guide
    • Code of Conduct
    • License
    • Changelog
    PxBLAT
    • Installation Guide
    • Tutorial
    • CLI Usage
    • Reference
      • Classes
      • Top-level Functions
        • F read
        • F build_index
        • F check_port_in_use
        • F check_port_open
        • F copy_client_option
        • F create_client_option
        • F create_server_option
        • F files
        • F find_free_port
          • Parameters
            • p host
            • p start
            • p end
        • F query_server
        • F server_query
        • F start_server
        • F start_server_mt
        • F start_server_mt_nb
        • F status_server
        • F stop_server
        • F wait_server_ready
        • F fa_to_two_bit
        • F two_bit_to_fa
    • Contributor Guide
    • Code of Conduct
    • License
    • Changelog
    pxblat.find_free_port(host: str, start: int, end: int = 65535) → int[source]

    Find an available port in the range of [start, end).

    Parameters:¶
    host: str¶

    Hostname

    start: int¶

    Start port number

    end: int = 65535¶

    End port number.

    © Copyright 2026, Yangyang Li.
    Created using Sphinx 8.1.3. and Sphinx-Immaterial