py-is_ipfs
py-is_ipfs is a Python library to identify valid IPFS resources.
This project is a work in progress.
Installation and usage
Installation
py-is_ipfs is available on PyPI:
python -m pip install py-is_ipfs
Usage
from is_ipfs import Validator
print(Validator("QmYjtig7VJQ6XsnUjqqJvj7QaMcCAwtrgNdahSiFofrE7o").is_ipfs())
Currently supported
- CID
- v0
- v1
- URL
- Path Gateway
- IPFS
- IPNS
- Subdomain Gateway
- IPFS
- IPNS
- Path Gateway
- Path
- IPFS
- IPNS
- Native URL
- IPFS
- IPNS
- ...
License
Acknowledgments
- Protocol Labs for funding this project with a micro grant.
- ipfs-shipyard/is-ipfs for the heuristics implemented in JavaScript that this project used as a starting point.
Metadata
Release files for py-is-ipfs 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_is_ipfs-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for py_is_ipfs-0.6.0-py3-none-any.whl |
Release files / py_is_ipfs-0.6.0-py3-none-any.whl
| Download URL | py_is_ipfs-0.6.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d31143109c74cd74ece607b1088d80d857b98f5da281d6eb8aba3018cbd186e
|
|
BLAKE2b-256 checksum How to use checksums |
e7f141539ebe8a5ac606893998e04b553e7412fff242b68ae558cbf80fa0183d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for py-is-ipfs 0.6.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.