Skip to main content

BizLogic

Some nanoswap business logic

Installation

pip install bizlogic

Documentation

https://bizlogic.readthedocs.io/

Build docs locally

mkdocs serve

Tests

To only run tests: pytest --cov=bizlogic --log-cli-level=debug
To only run lints: flake8 bizlogic --docstring-convention google --ignore=D100,D104 --exclude=loan_pb2.py,vouch_pb2.py,loan_application_pb2.py 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:

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

Metadata

Release files for bizlogic 0.2.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bizlogic 0.2.20
File Size Uploaded Provenance Actions
bizlogic-0.2.20.tar.gz 11.6 kB Without provenance Details for bizlogic-0.2.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bizlogic 0.2.20
File Interpreter ABI Platform Actions
bizlogic-0.2.20-py3-none-any.whl Python 3 none any Details for bizlogic-0.2.20-py3-none-any.whl

Total release size: 27.2 kB

Release files / bizlogic-0.2.20.tar.gz

Download URL bizlogic-0.2.20.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6b3d742b8d24b6826aaf4d4433aa066f412dd9600a4356cb60ba5fc0c24797a3
BLAKE2b-256 checksum
How to use checksums
95e1df7cbb351cf3cf310ca0ab6ec4c400102c92f7882f0d5328c51899270484
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / bizlogic-0.2.20-py3-none-any.whl

Download URL bizlogic-0.2.20-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1954229234ae70a8e330a5bacdafc977465e4acb155762ee138893fd412083b7
BLAKE2b-256 checksum
How to use checksums
2cadcecb15ee650386e544cf03deedc749f3da4b6daca68e22039b67cdf1497f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for bizlogic 0.2.20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.20 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page