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
Make ipfshhtpclient an optional library / backend for ethpm
- This change affects the different ipfs backends of ethpm.
- Update docs to reference how to install the optional web3 install extra to utilize the ipfs backends.
Copy file name to clipboardExpand all lines: docs/ethpm.rst
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,16 @@ BaseURIBackend
169
169
IPFS
170
170
~~~~
171
171
172
-
``Py-EthPM`` has multiple backends available to fetch/pin files to IPFS. The desired backend can be set via the environment variable: ``ETHPM_IPFS_BACKEND_CLASS``.
172
+
``Py-EthPM`` has multiple backends available to fetch/pin files to IPFS.
173
+
The IPFS backends rely on the now-unmaintained ``ipfshttpclient`` library. Because of
174
+
this, they are opt-in and may be installed via the ``ipfs`` web3 install extra.
175
+
176
+
.. code-block:: bash
177
+
178
+
$ pip install "web3[ipfs]"
179
+
180
+
181
+
The desired backend can be set via the environment variable: ``ETHPM_IPFS_BACKEND_CLASS``.
0 commit comments