Đã Hủy

AWS EC2 LINUX Python programming -

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.

Kĩ năng: Python, Linux, Ubuntu, Kiến trúc phần mềm, Amazon Web Services

Xem nhiều hơn: programming linux python emacs, linux kernel programming python, aws setup linux ec2, aws cli, install pip amazon linux, aws ec2 python, no package python3 available aws, how to install python on linux, install python3 amazon linux, install python 3.6 amazon linux, install python 3.6 on ec2, how a freelancer in python programming can earn in a month, how long does it take to learn python programming, how to earn from python programming online, how to find the above average selling houses python programming, how to find the average in python programming, how to learn python programming, linux server , aws , ec2 ,, how to deploy war file in aws ec2, how to deploy a laravel app on aws ec2? (part 2)

Về Bên Thuê:
( 3 nhận xét ) Menziken, Switzerland

ID dự án: #21851940

5 freelancer đang chào giá trung bình $24 cho công việc này

topexpert713

Hi, Nice to meet you! I have read your requirements carefully and I am very interesting for your project. I am confident of this project as I'm a professional Python expert with over 5 years of experience. It seems to Thêm

$20 USD trong 7 ngày
(20 Nhận xét)
4.8
lesteraguilar

Fingers crossed for your job.. I am sure of Angular.js, React.js, Vue.js, PHP, Laravel, node.js, Python, Django, MySQL, MongoDB, PostgreSQL, Docker, Javascript, Java, CSS, Bootstrap, HTML. Kindly do me a favor by hirin Thêm

$50 USD trong 1 ngày
(13 Nhận xét)
4.8
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 trong 7 ngày
(12 Nhận xét)
4.2
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, Thêm

$10 USD trong 1 ngày
(2 Nhận xét)
0.4
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 trong 7 ngày
(0 Nhận xét)
0.0