carbon-txt-check-online
A demo plugin for the carbon.txt validator that checks that files linked in carbon.txt files are still online.
Installation
Install this plugin in the same environment as the carbon.txt validator.
The validator is listed as dependency, so if you install this package and the validator isn't already installed, you will also download the carbon.txt validator CLI tool as well.
Using pip
Make sure you are in your chosen virtual environment, then run:
pip install carbon-txt-check-online
Using uv
Inside a project with a pyproject.toml file, run the following:
uv add carbon-txt-check-online
Usage
By default, the carbon-txt-check-online plugin is activated whenever you run the carbon.txt validator:
carbon-txt validate file https://some-domain.com/carbon.txt
You can then run the carbon.txt CLI command
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd carbon-txt-check-online
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
You can also use uv, to avoid faffing around with virtual environments:
# run uv as above
uv run carbon-txt validate file https://some-domain.com/carbon.txt
Metadata
Release files for carbon-txt-check-online 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| carbon_txt_check_online-0.0.1.tar.gz | 31.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| carbon_txt_check_online-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.3 kB
Release files / carbon_txt_check_online-0.0.1.tar.gz
| Download URL | carbon_txt_check_online-0.0.1.tar.gz |
|---|---|
| Size | 31.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ba350d1d113eef06e68bc0a43135dd2093fbf4c795fe5fa98f194fda8345305
|
|
BLAKE2b-256 checksum How to use checksums |
2458590be7d3b722aa82ff0edef42ecf24caceb774eca1e747261b5eafcbe53d
|
| 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 27, 2025.
Transparency logRelease files / carbon_txt_check_online-0.0.1-py3-none-any.whl
| Download URL | carbon_txt_check_online-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6cb91cc16fb7de833ab714fa2380ff220b3a1cf2df43caca807aa65ebc34fbe1
|
|
BLAKE2b-256 checksum How to use checksums |
8685ea189620b78d88446742a8d0b68574ea5e3b58980fddc8671329c8503bf8
|
| 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 27, 2025.
Transparency logSecurity for carbon-txt-check-online 0.0.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for carbon_txt_check_online-0.0.1.tar.gz
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 27, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.