PyFunceble is the little sister of Funceble which was archived on 13th March 2018.
Its main objective is to provide the availability of domains, IPs and since recently URL by generating an accurate result based on results from WHOIS, NSLOOKUP and HTTP status codes.
PyFunceble is currently running actively and daily with the help of Travis CI under 60+ repositories. It is used to clean or test the availability of data which are present in hosts files, list of IP, list of domains, block lists or even AdBlock filter lists.
PyFunceble provides some useful features for continuous testing.
As an example, its auto-continue system coupled with its auto-save system allows it to run nice and smoothly under Travis CI without even reaching Travis CI time restriction. In the other side, its internal inactive database system let INACTIVE
and INVALID
caught domains, IPs or URLs being automatically retested over time on next run.
Want to know more about PyFunceble? We invite you to read the documentation at https://pyfunceble.readthedocs.io/en/master/!
Want a local copy? We get you covered!
Simply run the following and enjoy the documentation!
$ cd docs/ $ make html $ palemoon _build/html/index.html # palemoon or whatever browser you use.
- Test the availability of a domain.
- Test the availability of an IPv4.
- Test the availability of an IPv6.
- Test the availability of a URL.
- Test the availability of a domain/DNS name in a private or local network.
- Test the availability of an IPv4 in a private or local network.
- Test the availability of an IPv6 in a private or local network.
- Test the availability of a URL in a private or local network.
- Test the syntax of a domain.
- Test the syntax of an IPv4.
- Test the syntax of an IPv6.
- Test the syntax of a URL.
- Test the AlienVault's reputation of an IPv4.
- Test of domain or IP which are present into an Adblock formatted file.
- Test from a given raw link.
- Test using multiprocessing (from CLI only).
- Save test result(s) in file(s) (hosts file, plain text and/or JSON format).
- Save test result in a SQL database.
- Show test result(s) on screen.
- Show percentage of each status (
ACTIVE
,INACTIVE
,INVALID
) - Sort outputs hierarchically.
- "Mining" of domain or IP which are related to the tested element.
- Auto-continuation of tests in case of system crash or script stop.
- Filtering of a file content.
- This feature will let us for example test all blogspot domain of the given file no matter the content of the file.
- Set the user-agent to use for the tests.
- Give some analytic depending of the HTTP status code (
ACTIVE
,POTENTIALLY_ACTIVE
,POTENTIALLY_INACTIVE
,SUSPICIOUS
). - Retest overtime of
INACTIVE
andINVALID
domains. - Print the execution time on screen and file.
- Customisation of the different option via command-line arguments or configuration file.
- Continuous tests under Travis CI or GitLab CI/CI
- ... with the help of an auto saving and database system.
- Set the branch to push the result to. For the autosaving system.
- Set the minimal time before we autosave in order to avoid CI/CD limitation.
- Set a command to execute at the end of the test.
- Set the commit message for the autosaving system.
- ... and a lot more!
Please report to the documentation for more GIF.
PyFunceble, Dead-Hosts, and all other analog projects are powered by free time and a lot of coffee!
This project helps you and/or you like it?
@funilrys is part of the GitHub Sponsor program!
GitHub will match all donation for the coming months!
Don't want to use the GitHub Sponsor program ? Single donation are welcome too!
Thanks to those awesome peoples for their awesome and crazy idea(s), contribution(s) and or issue report which made or make PyFunceble a better tool.
_______ _ _ _ _ |__ __| | | | | | | | | | | |__ __ _ _ __ | | _____ | |_ ___ _ _ ___ _ _ | | | | | '_ \ / _` | '_ \| |/ / __| | __/ _ \ | | | |/ _ \| | | | | | | | | | | | (_| | | | | <\__ \ | || (_) | | |_| | (_) | |_| | |_| |_| |_| |_|\__,_|_| |_|_|\_\___/ \__\___/ \__, |\___/ \__,_| (_) __/ | |___/
- Daniel - @dnmTX
- hawkeye116477 - @hawkeye116477
- Imre Kristoffer Eilertsen - @DandelionSprout
- jawz101 - @jawz101
- kowith337 - @kowith337
- Mitchell Krog - @mitchellkrogza
- NeolithEra - @NeolithEra
- Odyseus - @Odyseus
- opav - @opav
- Reza Rizqullah - @ybreza
- sjhgvr - @sjhgvr
- ScriptTiger - @ScriptTiger
- speedmann - @speedmann
- spirillen - @spirillen
- The Unknown - @AnonymousPoster
- WaLLy3K - @WaLLy3K
- xxcriticxx - @xxcriticxx
- ZeroDot1 - @ZeroDot1
Thanks to those awesome organization(s), tool(s) and or people(s) for
- Their awesome documentation
- Their awesome repository
- Their awesome tool/software/source code
- Their breaking reports
- Their contributions
- Their current work/purpose
- Their promotion of Py-Funceble
- Their support
- Their testings reports
which helped and/or still help me build, test and or make PyFunceble a better tool.
_______ _ _ _ _ |__ __| | | | | | | | | | | |__ __ _ _ __ | | _____ | |_ ___ _ _ ___ _ _ | | | | | '_ \ / _` | '_ \| |/ / __| | __/ _ \ | | | |/ _ \| | | | | | | | | | | | (_| | | | | <\__ \ | || (_) | | |_| | (_) | |_| | |_| |_| |_| |_|\__,_|_| |_|_|\_\___/ \__\___/ \__, |\___/ \__,_| (_) __/ | |___/
- Adam Warner - @PromoFaux
- Adblock Plus - @adblockplus
- asciinema - @asciinema
- Bob Halley - @rthalley (DNSPython)
- Chris Griffith - @cdgriffith (Box)
- Daniel - @dnmTX
- Jonathan Hartley - @tartley (colorama)
- IANA - ICANN (Root Zone Database)
- Kenneth Reitz - @kennethreitz (requests)
- Mitchell Krog - @mitchellkrogza
- Mohammad Fares - @faressoft (Terminalizer)
- Pi-Hole - @pi-hole
- Public Suffix List - @publicsuffix
- Reza Rizqullah - @ybreza
- Saurabh Kumar - @theskumar (python-dotenv)
- ScriptTiger - @ScriptTiger
- SMed79 - @SMed79
- spirillen - @spirillen
- The YAML Project - @yaml (pyyaml)
- yWorks - (yEd Graph Editor)
Copyright 2017, 2018, 2019, 2020 Nissar Chababy Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.