AWS EC2 LINUX Python programming -

Анульовано Опубліковано %project.relative_time Оплачується при отриманні
Анульовано Оплачується при отриманні

P-Rep tools (preptools) Tutorial

This tutorial is intended to give an introduction to using preptools. This guide will walk through the basics of setting up the development environment and the usage of preptools CLI commands.

Building from source

First, clone this project. Then go to the project directory, create a virtualenv environment, and run the build script. Then install preptools with the .whl file.

$ python -m venv venv # Create a virtual environment.

$ source venv/bin/activate # Enter the virtual environment.

(venv)$ ./[login to view URL] # run build script.

(venv)$ ls dist # check result wheel file.

[login to view URL]

Installation

This chapter explains how to install P-Rep Tools on your system.

Requirements

OS: MacOS or Linux

Windows is not supported.

Python

Make a virtualenv for Python 3.6.5+ (3.7 is also supported)

Check your Python version

$ python3 -V

Setup

Install dependencies

Some native tools and libraries are needed to install preptools without any errors.

$ sudo apt-get install -y libssl-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev libyaml-cpp-dev

$ sudo apt-get install -y python3.7-dev libsecp256k1-dev python3-pip

Install preptools

Install the preptools with the .whl file as below.

(venv) $ pip install dist/[login to view URL]

Install the preptools with pypi

(venv) $ pip install preptools

How to use P-Rep tools

Command-line Interfaces (CLIs)

Overview

preptools provides several commands. Here is the list of the available commands.

Usage

usage: preptools [-h] command

...

P-Rep management CLI

optional arguments:

-h, --help show this help message and exit

subcommands:

registerPRep Register P-Rep

unregisterPRep Unregister P-Rep

setPRep Change enrolled P-Rep information

setGovernanceVariables

Change Governance variables used in network operation

getPRep Inquire P-Rep information

getPReps Get live status of all registered P-Rep candidates

txresult Get transaction result by hash

txbyhash Get transaction by hash

keystore Create keystore file in the specified path.

genconf Create config file in the specified path.

Options

shorthand, Name default Description

-h, --help Show this help message and exit

preptools setting commands

There are four commands to set up the P-Rep information: preptools registerPRep, preptools unregisterPRep, preptools setPRep, and preptools setGovernanceVariables. Whenever the commands are called, they load the configuration from preptools_config.json. In order to use other configuration file, please specify the file location with the -c option.

preptools registerPRep

Description

Register P-Rep.

There are three ways of registering a P-Rep.

Python Linux Ubuntu Архітектура ПЗ Amazon Web Services

ID Проекту: #21851940

Про проект

3 заявок(-ки) Дистанційний проект Остання активність 4 роки(ів) тому

3 фрілансерів(-и) готові виконати цю роботу у середньому за $17

ucanbehack

I 'm a Full-stack developer and Ethical Hacker Working 4 years in the programming field. Technology Summary :➤ ✔️Programming/Languages: PHP, Python, JavaScript, jQuery, Vue.js; ✔️Databases Management: Oracle 8.x/9.x, Більше

$10 USD за 1 день
(6 відгуків(и))
3.9
silicolabs

https://www.freelancer.com/projects/amazon-web-services/AWS-IOT-rule-sending-data https://www.freelancer.com/projects/c-programming/Automa-ESP lets chat

$20 USD за 7 дні(-в)
(15 відгуків(и))
4.5
SandipRakhasiya

I have broad experience in Python and require core python project. I have installed preptools and seen some functionalities. Please describe for your requirements.

$20 USD за 7 дні(-в)
(0 відгуків(и))
0.0