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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysecuritytxt-1.3.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.11.6 Linux/6.5.0-21-generic

File hashes

Hashes for pysecuritytxt-1.3.0.tar.gz
Algorithm Hash digest
SHA256 3669be69e90672ed0d448b385e5fef49cb3a6a611d7e386d673c4f0e1cc3e83b
MD5 b6d56747c9c7481220956f26cf9d52e9
BLAKE2b-256 c80fa265421f2b2fd2f09e0eace134c8d5e4f9aec8f57548648aee647777f6cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysecuritytxt-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.11.6 Linux/6.5.0-21-generic

File hashes

Hashes for pysecuritytxt-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e4eb6b4fdca8f8471c80696c4d7642be24d44c8c3f627870ca9b7bd3f221cd5
MD5 0a0938e760161c6e5f13b2ecd3e1a176
BLAKE2b-256 fae7427d0392400c29cae55b847ecf23eef1b6cfc8076d01e880b4381bc31373

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