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.1.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysecuritytxt-1.1.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pysecuritytxt-1.1.1.tar.gz.

File metadata

  • Download URL: pysecuritytxt-1.1.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.2 Linux/6.2.0-20-generic

File hashes

Hashes for pysecuritytxt-1.1.1.tar.gz
Algorithm Hash digest
SHA256 3d160408253850689edd0fe4b1db551324899c078aa700893afb591ec2dc8e95
MD5 e8b6196cd54679fec84dcdaed616924e
BLAKE2b-256 e46fb693de5f97331f9f84bcd01418b9d2930fd50babef30140410fd7d41970e

See more details on using hashes here.

File details

Details for the file pysecuritytxt-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pysecuritytxt-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.2 Linux/6.2.0-20-generic

File hashes

Hashes for pysecuritytxt-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5f03cdfd0b23dcf60001430c376a4d34f26dc5e3d4ef00a452c40cadea00778
MD5 335f7acbccad86e4ca9b5dbde74cb590
BLAKE2b-256 89ddd4d2a4d08327c9889199b36df54ba9c90479da4a78ff1440c03896355d46

See more details on using hashes here.

Supported by

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