inpsPyPI 1.0.3__tar.gz → 1.0.4__tar.gz
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.
- {inpspypi-1.0.3 → inpspypi-1.0.4}/PKG-INFO +1 -1
- {inpspypi-1.0.3 → inpspypi-1.0.4}/__init__.py +1 -1
- {inpspypi-1.0.3 → inpspypi-1.0.4}/check.py +10 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/pyproject.toml +1 -1
- inpspypi-1.0.4/test.py +2 -0
- inpspypi-1.0.3/test.py +0 -12
- {inpspypi-1.0.3 → inpspypi-1.0.4}/.github/workflows/build_inpsPyPI.yml +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/.gitignore +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/LICENSE +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/README.md +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/builder_for_flask_jsonify.py +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/cipher.py +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/convert.py +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/dictionarily.py +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/easy_sql.py +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/excellent_reader.py +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/memory.py +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/simple_file_handler.py +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/sort.py +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/stackily.py +0 -0
- {inpspypi-1.0.3 → inpspypi-1.0.4}/test_all.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: inpsPyPI
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: PyPI package designed to make development in Python easier.
|
|
5
5
|
Project-URL: Homepage, https://github.com/isaiahnoelpulidosalazar/inpsPyPI
|
|
6
6
|
Author-email: Isaiah Noel Pulido Salazar <isaiahnoelpulidosalazar@gmail.com>
|
|
@@ -2,6 +2,7 @@ import re
|
|
|
2
2
|
import base64
|
|
3
3
|
import os
|
|
4
4
|
import pkgutil
|
|
5
|
+
import socket
|
|
5
6
|
|
|
6
7
|
class Check:
|
|
7
8
|
class Email:
|
|
@@ -69,3 +70,12 @@ class Check:
|
|
|
69
70
|
@staticmethod
|
|
70
71
|
def has_spaces(string: str) -> bool:
|
|
71
72
|
return ' ' in string
|
|
73
|
+
|
|
74
|
+
@staticmethod
|
|
75
|
+
def is_connected():
|
|
76
|
+
try:
|
|
77
|
+
socket.create_connection(("8.8.8.8", 53), timeout=3)
|
|
78
|
+
return True
|
|
79
|
+
except OSError:
|
|
80
|
+
pass
|
|
81
|
+
return False
|
inpspypi-1.0.4/test.py
ADDED
inpspypi-1.0.3/test.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|