bluzelle-0.1.1
توضیحات
Python library for the Bluzelle Service.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bluzelle-0.1.1 |
| نام | bluzelle |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | vbstreetz |
| ایمیل نویسنده | vbstreetz@gmail.com |
| آدرس صفحه اصلی | https://github.com/vbstreetz/blzpy |
| آدرس اینترنتی | https://pypi.org/project/bluzelle/ |
| مجوز | MIT License |

### Getting started
Ensure you have a recent version of [Python 3](https://www.python.org/) installed.
Grab the package from github:
$ pipenv install git+https://github.com/vbstreetz/blzpy.git#egg=bluzelle
Use:
```python
import bluzelle
client = bluzelle.new_client({
'address': '...',
'mnemonic': '...',
'gas_info': {
'max_fee': 4000001,
},
})
client.create('foo', 'bar')
value = client.read(key)
client.update(key, 'baz')
client.delete(key)
```
### Examples
Copy `.env.sample` to `.env` and configure appropriately. You can also use this test [file](https://gist.github.com/vbstreetz/f05a982530311d155836e27d41c1f73a). Then run the example:
```
DEBUG=false python examples/crud.py
```
### Tests
The `tests/` can best be run in a [pipenv](https://github.com/pypa/pipenv) environment. To do so, initialize one with:
```
pipenv --python 3
```
Install requirements:
```
pipenv install
```
Then run the tests:
```
make test
```
### Licence
MIT
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | base58 |
| - | ecdsa |
| - | bech32 |
نحوه نصب
نصب پکیج whl bluzelle-0.1.1:
pip install bluzelle-0.1.1.whl
نصب پکیج tar.gz bluzelle-0.1.1:
pip install bluzelle-0.1.1.tar.gz