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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysecuritytxt-1.3.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pysecuritytxt-1.3.3.tar.gz
Algorithm Hash digest
SHA256 38d3ab9275995186d9b8262a12e1a9db68b2d3c681628e08ff1d55fa31eb6297
MD5 f313274b760f28a139f20781076a91d1
BLAKE2b-256 ffa5742fd5afedb84d0ad2d3b27efbd9c551f7923db76f6c073f9f8c22cabdb1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysecuritytxt-1.3.3.tar.gz:

Publisher: release.yml on Lookyloo/pysecuritytxt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

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

File hashes

Hashes for pysecuritytxt-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dec65b39f73bfcdc0bc5cb8bbbf77a725fa30ae61defeb9e9365d96115a4084e
MD5 571dfd15b3f160e37391bea89745ee31
BLAKE2b-256 f73e8a33cd0d1dbd496da0d81c9930fb981132535bf45542050abd8c36333f2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysecuritytxt-1.3.3-py3-none-any.whl:

Publisher: release.yml on Lookyloo/pysecuritytxt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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