Skip to main content

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

Metadata

Release files for pysecuritytxt 1.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysecuritytxt 1.3.3
File Size Uploaded
pysecuritytxt-1.3.3.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysecuritytxt 1.3.3
File Interpreter ABI Platform
pysecuritytxt-1.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / pysecuritytxt-1.3.3.tar.gz

Download URL pysecuritytxt-1.3.3.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
38d3ab9275995186d9b8262a12e1a9db68b2d3c681628e08ff1d55fa31eb6297
BLAKE2b-256 checksum
How to use checksums
ffa5742fd5afedb84d0ad2d3b27efbd9c551f7923db76f6c073f9f8c22cabdb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 29, 2025.

Transparency log

Release files / pysecuritytxt-1.3.3-py3-none-any.whl

Download URL pysecuritytxt-1.3.3-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dec65b39f73bfcdc0bc5cb8bbbf77a725fa30ae61defeb9e9365d96115a4084e
BLAKE2b-256 checksum
How to use checksums
f73e8a33cd0d1dbd496da0d81c9930fb981132535bf45542050abd8c36333f2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 29, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.3 This release

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page