gRPC Client library to interact with Elastos Smartweb Service
Project description
Python-gRPC-client
This repository contains the python package for Elastos Smart Web Service.
Prerequisites
First, install Python3:
brew install python3 // On Mac
sudo apt-get install python3 // On Ubuntu
Normally, pip comes with python3 if you're downloading the latest version (or any version above 3.4). If that is not the case, install pip by running the following:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
Install virtualenv:
pip3 install virtualenv
Instructions
Clone the repository
git clone https://github.com/cyber-republic/python-grpc-adenine.git
cd python-grpc-adenine
To get the API service running, run the following terminal commands:
virtualenv -p `which python3` venv
source venv/bin/activate
pip3 install -r requirements.txt
cp .env.example .env
Export Path:
export PYTHONPATH="$PYTHONPATH:$PWD/elastos_adenine/stubs/"
Run the client:
python3 sample.py
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
elastos_adenine-0.1.0.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for elastos_adenine-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c3f40e5370913297fd4074484cf59ccb5b4e218629724b3241c5ae7c8caf5b |
|
MD5 | 40c259e8c23f91acfb32eb37b742fb8b |
|
BLAKE2b-256 | f8c37bde7abe334d262e33b372810e516c40b1f01f07c1b3d0aebff717c600f0 |