You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for lookups to various file storage locations, such as over http/https (via requests as 1st class plugin), ipfs/ipns/ipld (via py-ipfs-http-client or Infura, etc.), and any other relevant URI types which share data (Swarm is... still a thing bzz://...).
Use cases may include: downloading projects and manifest files, uploading/pinning manifest files, fetching source code, querying ethereum data (cached via IPLD), storing contract ABIs and bytecode, etc.
Specification
classStorageAPI:
@propertydefuri_types(self) ->Set[Uri]:
"""Set of URI Types that this plugin handles"""deffetch(self, uri: Uri) ->Deserializable:
"""Obtain content at URI and store it on disk, returning file handle to content"""# NOTE: URI Type must be in `self.uri_types`# NOTE: Content can be cached in plugin data folder, or via other means (IPFS client data folder)# NOTE: Path returned can be a file or folder, handle appropriatelydefpush(self, content: Serializable) ->Uri:
...
Dependencies
No dependencies
The text was updated successfully, but these errors were encountered:
Overview
Add support for lookups to various file storage locations, such as over
http
/https
(viarequests
as 1st class plugin),ipfs
/ipns
/ipld
(viapy-ipfs-http-client
or Infura, etc.), and any other relevant URI types which share data (Swarm is... still a thingbzz://...
).Use cases may include: downloading projects and manifest files, uploading/pinning manifest files, fetching source code, querying ethereum data (cached via IPLD), storing contract ABIs and bytecode, etc.
Specification
Dependencies
No dependencies
The text was updated successfully, but these errors were encountered: