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.
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 | Reset |
|---|---|---|---|---|
| py_is_ipfs-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|