Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python312-port-for-0.7.2-1.3 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python312-port-for Distribution: openSUSE:Factory:zSystems
Version: 0.7.2 Vendor: openSUSE
Release: 1.3 Build date: Sun Jan 7 21:22:40 2024
Group: Development/Languages/Python Build host: reproducible
Size: 157102 Source RPM: python-port-for-0.7.2-1.3.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/kmike/port-for/
Summary: Utility that helps with local TCP ports managment
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.

Provides

Requires

License

MIT

Changelog

* Sun Jan 07 2024 Dirk Müller <dmueller@suse.com>
  - update to 0.7.2:
    * Drop support for python 3.7
    * Support Python 3.12
    * #152, #166, #170
    * Add PortType type alias for easier typing related code
    * get_port will now allow passing additional exclude_ports
      parameter - these ports will not be chosen.
    * Add python 3.11 to the list of supported python versions.
    * Use towncrier as a changelog management tool.
    * Moved development dependencies to be managed by pipenv. All
      development process can be managed  with it - which means
      automatic isolation.
    * Migrate versioning tool to tbump, and move package definition
      to pyproject.toml
    * Moved as much of the setup.cfg settings into the
      pyproject.toml as possible. Dropped pydocstyle support.
* Wed Apr 06 2022 Matej Cepl <mcepl@suse.com>
  - Remove forgotten tarball port-for-0.6.2.tar.gz
* Wed Apr 06 2022 pgajdos@suse.com
  - version update to 0.6.2
    0.6.2
    - ---------
    Misc
    ++++
    - Added Python 3.10 to trove classifiers and to CI
    0.6.1
    - ---------
    Bugfix
    ++++++
    - Fixed typing definition for get_port function
    0.6.0
    - ---------
    Feature
    +++++++
    - Added `get_port` helper that can randomly select open port out of given set, or range-tuple
    - Added type annotations and compatibility with PEP 561
    - Support only python 3.7 and up
  - python-mock is not required for build
* Thu Mar 21 2019 John Vandenberg <jayvdb@gmail.com>
  - Remove unnecessary build dependency python-devel
  - Activate test suite
  - Add %doc and %license
  - Remove test module from runtime package
  - Tidy update-alternatives
* Wed Jan 23 2019 lars@linux-schulserver.de
  - initial version 0.4

Files

/etc/alternatives/port-for
/usr/bin/port-for
/usr/bin/port-for-3.12
/usr/lib/python3.12/site-packages/port_for
/usr/lib/python3.12/site-packages/port_for-0.7.2.dist-info
/usr/lib/python3.12/site-packages/port_for-0.7.2.dist-info/INSTALLER
/usr/lib/python3.12/site-packages/port_for-0.7.2.dist-info/LICENSE.txt
/usr/lib/python3.12/site-packages/port_for-0.7.2.dist-info/METADATA
/usr/lib/python3.12/site-packages/port_for-0.7.2.dist-info/RECORD
/usr/lib/python3.12/site-packages/port_for-0.7.2.dist-info/REQUESTED
/usr/lib/python3.12/site-packages/port_for-0.7.2.dist-info/WHEEL
/usr/lib/python3.12/site-packages/port_for-0.7.2.dist-info/entry_points.txt
/usr/lib/python3.12/site-packages/port_for-0.7.2.dist-info/top_level.txt
/usr/lib/python3.12/site-packages/port_for-0.7.2.dist-info/zip-safe
/usr/lib/python3.12/site-packages/port_for/__init__.py
/usr/lib/python3.12/site-packages/port_for/__pycache__
/usr/lib/python3.12/site-packages/port_for/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/_download_ranges.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/_download_ranges.cpython-312.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/_ranges.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/_ranges.cpython-312.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/api.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/api.cpython-312.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/cmd.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/cmd.cpython-312.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/docopt.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/docopt.cpython-312.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/ephemeral.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/ephemeral.cpython-312.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/exceptions.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/exceptions.cpython-312.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/store.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/store.cpython-312.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/utils.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/port_for/__pycache__/utils.cpython-312.pyc
/usr/lib/python3.12/site-packages/port_for/_download_ranges.py
/usr/lib/python3.12/site-packages/port_for/_ranges.py
/usr/lib/python3.12/site-packages/port_for/api.py
/usr/lib/python3.12/site-packages/port_for/cmd.py
/usr/lib/python3.12/site-packages/port_for/docopt.py
/usr/lib/python3.12/site-packages/port_for/ephemeral.py
/usr/lib/python3.12/site-packages/port_for/exceptions.py
/usr/lib/python3.12/site-packages/port_for/py.typed
/usr/lib/python3.12/site-packages/port_for/store.py
/usr/lib/python3.12/site-packages/port_for/utils.py
/usr/share/doc/packages/python312-port-for
/usr/share/doc/packages/python312-port-for/README.rst
/usr/share/licenses/python312-port-for
/usr/share/licenses/python312-port-for/LICENSE.txt


Generated by rpm2html 1.8.1

Fabrice Bellet, Mon Apr 29 23:40:03 2024