Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.24 KB

README.MD

File metadata and controls

44 lines (36 loc) · 1.24 KB

py-is_ipfs

Latest release GitHub Actions Workflow Status

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
    • IPFS
    • IPNS
  • Native URL
    • IPFS
    • IPNS
  • ...

License

MIT

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.