Python CLI and module for querying security.txt files on domains.
Project description
Python client and module for querying .well-known/security.txt files
Give it a domain, it tries to fetch the security.txt file
Installation
pip install pysecuritytxt
Usage
Command line
You can use the pysecuritytxt command:
usage: pysecuritytxt [-h] [-p] url_or_domain
Try to get a security.txt file
positional arguments:
url_or_domain Try to get the file from there.
options:
-h, --help show this help message and exit
-p, --parse Parse the response, returns dict
Library
See API Reference
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
pysecuritytxt-1.1.0.tar.gz
(4.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysecuritytxt-1.1.0.tar.gz.
File metadata
- Download URL: pysecuritytxt-1.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.10.7 Linux/5.19.0-35-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
761a497001d9127bed104b2580d7b91f1b01e9848c85a8fb8a954811c03a4808
|
|
| MD5 |
a11ddefbf59e7a8302474dc65aeb0eed
|
|
| BLAKE2b-256 |
e989b77a08afb30279e8a49b93c6ae511db795da8cb429834a8f92739c6b362d
|
File details
Details for the file pysecuritytxt-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pysecuritytxt-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.10.7 Linux/5.19.0-35-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3c3f76ef25bb3d98f6890cd059c6582673522065de5fcc4942fa7212ba5c14b
|
|
| MD5 |
74a62474357265ce22e64e288d6770f8
|
|
| BLAKE2b-256 |
9f39afe0753169997108a9aa5b75111461b75b3d7473b2c5d263bfeb663ed196
|