bizlogic-0.0.9
توضیحات
web3 lending platform business logic
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bizlogic-0.0.9 |
| نام | bizlogic |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nate Schultz |
| ایمیل نویسنده | nate.schultz@outlook.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/bizlogic/ |
| مجوز | - |
# BizLogic
Some nanoswap business logic




- [Installation](#installation)
- [Documentation](#documentation)
* [Build docs locally](#build-docs-locally)
- [Tests](#tests)
* [Before running tests:](#before-running-tests-)
+ [Regenerate pb2.py files](#regenerate-pb2py-files)
+ [Ipfs setup](#ipfs-setup)
+ [Run the ipfs daemon](#run-the-ipfs-daemon)
- [IPFS troubleshooting](#ipfs-troubleshooting)
## Installation
```
pip install bizlogic
```
## Documentation
https://bizlogic.readthedocs.io/
### Build docs locally
`mkdocs serve`
## Tests
To only run tests: `pytest`
To run all checks: `nox`
### Before running tests:
#### Regenerate pb2.py files
```
protoc --python_out=bizlogic/protoc --proto_path=protobuf protobuf/*.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:
- http://localhost:5001/webui
- https://webui.ipfs.io/#/status
## 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
```
نیازمندی
| مقدار | نام |
|---|---|
| ==0.0.7 | ipfsclient |
| >=2.0.0,<3.0.0 | pandas |
| >=4.22.3,<5.0.0 | protobuf |
| >=0.2.1,<0.3.0 | py-multicodec |
| >=2.28.2,<3.0.0 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11,<4.0 | Python |
نحوه نصب
نصب پکیج whl bizlogic-0.0.9:
pip install bizlogic-0.0.9.whl
نصب پکیج tar.gz bizlogic-0.0.9:
pip install bizlogic-0.0.9.tar.gz