Skip to content

Commit 872fa79

Browse files
committed
Introduction of PyFunceble v3.2.0 (Teal Blauwbok: Moth)
Fixed: * Issue with the creation of files when the `output/` directory is missing. * Issue with some analytic files which were named `NoneNone`. * Issue with the quiet mode which was not completely quiet while using the `-m` (multiprocessing) argument Improved: * The documentation. * Tests of the AdBlock decoder. * The way we handle subdomains which are behind a public suffix. * The way we generate the shadow file. It can now take advantage of multiprocessing. New: * Deployment to Docker Hub. * Deployment to Anaconda Cloud. * Domains are now converted to lower case while testing them (only). * Notice about the `-d` argument. * Tests are now with Python 3.6.10, 3.7.7 and 3.8.3. * A way to define the location of the output directory through the `PYFUNCEBLE_OUTPUT_LOCATION` environment variable. * Shadow file is not generated by default. You should explicitly give us the permission to do that through the `--shadow` argument. Removed: * `urllib3` as a (direct) dependency. Contributors: * @NeolithEra * @spirillen * @ZeroDot1
1 parent 7ff6e5e commit 872fa79

File tree

137 files changed

+334
-320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+334
-320
lines changed

.PyFunceble_production.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,13 +286,13 @@ http_codes:
286286
links:
287287
api_date_format: "https://pyfunceble.funilrys.com/api/date-format"
288288
api_no_referer: "https://pyfunceble.funilrys.com/api/no-referer"
289-
config: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/.PyFunceble_production.yaml"
290-
dir_structure: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/dir_structure_production.json"
289+
config: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/.PyFunceble_production.yaml"
290+
dir_structure: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/dir_structure_production.json"
291291
iana: "https://raw.githubusercontent.com/PyFunceble/iana/master/iana-domains-db.json"
292292
ipv4_reputation: "https://reputation.alienvault.com/reputation.data"
293-
mariadb: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/db_types/mariadb.sql"
294-
mysql: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/db_types/mysql.sql"
293+
mariadb: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/db_types/mariadb.sql"
294+
mysql: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/db_types/mysql.sql"
295295
psl: "https://raw.githubusercontent.com/PyFunceble/public-suffix/master/public-suffix.json"
296296
repo: "https://github.com/funilrys/PyFunceble"
297-
requirements: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/requirements.txt"
297+
requirements: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/requirements.txt"
298298
user_agents: "https://raw.githubusercontent.com/PyFunceble/user_agents/master/user_agents.json"

PyFunceble/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pylint:disable=invalid-name, cyclic-import
22
"""
3-
The tool to check the availability or syntax of domains, IPv4, IPv6 or URL.
3+
The tool to check the availability or syntax of domain, IP or URL.
44
55
::
66
@@ -25,7 +25,7 @@
2525
https://github.com/funilrys/PyFunceble
2626
2727
Project documentation:
28-
https://pyfunceble.readthedocs.io/en/dev/
28+
https://pyfunceble.readthedocs.io/en/master/
2929
3030
Project homepage:
3131
https://pyfunceble.github.io/

PyFunceble/abstracts/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
The tool to check the availability or syntax of domains, IPv4, IPv6 or URL.
2+
The tool to check the availability or syntax of domain, IP or URL.
33
44
::
55
@@ -26,7 +26,7 @@
2626
https://github.com/funilrys/PyFunceble
2727
2828
Project documentation:
29-
https://pyfunceble.readthedocs.io/en/dev/
29+
https://pyfunceble.readthedocs.io/en/master/
3030
3131
Project homepage:
3232
https://pyfunceble.github.io/

PyFunceble/abstracts/infrastructure.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
The tool to check the availability or syntax of domains, IPv4, IPv6 or URL.
2+
The tool to check the availability or syntax of domain, IP or URL.
33
44
::
55
@@ -26,7 +26,7 @@
2626
https://github.com/funilrys/PyFunceble
2727
2828
Project documentation:
29-
https://pyfunceble.readthedocs.io/en/dev/
29+
https://pyfunceble.readthedocs.io/en/master/
3030
3131
Project homepage:
3232
https://pyfunceble.github.io/
@@ -104,7 +104,7 @@ class Infrastructure:
104104
:type: str
105105
"""
106106

107-
PROD_CONFIG_LINK = "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/.PyFunceble_production.yaml" # pylint: disable=line-too-long
107+
PROD_CONFIG_LINK = "https://raw.githubusercontent.com/funilrys/PyFunceble/master/.PyFunceble_production.yaml" # pylint: disable=line-too-long
108108
"""
109109
Sets the link to the production configuration file.
110110

PyFunceble/abstracts/package.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
The tool to check the availability or syntax of domains, IPv4, IPv6 or URL.
2+
The tool to check the availability or syntax of domain, IP or URL.
33
44
::
55
@@ -26,7 +26,7 @@
2626
https://github.com/funilrys/PyFunceble
2727
2828
Project documentation:
29-
https://pyfunceble.readthedocs.io/en/dev/
29+
https://pyfunceble.readthedocs.io/en/master/
3030
3131
Project homepage:
3232
https://pyfunceble.github.io/
@@ -65,7 +65,7 @@ class Package:
6565
:type: str
6666
"""
6767

68-
VERSION = "3.1.18.dev (Teal Blauwbok: Ladybug)"
68+
VERSION = "3.1.20.dev (Teal Blauwbok: Moth)"
6969
"""
7070
Sets the package version.
7171

PyFunceble/abstracts/platform.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
The tool to check the availability or syntax of domains, IPv4, IPv6 or URL.
2+
The tool to check the availability or syntax of domain, IP or URL.
33
44
::
55
@@ -26,7 +26,7 @@
2626
https://github.com/funilrys/PyFunceble
2727
2828
Project documentation:
29-
https://pyfunceble.readthedocs.io/en/dev/
29+
https://pyfunceble.readthedocs.io/en/master/
3030
3131
Project homepage:
3232
https://pyfunceble.github.io/

PyFunceble/check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
The tool to check the availability or syntax of domains, IPv4, IPv6 or URL.
2+
The tool to check the availability or syntax of domain, IP or URL.
33
44
::
55
@@ -26,7 +26,7 @@
2626
https://github.com/funilrys/PyFunceble
2727
2828
Project documentation:
29-
https://pyfunceble.readthedocs.io/en/dev/
29+
https://pyfunceble.readthedocs.io/en/master/
3030
3131
Project homepage:
3232
https://pyfunceble.github.io/

PyFunceble/cli/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pylint: disable=too-many-lines, line-too-long
22
"""
3-
The tool to check the availability or syntax of domains, IPv4, IPv6 or URL.
3+
The tool to check the availability or syntax of domain, IP or URL.
44
55
::
66
@@ -27,7 +27,7 @@
2727
https://github.com/funilrys/PyFunceble
2828
2929
Project documentation:
30-
https://pyfunceble.readthedocs.io/en/dev/
30+
https://pyfunceble.readthedocs.io/en/master/
3131
3232
Project homepage:
3333
https://pyfunceble.github.io/
@@ -92,12 +92,12 @@ def tool(): # pragma: no cover pylint: disable=too-many-branches,too-many-state
9292

9393
description = (
9494
f"{Style.BRIGHT}{Fore.GREEN}PyFunceble{Style.RESET_ALL} - "
95-
"The tool to check the availability or syntax of domains, IPv4, IPv6 or URL."
95+
"The tool to check the availability or syntax of domain, IP or URL."
9696
)
9797

9898
epilog = (
9999
f"{Style.BRIGHT}{Fore.YELLOW}For an in-depth usage, explanation and examples of the arguments, "
100-
f"you should read the documentation at{Fore.GREEN} https://pyfunceble.readthedocs.io/en/dev/"
100+
f"you should read the documentation at{Fore.GREEN} https://pyfunceble.readthedocs.io/en/master/"
101101
f"{Style.RESET_ALL}\n\n"
102102
f"Crafted with {Fore.RED}{Fore.RESET} by "
103103
f"{Style.BRIGHT}{Fore.CYAN}Nissar Chababy (@funilrys){Style.RESET_ALL} "

PyFunceble/cli/dispatcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
The tool to check the availability or syntax of domains, IPv4, IPv6 or URL.
2+
The tool to check the availability or syntax of domain, IP or URL.
33
44
::
55
@@ -26,7 +26,7 @@
2626
https://github.com/funilrys/PyFunceble
2727
2828
Project documentation:
29-
https://pyfunceble.readthedocs.io/en/dev/
29+
https://pyfunceble.readthedocs.io/en/master/
3030
3131
Project homepage:
3232
https://pyfunceble.github.io/

PyFunceble/cli/execution_time.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
The tool to check the availability or syntax of domains, IPv4, IPv6 or URL.
2+
The tool to check the availability or syntax of domain, IP or URL.
33
44
::
55
@@ -26,7 +26,7 @@
2626
https://github.com/funilrys/PyFunceble
2727
2828
Project documentation:
29-
https://pyfunceble.readthedocs.io/en/dev/
29+
https://pyfunceble.readthedocs.io/en/master/
3030
3131
Project homepage:
3232
https://pyfunceble.github.io/

0 commit comments

Comments
 (0)