Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barabazs/py-is_ipfs
py-is_ipfs is a Python library to identify valid IPFS resources.
https://github.com/barabazs/py-is_ipfs
cid decentralization ipfs ipns validation validation-library
Last synced: 3 months ago
JSON representation
py-is_ipfs is a Python library to identify valid IPFS resources.
- Host: GitHub
- URL: https://github.com/barabazs/py-is_ipfs
- Owner: Barabazs
- License: mit
- Created: 2022-03-09T09:11:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-14T11:21:21.000Z (8 months ago)
- Last Synced: 2024-10-05T19:35:03.887Z (4 months ago)
- Topics: cid, decentralization, ipfs, ipns, validation, validation-library
- Language: Python
- Homepage:
- Size: 52.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# py-is_ipfs
[![Latest release](https://img.shields.io/pypi/v/py-is_ipfs?color=blue&label=release)](https://github.com/Barabazs/py-is_ipfs/releases/latest) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Barabazs/py-is_ipfs/Test?label=Test&logo=github)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
```python
from is_ipfs import Validatorprint(Validator("QmYjtig7VJQ6XsnUjqqJvj7QaMcCAwtrgNdahSiFofrE7o").is_ipfs())
```
## Currently supported
* [x] CID
* [x] v0
* [x] v1
* [x] URL
* [x] Path Gateway
* [x] IPFS
* [x] IPNS
* [x] Subdomain Gateway
* [x] IPFS
* [x] IPNS
* [x] Path
* [x] IPFS
* [x] IPNS
* [x] Native URL
* [x] IPFS
* [x] IPNS
* [ ] ...## License
[MIT](https://github.com/Barabazs/py-is_ipfs/blob/main/LICENSE)## Acknowledgments
* [Protocol Labs](https://protocol.ai/) for funding this project with a micro grant.
* [ipfs-shipyard/is-ipfs](https://github.com/ipfs-shipyard/is-ipfs) for the heuristics implemented in JavaScript that this project used as a starting point.