IPFS Key Value Store
Project description
ipfs (interplanetary filesystem) kvs (key value store)
Installation
pip install ipfskvs
Documentation
https://ipfs-kvs.readthedocs.io/
Build docs locally
mkdocs serve
Tests
To only run tests: pytest --cov=ipfskvs --log-cli-level=debug
To run all checks: nox
Before running tests:
Regenerate pb2.py files
cd protobuf;
protoc --python_out=../proto --proto_path=protobuf protobuf/sample.proto
Ipfs setup
https://docs.ipfs.tech/install/
Run the ipfs daemon
ipfs daemon --api /ip4/0.0.0.0/tcp/5001
Check the status of your node at:
IPFS troubleshooting
Set the log level, send the logs to a file, and search the file for relevant messages
export IPFS_LOGGING=<debug|info|error>
ipfs daemon --debug 2>&1 | tee ipfs.log
cat ipfs.log | grep test_directory
If you find something important, you can show the first few lines around that message
grep -C 10 '2023-04-13T17:31:49.712-0400' ipfs.log
Here is an example of an error message in these logs:
2023-04-13T17:31:49.712-0400 DEBUG cmds/http http/handler.go:90 incoming API request: /files/mkdir?arg=test_directory
2023-04-13T17:31:49.712-0400 DEBUG cmds go-ipfs-cmds@v0.8.2/command.go:161 error occured in call, closing with error: paths must start with a leading slash
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ipfskvs-0.1.17.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file ipfskvs-0.1.17.tar.gz
.
File metadata
- Download URL: ipfskvs-0.1.17.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45f19a6542892199eff512bc91ea550f2fdc769ec36046edb21e828e44abd876 |
|
MD5 | f33e213beb58e77f0b338a3774b59a13 |
|
BLAKE2b-256 | ba187f7b917ac9123b797c842c6ffdd41a41e7a6382bd26115ef3da29725e632 |
File details
Details for the file ipfskvs-0.1.17-py3-none-any.whl
.
File metadata
- Download URL: ipfskvs-0.1.17-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97453e7a29f1d50250c321bdccea9a2c2ce5729baf309158882c7c9cfd3af375 |
|
MD5 | 36100baac58265d551b61053c5264737 |
|
BLAKE2b-256 | f33dcc3e4ee30f4ccb543f359f20ac7a71ecc893a8af4520ed7fe8d4ab876668 |