PyFunceble-dev 4.2.27__py3-none-any.whl → 4.2.28__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.
- PyFunceble/cli/entry_points/production.py +0 -9
- PyFunceble/cli/scripts/production.py +1 -43
- PyFunceble/storage.py +1 -1
- {PyFunceble_dev-4.2.27.dist-info → PyFunceble_dev-4.2.28.dist-info}/METADATA +55 -55
- {PyFunceble_dev-4.2.27.dist-info → PyFunceble_dev-4.2.28.dist-info}/RECORD +9 -9
- {PyFunceble_dev-4.2.27.dist-info → PyFunceble_dev-4.2.28.dist-info}/LICENSE +0 -0
- {PyFunceble_dev-4.2.27.dist-info → PyFunceble_dev-4.2.28.dist-info}/WHEEL +0 -0
- {PyFunceble_dev-4.2.27.dist-info → PyFunceble_dev-4.2.28.dist-info}/entry_points.txt +0 -0
- {PyFunceble_dev-4.2.27.dist-info → PyFunceble_dev-4.2.28.dist-info}/top_level.txt +0 -0
@@ -141,12 +141,3 @@ def producer() -> None: # pylint: disable=too-many-statements
|
|
141
141
|
print(PyFunceble.cli.storage.ERROR)
|
142
142
|
print(traceback.format_exc())
|
143
143
|
sys.exit(1)
|
144
|
-
|
145
|
-
print("Update documentation", end=" ")
|
146
|
-
try:
|
147
|
-
utility.update_documentation()
|
148
|
-
print(PyFunceble.cli.storage.DONE)
|
149
|
-
except: # pylint: disable=bare-except
|
150
|
-
print(PyFunceble.cli.storage.ERROR)
|
151
|
-
print(traceback.format_exc())
|
152
|
-
sys.exit(1)
|
@@ -60,9 +60,7 @@ import PyFunceble.cli.storage
|
|
60
60
|
import PyFunceble.facility
|
61
61
|
import PyFunceble.storage
|
62
62
|
from PyFunceble.cli.filesystem.dir_structure.backup import DirectoryStructureBackup
|
63
|
-
from PyFunceble.helpers.command import CommandHelper
|
64
63
|
from PyFunceble.helpers.dict import DictHelper
|
65
|
-
from PyFunceble.helpers.directory import DirectoryHelper
|
66
64
|
from PyFunceble.helpers.file import FileHelper
|
67
65
|
from PyFunceble.helpers.regex import RegexHelper
|
68
66
|
from PyFunceble.utils.version import VersionUtility
|
@@ -338,46 +336,6 @@ class ProductionPrep:
|
|
338
336
|
|
339
337
|
format_file(os.path.join(root, file), isort_config)
|
340
338
|
|
341
|
-
@staticmethod
|
342
|
-
def update_documentation() -> "ProductionPrep":
|
343
|
-
"""
|
344
|
-
Updates the code documentation.
|
345
|
-
|
346
|
-
:raise RuntimeError:
|
347
|
-
When one of the wanted directory is not found.
|
348
|
-
"""
|
349
|
-
|
350
|
-
PyFunceble.facility.Logger.info(
|
351
|
-
"Started to update and generate the documentation.",
|
352
|
-
)
|
353
|
-
|
354
|
-
docs_dir_helper = DirectoryHelper("docs")
|
355
|
-
source_code_dir_helper = DirectoryHelper("PyFunceble")
|
356
|
-
|
357
|
-
if not docs_dir_helper.exists():
|
358
|
-
raise RuntimeError(f"{docs_dir_helper.realpath!r} not found.")
|
359
|
-
|
360
|
-
if not source_code_dir_helper.exists():
|
361
|
-
raise RuntimeError(f"{source_code_dir_helper.realpath!r} not found.")
|
362
|
-
|
363
|
-
header = "Code Documentation"
|
364
|
-
source_code_destination = os.path.join(docs_dir_helper.realpath, "code")
|
365
|
-
|
366
|
-
CommandHelper(
|
367
|
-
f"sphinx-apidoc -d 5 -f -H {header!r} -o "
|
368
|
-
f"{source_code_destination!r} {source_code_dir_helper.realpath}"
|
369
|
-
).execute(raise_on_error=True)
|
370
|
-
|
371
|
-
docs_destination = os.path.join(docs_dir_helper.realpath, "_build", "html")
|
372
|
-
|
373
|
-
CommandHelper(
|
374
|
-
f"sphinx-build -a -Q {docs_dir_helper.realpath!r} {docs_destination!r}"
|
375
|
-
).execute(raise_on_error=False)
|
376
|
-
|
377
|
-
PyFunceble.facility.Logger.info(
|
378
|
-
"Finished to update and generate the documentation.",
|
379
|
-
)
|
380
|
-
|
381
339
|
def update_code_urls(self) -> "ProductionPrep":
|
382
340
|
"""
|
383
341
|
Updates all URL in the source code.
|
@@ -436,7 +394,7 @@ class ProductionPrep:
|
|
436
394
|
]
|
437
395
|
elif self.branch == "master":
|
438
396
|
regexes = [
|
439
|
-
(r'name=".*"', 'name="PyFunceble
|
397
|
+
(r'name=".*"', 'name="PyFunceble"'),
|
440
398
|
(
|
441
399
|
r'"Development\sStatus\s::.*"',
|
442
400
|
'"Development Status :: 5 - Production/Stable"',
|
PyFunceble/storage.py
CHANGED
@@ -61,7 +61,7 @@ from dotenv import load_dotenv
|
|
61
61
|
from PyFunceble.storage_facility import get_config_directory
|
62
62
|
|
63
63
|
PROJECT_NAME: str = "PyFunceble"
|
64
|
-
PROJECT_VERSION: str = "4.2.
|
64
|
+
PROJECT_VERSION: str = "4.2.28.dev (Blue Duckling: Tulip)"
|
65
65
|
|
66
66
|
DISTRIBUTED_CONFIGURATION_FILENAME: str = ".PyFunceble_production.yaml"
|
67
67
|
DISTRIBUTED_DIR_STRUCTURE_FILENAME: str = "dir_structure_production.json"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: PyFunceble-dev
|
3
|
-
Version: 4.2.
|
3
|
+
Version: 4.2.28
|
4
4
|
Summary: The tool to check the availability or syntax of domain, IP or URL.
|
5
5
|
Home-page: https://github.com/funilrys/PyFunceble
|
6
6
|
Author: funilrys
|
@@ -22,88 +22,88 @@ Classifier: License :: OSI Approved
|
|
22
22
|
Requires-Python: >=3.8, <4
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
License-File: LICENSE
|
25
|
-
Requires-Dist:
|
26
|
-
Requires-Dist: python-dotenv
|
27
|
-
Requires-Dist: PyYAML
|
28
|
-
Requires-Dist: setuptools>=65.5.1
|
29
|
-
Requires-Dist: cryptography~=42.0
|
30
|
-
Requires-Dist: SQLAlchemy~=2.0
|
31
|
-
Requires-Dist: inflection
|
25
|
+
Requires-Dist: dnspython[doh]~=2.6.0
|
32
26
|
Requires-Dist: python-box[all]~=6.0.0
|
27
|
+
Requires-Dist: setuptools>=65.5.1
|
28
|
+
Requires-Dist: python-dotenv
|
29
|
+
Requires-Dist: requests[socks]<3
|
30
|
+
Requires-Dist: SQLAlchemy[postgresql-psycopg2binary]~=2.0
|
33
31
|
Requires-Dist: packaging
|
34
32
|
Requires-Dist: shtab
|
33
|
+
Requires-Dist: domain2idna~=1.12.0
|
34
|
+
Requires-Dist: cryptography~=42.0
|
35
|
+
Requires-Dist: PyYAML
|
35
36
|
Requires-Dist: alembic
|
36
37
|
Requires-Dist: colorama
|
37
|
-
Requires-Dist:
|
38
|
-
Requires-Dist:
|
39
|
-
Requires-Dist: domain2idna~=1.12.0
|
38
|
+
Requires-Dist: inflection
|
39
|
+
Requires-Dist: PyMySQL
|
40
40
|
Provides-Extra: dev
|
41
|
-
Requires-Dist: black; extra == "dev"
|
42
|
-
Requires-Dist: isort; extra == "dev"
|
43
41
|
Requires-Dist: pylint; extra == "dev"
|
42
|
+
Requires-Dist: isort; extra == "dev"
|
44
43
|
Requires-Dist: flake8; extra == "dev"
|
44
|
+
Requires-Dist: black; extra == "dev"
|
45
45
|
Provides-Extra: docs
|
46
46
|
Requires-Dist: mkdocs-macros-plugin~=1.2; extra == "docs"
|
47
|
-
Requires-Dist: mkdocs~=
|
47
|
+
Requires-Dist: mkdocs-gen-files~=0.5; extra == "docs"
|
48
|
+
Requires-Dist: zipp>=3.19.1; extra == "docs"
|
48
49
|
Requires-Dist: mkdocs-git-revision-date-localized-plugin~=1.2; extra == "docs"
|
50
|
+
Requires-Dist: mkdocs-material~=9.5; extra == "docs"
|
49
51
|
Requires-Dist: pymdown-extensions~=10.9; extra == "docs"
|
50
|
-
Requires-Dist:
|
52
|
+
Requires-Dist: mkdocs~=1.5; extra == "docs"
|
53
|
+
Requires-Dist: mkdocs-git-authors-plugin~=0.9; extra == "docs"
|
51
54
|
Requires-Dist: mkdocs-literate-nav~=0.6; extra == "docs"
|
55
|
+
Requires-Dist: mkdocstrings[python]~=0.26; extra == "docs"
|
52
56
|
Requires-Dist: mkdocs-section-index~=0.3; extra == "docs"
|
53
|
-
Requires-Dist: mkdocs-material~=9.5; extra == "docs"
|
54
|
-
Requires-Dist: zipp>=3.19.1; extra == "docs"
|
55
|
-
Requires-Dist: mkdocs-gen-files~=0.5; extra == "docs"
|
56
|
-
Requires-Dist: mkdocs-git-authors-plugin~=0.9; extra == "docs"
|
57
57
|
Provides-Extra: full
|
58
|
-
Requires-Dist: PyMySQL; extra == "full"
|
59
|
-
Requires-Dist: cryptography~=42.0; extra == "full"
|
60
|
-
Requires-Dist: mkdocs~=1.5; extra == "full"
|
61
|
-
Requires-Dist: SQLAlchemy~=2.0; extra == "full"
|
62
|
-
Requires-Dist: mkdocs-literate-nav~=0.6; extra == "full"
|
63
|
-
Requires-Dist: coverage; extra == "full"
|
64
|
-
Requires-Dist: mkdocs-section-index~=0.3; extra == "full"
|
65
|
-
Requires-Dist: tox; extra == "full"
|
66
|
-
Requires-Dist: flake8; extra == "full"
|
67
|
-
Requires-Dist: domain2idna~=1.12.0; extra == "full"
|
68
|
-
Requires-Dist: mkdocs-gen-files~=0.5; extra == "full"
|
69
|
-
Requires-Dist: PyYAML; extra == "full"
|
70
|
-
Requires-Dist: setuptools>=65.5.1; extra == "full"
|
71
|
-
Requires-Dist: mkdocs-git-revision-date-localized-plugin~=1.2; extra == "full"
|
72
|
-
Requires-Dist: requests[socks]<3; extra == "full"
|
73
|
-
Requires-Dist: python-dotenv; extra == "full"
|
74
|
-
Requires-Dist: isort; extra == "full"
|
75
|
-
Requires-Dist: inflection; extra == "full"
|
76
58
|
Requires-Dist: python-box[all]~=6.0.0; extra == "full"
|
77
|
-
Requires-Dist:
|
59
|
+
Requires-Dist: SQLAlchemy[postgresql-psycopg2binary]~=2.0; extra == "full"
|
78
60
|
Requires-Dist: mkdocstrings[python]~=0.26; extra == "full"
|
61
|
+
Requires-Dist: mkdocs-section-index~=0.3; extra == "full"
|
62
|
+
Requires-Dist: dnspython[doh]~=2.6.0; extra == "full"
|
79
63
|
Requires-Dist: mkdocs-material~=9.5; extra == "full"
|
64
|
+
Requires-Dist: packaging; extra == "full"
|
65
|
+
Requires-Dist: pymdown-extensions~=10.9; extra == "full"
|
66
|
+
Requires-Dist: pylint; extra == "full"
|
67
|
+
Requires-Dist: mkdocs-git-authors-plugin~=0.9; extra == "full"
|
80
68
|
Requires-Dist: colorama; extra == "full"
|
81
|
-
Requires-Dist:
|
69
|
+
Requires-Dist: inflection; extra == "full"
|
70
|
+
Requires-Dist: PyMySQL; extra == "full"
|
82
71
|
Requires-Dist: black; extra == "full"
|
83
|
-
Requires-Dist:
|
84
|
-
Requires-Dist:
|
72
|
+
Requires-Dist: setuptools>=65.5.1; extra == "full"
|
73
|
+
Requires-Dist: tox; extra == "full"
|
74
|
+
Requires-Dist: isort; extra == "full"
|
85
75
|
Requires-Dist: mkdocs-macros-plugin~=1.2; extra == "full"
|
86
|
-
Requires-Dist:
|
87
|
-
Requires-Dist: alembic; extra == "full"
|
76
|
+
Requires-Dist: mkdocs-gen-files~=0.5; extra == "full"
|
88
77
|
Requires-Dist: zipp>=3.19.1; extra == "full"
|
89
|
-
Requires-Dist: mkdocs-git-
|
78
|
+
Requires-Dist: mkdocs-git-revision-date-localized-plugin~=1.2; extra == "full"
|
79
|
+
Requires-Dist: shtab; extra == "full"
|
80
|
+
Requires-Dist: domain2idna~=1.12.0; extra == "full"
|
81
|
+
Requires-Dist: requests[socks]<3; extra == "full"
|
82
|
+
Requires-Dist: coverage; extra == "full"
|
83
|
+
Requires-Dist: cryptography~=42.0; extra == "full"
|
84
|
+
Requires-Dist: PyYAML; extra == "full"
|
85
|
+
Requires-Dist: alembic; extra == "full"
|
86
|
+
Requires-Dist: flake8; extra == "full"
|
87
|
+
Requires-Dist: mkdocs~=1.5; extra == "full"
|
88
|
+
Requires-Dist: mkdocs-literate-nav~=0.6; extra == "full"
|
89
|
+
Requires-Dist: python-dotenv; extra == "full"
|
90
90
|
Provides-Extra: psql
|
91
|
-
Requires-Dist:
|
92
|
-
Requires-Dist: python-dotenv; extra == "psql"
|
93
|
-
Requires-Dist: PyYAML; extra == "psql"
|
94
|
-
Requires-Dist: setuptools>=65.5.1; extra == "psql"
|
95
|
-
Requires-Dist: cryptography~=42.0; extra == "psql"
|
96
|
-
Requires-Dist: SQLAlchemy~=2.0; extra == "psql"
|
97
|
-
Requires-Dist: inflection; extra == "psql"
|
91
|
+
Requires-Dist: dnspython[doh]~=2.6.0; extra == "psql"
|
98
92
|
Requires-Dist: python-box[all]~=6.0.0; extra == "psql"
|
93
|
+
Requires-Dist: setuptools>=65.5.1; extra == "psql"
|
94
|
+
Requires-Dist: python-dotenv; extra == "psql"
|
95
|
+
Requires-Dist: requests[socks]<3; extra == "psql"
|
96
|
+
Requires-Dist: SQLAlchemy[postgresql-psycopg2binary]~=2.0; extra == "psql"
|
99
97
|
Requires-Dist: packaging; extra == "psql"
|
100
|
-
Requires-Dist: shtab; extra == "psql"
|
101
98
|
Requires-Dist: psycopg2; extra == "psql"
|
99
|
+
Requires-Dist: shtab; extra == "psql"
|
100
|
+
Requires-Dist: domain2idna~=1.12.0; extra == "psql"
|
101
|
+
Requires-Dist: cryptography~=42.0; extra == "psql"
|
102
|
+
Requires-Dist: PyYAML; extra == "psql"
|
102
103
|
Requires-Dist: alembic; extra == "psql"
|
103
104
|
Requires-Dist: colorama; extra == "psql"
|
104
|
-
Requires-Dist:
|
105
|
-
Requires-Dist:
|
106
|
-
Requires-Dist: domain2idna~=1.12.0; extra == "psql"
|
105
|
+
Requires-Dist: inflection; extra == "psql"
|
106
|
+
Requires-Dist: PyMySQL; extra == "psql"
|
107
107
|
Provides-Extra: test
|
108
108
|
Requires-Dist: tox; extra == "test"
|
109
109
|
Requires-Dist: coverage; extra == "test"
|
@@ -4,7 +4,7 @@ PyFunceble/facility.py,sha256=hyEzCCTOgtAS0x88uEtv9xNwIXnDCDvgq5RHcPNDE-A,2626
|
|
4
4
|
PyFunceble/factory.py,sha256=ETvTe1Ss3VaIhSBOj-ro80XFAYiknsGG9B5oKpubr2s,2576
|
5
5
|
PyFunceble/logger.py,sha256=pmValhdu0XB34FrK1rSgOAhr4spQ8a3QbqQ26jpJHa0,16815
|
6
6
|
PyFunceble/sessions.py,sha256=juHBKHSuVd-tAEIMRj3RXyGyUhZQLEBmeMssd_5qo1U,2568
|
7
|
-
PyFunceble/storage.py,sha256=
|
7
|
+
PyFunceble/storage.py,sha256=vUt8p5l9nQWkGS32YX0FcIYk2d6z4eMTqKMSCBZSJdA,6283
|
8
8
|
PyFunceble/storage_facility.py,sha256=uvW91dOTxF7-2nXxIp2xGI5sDRABBoGMA7D9xfemfGk,4819
|
9
9
|
PyFunceble/checker/__init__.py,sha256=jSCfY25VNBrxLECSgNwU6kTGSl0bM1_JLl_UKvtKP6w,2430
|
10
10
|
PyFunceble/checker/base.py,sha256=WP9Rjl6rvsq69oCaG4a5WDhoWofMpyxfa4K-WY27Gxw,13615
|
@@ -69,7 +69,7 @@ PyFunceble/cli/continuous_integration/utils.py,sha256=78UR62dC5jd8-NbDWUlQ48dewE
|
|
69
69
|
PyFunceble/cli/entry_points/__init__.py,sha256=_q2IKfaNj6X3J6Or8naBBJ7OPeHqfQwGruvNNXgqKao,2438
|
70
70
|
PyFunceble/cli/entry_points/clean.py,sha256=7_ZxouXHKTDUJH7xuduh0S9we0KyluT6jYetrEZNy2M,5153
|
71
71
|
PyFunceble/cli/entry_points/iana.py,sha256=9RAfoZIOE-qW4zPBuV2XbNXcAa480i2kaIZDd0XX-pA,4147
|
72
|
-
PyFunceble/cli/entry_points/production.py,sha256=
|
72
|
+
PyFunceble/cli/entry_points/production.py,sha256=dURFC6pq3cPmdECFea-q8KtJtuH2SoD4geoI6-b1wnM,5101
|
73
73
|
PyFunceble/cli/entry_points/public_suffix.py,sha256=ES0r2xEhr197fasJlBtqO78RLAXgVVB58L6wIlSC1q0,4332
|
74
74
|
PyFunceble/cli/entry_points/pyfunceble/__init__.py,sha256=RQ_anWOFdIlU2AVC7i_iKcj_Tq-qttbNwHe0HWVBCms,2485
|
75
75
|
PyFunceble/cli/entry_points/pyfunceble/argsparser.py,sha256=FY3H6IcvHcKs2hIbXQBcjslPALc4AYhRwqvCdpU1Gd4,4748
|
@@ -133,7 +133,7 @@ PyFunceble/cli/processes/workers/producer.py,sha256=wXMyR8TIlPqW4dLZAifMRb77H41b
|
|
133
133
|
PyFunceble/cli/processes/workers/tester.py,sha256=0XOiLdbOg9BsRraYPBKIv-A39NSFoKUrKuiB6iplpE8,11737
|
134
134
|
PyFunceble/cli/scripts/__init__.py,sha256=iAXtKOkDEGrBa-zuzvVjGKH1PgjcxnGujMZzZqWj7T0,2437
|
135
135
|
PyFunceble/cli/scripts/iana.py,sha256=4mIGAYUizJBdzTnA9Gdkzvdhm62go-e8wCcYFbTe7kE,9977
|
136
|
-
PyFunceble/cli/scripts/production.py,sha256=
|
136
|
+
PyFunceble/cli/scripts/production.py,sha256=oHJkxyVFNTMjTW4ntNu7IKQBr98yCRCqygw6tG4z_f8,15708
|
137
137
|
PyFunceble/cli/scripts/public_suffix.py,sha256=F0aCE5mAB6HJOcqq00iR_RsU24kfuB0S-w1CB9SGxBA,6479
|
138
138
|
PyFunceble/cli/system/__init__.py,sha256=De7iCb3jgTi6NiPRsWwlEN7syLg3XTqE5qU90U4B0Sg,2508
|
139
139
|
PyFunceble/cli/system/base.py,sha256=f_3bvihJ1YlslxZCeN_XJLh62r96RMQAE4XFLCJUXYw,4874
|
@@ -275,9 +275,9 @@ PyFunceble/utils/__init__.py,sha256=Vnhd0wNrWJulWwUUK-vlv5VWBiKfSnXtI2XH_FyYkBA,
|
|
275
275
|
PyFunceble/utils/platform.py,sha256=JA6rc6Uyx6czNWR9917HGB-EZyMjMK17kUVagMtEEjs,3906
|
276
276
|
PyFunceble/utils/profile.py,sha256=f9FsKuiN3ScftqqrZ3yGpcIFqGSf616dPT_QvBduqxw,4552
|
277
277
|
PyFunceble/utils/version.py,sha256=LvSiIrQWztuQ1qT7ekiDvh5TateyVRGMFRui73O4wFQ,8371
|
278
|
-
PyFunceble_dev-4.2.
|
279
|
-
PyFunceble_dev-4.2.
|
280
|
-
PyFunceble_dev-4.2.
|
281
|
-
PyFunceble_dev-4.2.
|
282
|
-
PyFunceble_dev-4.2.
|
283
|
-
PyFunceble_dev-4.2.
|
278
|
+
PyFunceble_dev-4.2.28.dist-info/LICENSE,sha256=JBG6UfPnf3940AtwZB6vwAK6YH82Eo6nzMVnjGqopF0,10796
|
279
|
+
PyFunceble_dev-4.2.28.dist-info/METADATA,sha256=OcXtaiAY5HNQISSgUM7jgumnyJ7cpfoOUB8QiwQerg4,40282
|
280
|
+
PyFunceble_dev-4.2.28.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
281
|
+
PyFunceble_dev-4.2.28.dist-info/entry_points.txt,sha256=Ic1suwopOi_XTgiQi2ErtpY5xT3R8EFMI6B_ONDuR9E,201
|
282
|
+
PyFunceble_dev-4.2.28.dist-info/top_level.txt,sha256=J7GBKIiNYv93m1AxLy8_gr6ExXyZbMmCVXHMQBTUq2Y,11
|
283
|
+
PyFunceble_dev-4.2.28.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|