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.2.2.tar.gz
(4.8 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.2.2.tar.gz.
File metadata
- Download URL: pysecuritytxt-1.2.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.5.0-14-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31d4ea4814e2cdeffce304e7b6f9d58580e7fb6578c8694bb6f8c0df59e65b3d
|
|
| MD5 |
542de4f15bdaa80e6f5484e8dbfe0c09
|
|
| BLAKE2b-256 |
6560096a46e9bb7e6af1e675d61d601f4a67b9cff166ba24043e07ae0782f74c
|
File details
Details for the file pysecuritytxt-1.2.2-py3-none-any.whl.
File metadata
- Download URL: pysecuritytxt-1.2.2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.5.0-14-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08d8750d82e9502ba949a6ea7bab355ca183cfc3cd722ed3e492ba35a8d4edda
|
|
| MD5 |
10ef9e832b31788b1b3d590155505578
|
|
| BLAKE2b-256 |
356fede0db8a97a0cc22e9334a1743431e4f298cb6b8916e46a04e4ad9f60f54
|