Skip to main content

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


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.3.0.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

pysecuritytxt-1.3.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page