A little but functional script that let you search in several databases for an input string.
Project description
DBSeeker
Description:
A little but functional script that let you search in several databases for an input string. It will print the results in a table format, indicating wich table contains the search term, in wich database, how many rows were found and the time it took to search.
Please note that this project is still in alpha stage, so you may encounter bugs and missing features.
Usage:
DBSeeker uses argparse to parse command line arguments.
You can run python dbseeker.py -h
to see this help message:
usage: dbseeker.py [-h] -a address -P port -u user [-p password] [-d database | -bl blacklist] -s search
-h, --help
To show this help message and exit
-a address, --address address
To Enter the host address
-P port, --port port
To Enter the port
-u user, --user user
To Enter the user
-p password, --password password
To Enter the password
-d database, --database database
To Enter databases you want to search in
-bl blacklist, --blacklist blacklist
To Enter databases you want to be excluded, separated by commas
-s search, --search search
To Enter the search term
Please note that -d
and -bl
are mutually exclusive;
Square brackets indicate optional arguments;
At the moment DBSeeker will accept a minimum of 3 characters for the search term, but it may be changed in the future;
If your search string does include whitespaces, please remember to use quotes.
Dependencies:
Since 'argparse' and 'time' should be both included in your python environment you just need to install the following dependencies:
- mysql-connector-python
- tabulate
as refered in the requirements.txt file.
Installation:
Inside the project folder, create a new virtual environment, then simply run
pip install -r requirements.txt
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 Distributions
Built Distributions
File details
Details for the file dbseeker-0.5a0-py3-none-any.whl
.
File metadata
- Download URL: dbseeker-0.5a0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b82a084164e58a4d391350655b57ae7d7910f11c7197fa67f94890044faac7d |
|
MD5 | 2fb66a625e94d263829e4a4cacec57fc |
|
BLAKE2b-256 | 8093e781f5348dfa69a92580cd94e64bc086c3ac41e27cc3c13e9a30b1cbc14a |
File details
Details for the file dbseeker-0.5a0-py2.py3-none-any.whl
.
File metadata
- Download URL: dbseeker-0.5a0-py2.py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 354cb4280e204fbef554202579787bb6a45d75d87cc694b02efc2ead4caf56b5 |
|
MD5 | 8f895cb55bca91d81ba27c0ad9f8f943 |
|
BLAKE2b-256 | 5356b8d6425e04e80427f95ff211fc781557561d9f54a4d2c8162078777920ee |