Skip to main content

Python library to identify valid IPFS resources

Project description

py-is_ipfs

Latest release GitHub 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.

Project details


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

py_is_ipfs-0.5.1-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page