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.0.tar.gz (4.9 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.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysecuritytxt-1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.7 Linux/5.19.0-23-generic

File hashes

Hashes for pysecuritytxt-1.0.tar.gz
Algorithm Hash digest
SHA256 76473cfe7452f2a45b8a49f5cb9c3ae2adf0e37577731262c19c0d5aefe3a2f2
MD5 0874e1a061e25027b86460af26e6a370
BLAKE2b-256 7fcc5d8c24c76ed009013e5934fd35659f97700b676e66d55f64ae102bfdaf4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysecuritytxt-1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.7 Linux/5.19.0-23-generic

File hashes

Hashes for pysecuritytxt-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f2fd0bf7a641a43b3e495412123c26c49830f04a1acf6032ae2bf20a593ab8f
MD5 4ac5bd3c62b61292d3f695f644eef7b0
BLAKE2b-256 76103779ecb98a958acd0c7d2f74765e815c1700b639f250a8bcd502b65234e9

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