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.2.tar.gz (5.0 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.3.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysecuritytxt-1.3.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pysecuritytxt-1.3.2.tar.gz
Algorithm Hash digest
SHA256 102f2008b2448f8c35c9cb181362017733f823e89466e6ff8cf2f08c47a1a322
MD5 d18dd283337940393e41c1b34a3ffc67
BLAKE2b-256 7391d7471a58b8aa79b8d08198cc43e8b0e6c63db3791b718478ad67f2168c1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysecuritytxt-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pysecuritytxt-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6de6d4fe277f257d1da3d5eb62f637c89288b5e1f98f9c92a576428cfc1aa271
MD5 abc98db2535624fe280784a041189315
BLAKE2b-256 1646b073c1b785caf854f46519fc17f9f6972e7b40479f23d5b96f564a9fbd0a

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