CID Module
- class ipfs_dict_chain.CID.CID(value: str)[source]
Bases:
object
A class representing a Content Identifier (CID) in the IPFS network.
- Parameters:
value – The CID value as a string.
- CID_REGEX = re.compile('^(/ipfs/)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]+$')
- __eq__(other: Any) bool [source]
Return True if the other object is a CID with the same value, False otherwise.
- __ne__(other: Any) bool [source]
Return True if the other object is not a CID or has a different value, False otherwise.