ipfs-shipyard / py-ipfs-http-client

A python client library for the IPFS API
MIT License
678 stars 199 forks source link

Calculate multihash without connection #300

Open davidmichaelhuber opened 2 years ago

davidmichaelhuber commented 2 years ago

Is there any chance to use add in a way to calculate the hash of a file without ever having to connect to an IPFS daemon?

I set the offline argument though as soon as add is getting called (even with hash_only) a connection attempt is made.