Valkyrie Tools
Project description
Valkyrie Tools
Installation
Install valkyrie-tools
from the Python Package Index:
$ pip install valkyrie-tools
or
$ python3 -m pip install valkyrie-tools
Requirements
- Python 3.8+
Usage
All of the command line tools are available under directly and should be available in your path after installation.
$ valkyrie
All commands were built with the intention of being used in a CI/CD pipeline.
As such, they all have a --help
flag that will print out the available
options.
$ valkyrie --help
Commands
valkyrie
: The main entrypoint for configuring the tools.urlcheck
: Check the aliveness of a URL.ipcheck
: Get information for an IP address. (WIP)dnscheck
: Get dns records for a domain/IP address. (WIP)whobe
: Get information for a domain/IP address. (WIP)
CLI
You can call valkyrie-tools from the command line like so:
$ valkyrie
Passing Input
All supported methods of passing input to the script are:
Text as argument:
$ myscript "abc"
Text from file:
$ myscript test.txt
Interactive mode:
$ myscript -I
$ myscript --interactive
Piped stdin input:
$ echo "abc" | myscript
Piped stdin input (alt):
$ myscript <<<"abc"
Input file:
$ myscript <myfile.txt
Process substitution by file descriptor:
$ myscript <(cat myfile.txt)
Import
You can import valkyrie-tools into your project and use it like so:
import valkyrie_tools
Scripts
urlcheck
Arguments:
$ urlcheck <url>
Example Usage:
$ urlcheck "https://google.com"
-> https://google.com
HTTP/1.1 - 301 - Moved Permanently
>> https://www.google.com/
HTTP/1.1 - 200 - OK
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
License
Distributed under the terms of the MIT license, valkyrie-tools is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Credits
This project was built off of the sweat and tears of the the bad actors it was built to fight.
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
Built Distribution
Hashes for valkyrie_tools-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 168879ad8c151db3921f34689bd54134737515f641fa80ad9b925b5cf97e1922 |
|
MD5 | 675a7d913a691625825d53c12c702518 |
|
BLAKE2b-256 | 27158af4e39c1fbe74ae86328f716139f76591247f70536c972fda095bb92c2b |