Skip to main content

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.

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)

Table of built distributions (wheels) for py-is-ipfs 0.6.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.6.0 This release

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page