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.1.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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pysecuritytxt-1.3.1.tar.gz
Algorithm Hash digest
SHA256 ea0b9bf8cff329a7f96eaee458b60445230db52c85fbd2e4874a094cc67b0bfa
MD5 b771f8546f17611b0a3887f013a2bc2c
BLAKE2b-256 624329684e17b07b03c3836c365b881733b5e485fb29c0b650037c83454a5a24

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pysecuritytxt-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f29e7966981bf81c3d285f576a8e54b34d0532c5d373d09a0a4e4e5e39b3b2f1
MD5 a8e7e8f056f0263e808a493a2a0de18d
BLAKE2b-256 d1e05814440dee8e745f6c975fc880ec7610203266984064ded0efa3cf655d88

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