random-port 0.0.2__py3-none-any.whl → 0.0.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of random-port might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: random_port
3
- Version: 0.0.2
3
+ Version: 0.0.4
4
4
  Summary: Generate a free TCP or UDP random port
5
5
  Author-email: Fabrício Barros Cabral <fabriciofx@gmail.com>
6
6
  License-Expression: MIT
@@ -34,16 +34,20 @@ in your project folder.
34
34
 
35
35
  ## Usage
36
36
 
37
- - To a TCP random port:
37
+ - To use a TCP random port:
38
38
 
39
39
  ```python
40
- port = RandomTcpPort().value()
40
+ from random_port.core import TcpRandomPort
41
+
42
+ port = TcpRandomPort().value()
41
43
  ```
42
44
 
43
- - To a UDP random port:
45
+ - To use a UDP random port:
44
46
 
45
47
  ```python
46
- port = RandomUdpPort().value()
48
+ from random_port.core import UdpRandomPort
49
+
50
+ port = UdpRandomPort().value()
47
51
  ```
48
52
 
49
53
  ## License
@@ -0,0 +1,7 @@
1
+ random_port/__init__.py,sha256=WnbD7VqLlKdJ81-K8BGjxrmQLXEu_g-czd-Y73OAezQ,1129
2
+ random_port/pool.py,sha256=uzh051hXfHpcZalg6HaoxDIdGgU9ttXzZ35BU2eTL1g,2756
3
+ random_port-0.0.4.dist-info/licenses/LICENSE.txt,sha256=SrFTda5sgSB9hkS5IK7GpSHxGMawR9F_6099TboKYXk,1091
4
+ random_port-0.0.4.dist-info/METADATA,sha256=mc85HoW-ocYaAsiiKVJhRUByS-c9Mpg-_TqvkDuf-Gc,2248
5
+ random_port-0.0.4.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
6
+ random_port-0.0.4.dist-info/top_level.txt,sha256=wypEHVVFuk5I-FKJUMe84GL6xu7FPBEa8iRY_oyqxfw,12
7
+ random_port-0.0.4.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- random_port/__init__.py,sha256=WnbD7VqLlKdJ81-K8BGjxrmQLXEu_g-czd-Y73OAezQ,1129
2
- random_port/core.py,sha256=uzh051hXfHpcZalg6HaoxDIdGgU9ttXzZ35BU2eTL1g,2756
3
- random_port-0.0.2.dist-info/licenses/LICENSE.txt,sha256=SrFTda5sgSB9hkS5IK7GpSHxGMawR9F_6099TboKYXk,1091
4
- random_port-0.0.2.dist-info/METADATA,sha256=VedQqPsXCXyp7AOZ2hLB5IDyTqX3O-NT6GK0fAj_hfs,2152
5
- random_port-0.0.2.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
6
- random_port-0.0.2.dist-info/top_level.txt,sha256=wypEHVVFuk5I-FKJUMe84GL6xu7FPBEa8iRY_oyqxfw,12
7
- random_port-0.0.2.dist-info/RECORD,,
File without changes