Skip to main content

The tool to check the availability or syntax of domains, IPv4, IPv6 or URL.

Project description

https://raw.githubusercontent.com/PyFunceble/logo/dev/Green/HD/RM.png

The tool to check the availability or syntax of domains, IPv4, IPv6 or URL

https://api.travis-ci.com/funilrys/PyFunceble.png?branch=master https://coveralls.io/repos/github/funilrys/PyFunceble/badge.png?branch=master https://api.codacy.com/project/badge/Grade/3f7684ffe6fc44d781ca0f26e0221928 https://img.shields.io/github/license/funilrys/PyFunceble.png https://img.shields.io/github/release/funilrys/PyFunceble/all.png https://img.shields.io/github/issues/funilrys/PyFunceble.png https://img.shields.io/badge/code%20style-black-000000.png

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.


Documentation as the place to be!

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
$ chromium _build/html/index.html # Chromium or whatever browser you use.

What can PyFunceble do?

  • 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 and INVALID 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!

https://github.com/PyFunceble/gifs/raw/dev/domain.gif

Please report to the documentation for more GIF.


Supporting the project

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?

GitHub Sponsor

@funilrys is part of the GitHub Sponsor program!

GitHub will match all donation for the coming months!

https://github.com/PyFunceble/logo/raw/master/pyfunceble_github.png

Sponsor me!

Ko-Fi

Don’t want to use the GitHub Sponsor program ? Single donation are welcome too!

https://az743702.vo.msecnd.net/cdn/kofi3.png

Buy me a coffee!


Contributors

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.

 _______ _                 _          _                              _
|__   __| |               | |        | |                            | |
   | |  | |__   __ _ _ __ | | _____  | |_ ___    _   _  ___  _   _  | |
   | |  | '_ \ / _` | '_ \| |/ / __| | __/ _ \  | | | |/ _ \| | | | | |
   | |  | | | | (_| | | | |   <\__ \ | || (_) | | |_| | (_) | |_| | |_|
   |_|  |_| |_|\__,_|_| |_|_|\_\___/  \__\___/   \__, |\___/ \__,_| (_)
                                                  __/ |
                                                 |___/

Special Thanks

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.

 _______ _                 _          _                              _
|__   __| |               | |        | |                            | |
   | |  | |__   __ _ _ __ | | _____  | |_ ___    _   _  ___  _   _  | |
   | |  | '_ \ / _` | '_ \| |/ / __| | __/ _ \  | | | |/ _ \| | | | | |
   | |  | | | | (_| | | | |   <\__ \ | || (_) | | |_| | (_) | |_| | |_|
   |_|  |_| |_|\__,_|_| |_|_|\_\___/  \__\___/   \__, |\___/ \__,_| (_)
                                                  __/ |
                                                 |___/

License

MIT License

Copyright (c) 2017, 2018, 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyFunceble-3.1.0.tar.gz (221.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyFunceble-3.1.0-py3-none-any.whl (261.2 kB view details)

Uploaded Python 3

File details

Details for the file PyFunceble-3.1.0.tar.gz.

File metadata

  • Download URL: PyFunceble-3.1.0.tar.gz
  • Upload date:
  • Size: 221.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for PyFunceble-3.1.0.tar.gz
Algorithm Hash digest
SHA256 a6f507497f8ddbfdf98ac0620aed18f6229225854830d0655fce463148018baa
MD5 ce2e71398d001516684f3555506dc09e
BLAKE2b-256 e7315a7cc8705a8ac8fe4ef591159ebcd8e9e89eb1658a245e3a89290724f018

See more details on using hashes here.

File details

Details for the file PyFunceble-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: PyFunceble-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 261.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for PyFunceble-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97a0403023b7d053aecd5d2f9a07954a63449e6d47d56e8c9026fc01de7fd7ef
MD5 46f4bbbebaa18e66e2423d685b55d9b8
BLAKE2b-256 896bae5bee62514f2e901df7eceda26ea7b8858ac38524ee385fc684fc03ac5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page