This project is a Python script that checks the availability of GitHub usernames. It generates name combinations based on user-defined parameters and tests whether the names are available or already in use.
- Language: Python 3
- Libraries:
requests
: To make HTTP requests to GitHubbeautifulsoup4
: To parse HTML pagesitertools
: To generate character combinations
Before running the script, ensure you have Python 3 installed and the required libraries. To install them, use:
pip install requests beautifulsoup4
The script can be executed directly from the terminal. The command format is:
python main.py {number_of_characters} {prefix} {suffix} [-a for letters] [-1 for numbers]
-
Check 4-character usernames with the prefix "78kj" and suffix "kj", using letters and numbers:
python main.py 4 78kj kj -a -1
-
Check 5-character usernames using only letters:
python main.py 5 "" "" -a
-
Check 6-character usernames using only numbers, with the prefix "12" and suffix "34":
python main.py 6 12 34 -1
If you do not want a prefix or suffix, simply leave it blank (""
).
Project developed by etoshy.