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.0.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-1.0.1.tar.gz.
File metadata
- Download URL: pysecuritytxt-1.0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.7 Linux/5.19.0-29-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a01d9c1562697c63f62318d7f8fac01c2439002fd2f4e24b754ebf45cb856cf5
|
|
| MD5 |
536fff4a7aed0e66b673fca5aeecbf41
|
|
| BLAKE2b-256 |
c011c7bca742fab9a00cef2e878b0130776e8ef9f5e3a7ff818e989db336ad73
|
File details
Details for the file pysecuritytxt-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pysecuritytxt-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.7 Linux/5.19.0-29-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
989748caaf5e49bf1de3e452e7f3b11e33ddf192c2f4c7a11a0e6a5560f5fe89
|
|
| MD5 |
f0d7e66989b630917c259ed6c2fcc765
|
|
| BLAKE2b-256 |
16a75dfb60e04358cdfbe7d59db55f879fb76881330a3abb8fb6cf1237e5f7dd
|