Python library to identify valid IPFS resources
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_is_ipfs-0.6.0-py3-none-any.whl.
File metadata
- Download URL: py_is_ipfs-0.6.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d31143109c74cd74ece607b1088d80d857b98f5da281d6eb8aba3018cbd186e
|
|
| MD5 |
65a5fa16c7b8a5a8b051a42997c7524a
|
|
| BLAKE2b-256 |
e7f141539ebe8a5ac606893998e04b553e7412fff242b68ae558cbf80fa0183d
|