Check if your username is taken from various sites
Project description
User Checker
Check if your username is already taken !
User Checker CLI
usage: usercheck [-h] [-f] [-n NUM_THREADS] [-a] [-d] [-c] [-s SAVEDIR] [-j] [-p] usernameOrFilename
positional arguments:
usernameOrFilename Username or filename to check
optional arguments:
-h, --help show this help message and exit
-f, --file File mode
-n NUM_THREADS Max num threads (default=50)
--num_threads NUM_THREADS Max num threads (default=50)
-a, --async Async
-d, --debug Debug messages
-c, --complete Dont stop on first false
-j, --json Output as JSON
-p, --progress Progress bar
Sample
Basic
$ usercheck ethanquix
# Output nothing because at least one service return False
$ usercheck random_goodbaguette_croissant
random_goodbaguette_croissant
Complete
$ usercheck ethanquix -c
ethanquix
twitter False
reddit False
github False
instagram False
$ usercheck ethanqx -c
ethanquix
twitter False
reddit False
github True
instagram True
File
$ cat data/samples.txt
jack
this_pseudo_dont_existWEEUFHG
gooogle
$ usercheck data/samples.txt -f
this_pseudo_dont_existWEEUFHG
$ usercheck data/samples.txt -fc
jack
twitter False
reddit False
github False
instagram False
this_pseudo_dont_existWEEUFHG
twitter True
reddit True
github True
instagram True
gooogle
twitter False
reddit False
github False
instagram False
Json
$ usercheck ethanquix -cj
{
"ethanquix": {
"twitter": false,
"reddit": false,
"github": false,
"instagram": false
}
}
$ usercheck data/samples.txt -fj
[
"this_pseudo_dont_existWEEUFHG"
]
$ usercheck data/samples.txt -fcj
{
"jack": {
"twitter": false,
"reddit": false,
"github": false,
"instagram": false
},
"this_pseudo_dont_existWEEUFHG": {
"twitter": true,
"reddit": true,
"github": true,
"instagram": true
},
"gooogle": {
"twitter": false,
"reddit": false,
"github": false,
"instagram": false
}
}
Async (work only for file)
$ cat data/samples_medium.txt | wc -l
21
$ time `usercheck data/samples_medium.txt -fc > /dev/null`
real 1m9.380s
$ time `usercheck data/samples_medium.txt -fca > /dev/null`
real 0m6.827s
Num Threads
The list of username of size N
is divided in X
chunks each of size N / num_threads
.
Default is 50
$ time usercheck data/samples_medium.txt -fcad
Creating 20 chunks of 1.0 usernames
[...]
real 0m6.146s
$ time usercheck data/samples_medium.txt -fcad -n 4
Creating 4 chunks of 5.0 usernames
[...]
real 0m19.618s
Progress
$ usercheck data/samples_medium.txt -fcap
0%| | 0/20 [00:00<?, ?it/s]
5%|████▏ | 1/20 [00:04<01:31, 4.81s/it]
45%|█████████████████████████████████████▎ | 9/20 [00:05<00:06, 1.77it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:05<00:00, 3.92it/s
Services
- Github
Use in python
TODO
More services
Random user agent
Move services from init to class
Option to select services
Option to save to file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
usercheck-1.0.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file usercheck-1.0.tar.gz
.
File metadata
- Download URL: usercheck-1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b392e47bc83a310e7fbcb346d700db17895d7fd0a3ba6f150576883db75e696 |
|
MD5 | 6ae8fe777fccef2304dbe226e02cda4a |
|
BLAKE2b-256 | 43fc2f7ba8a9c07067e2b7994f37d6166050b1700b10f6328a5a548ea22c883e |
File details
Details for the file usercheck-1.0-py3-none-any.whl
.
File metadata
- Download URL: usercheck-1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f208583d3ac7f79b78deefad321dcc9b89e9596cfd627188d0aee8b5aff4157b |
|
MD5 | 17c45786d4312171c0dbcea88ded9c6b |
|
BLAKE2b-256 | dcfc754977712562cbf624910d9178d7cc54d535e2e81a87250b30f271691d43 |