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.2.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.2.tar.gz.
File metadata
- Download URL: pysecuritytxt-1.1.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/6.2.0-27-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ca67a2ad8d794fd1f5a5f9430a65b36c6cec69a2e648d0ecc760d997d2d63c3
|
|
| MD5 |
427797341d02d909c39d8424d22778bd
|
|
| BLAKE2b-256 |
cdfc2fbde257d5c89d4b31e03cf2aef652e061bd723f25b96df5f9a44c7c3d21
|
File details
Details for the file pysecuritytxt-1.1.2-py3-none-any.whl.
File metadata
- Download URL: pysecuritytxt-1.1.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/6.2.0-27-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4f6c7cc58e208885454b97f318bfc9df7591c045d215eb48b76a5dd5c7037c4
|
|
| MD5 |
3cb5054ee37f4646b3462011f9317f44
|
|
| BLAKE2b-256 |
135e54bdc83f5efc9672332c119f51790df17973a0278a4c677e61a29004b571
|