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-0.1.1.tar.gz
(4.9 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-0.1.1.tar.gz.
File metadata
- Download URL: pysecuritytxt-0.1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.4 Linux/5.15.0-46-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d308e2f7eab599174587b98fb9c42adb673766270b01878165486c12c03fec53
|
|
| MD5 |
5acddd5e28a331116c1955ceb7812405
|
|
| BLAKE2b-256 |
6206bbb6d473d8285c876b543089e0b9af0ce73c1e4aa8c37786c56368d94184
|
File details
Details for the file pysecuritytxt-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pysecuritytxt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.4 Linux/5.15.0-46-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45ed5d56bf8d1b423d2d48767ee3772dd1bafdc930ee7bce35621a1249bffdf5
|
|
| MD5 |
a044c5aeb76cca39a4ff3d97a4c61d99
|
|
| BLAKE2b-256 |
0691dab661e57ba9630341aaa861e3dcffa5ff15e10aee4f21d74d2cdd334a77
|