Package: vns-web3
Web3.pyA Python implementation ofweb3.jsPython 3.6+ supportDeveloper Setup[![Join the chat at https://gitter.im/vnscoin/web3.py](https://badges.gitter.im/vnscoin/web3.py.svg)](https://gitter.im/vnscoin/web3.py?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Build Status](https://circleci.com/gh/vnscoin/web3.py.svg?style=shield)](https://circleci.com/gh/vnscoin/web3.py)


A Python implementation of [web3.js](https://github.com/vnscoin/web3.js)

* Python 3.6+ support

## Developer Setup

```sh
git clone git@github.com:vnscoin/web3.py.git
cd web3.pyPlease see OS-specific instructions for:LinuxMacWindowsThen run these install commands:virtualenvvenv
.venv/bin/activate
pipinstall-e.[dev]For different environments, you can set up multiplevirtualenv. For example, if you want to create avenvdocs, then you do the following:virtualenvvenvdocs
.venvdocs/bin/activate
pipinstall-e.[docs]pipinstall-e.How to Execute the Tests?Setup your development environment.Executetoxfor the testsThere are multiplecomponentsof the tests. You can run test to against specific component. For example:# Run Tests for the Core component (for Python 3.6):tox-epy36-core# Run Tests for the Core component (for Python 3.7):tox-epy37-coreIf for some reason it is not working, add--recreateparams.toxis good for testing against the full set of build targets. But if you want to run the tests individually,pytestis better for development workflow. For example, to run only the tests in one file:pytesttests/core/gas-strategies/test_time_based_gas_price_strategy.pyRelease setupFor Debian-like systems:apt install pandocTo release a new version:makereleasebump=$$VERSION_PART_TO_BUMP$$To preview the upcoming release notes:towncrier--draftHow to bumpversionThe version format for this repo is{major}.{minor}.{patch}for stable, and{major}.{minor}.{patch}-{stage}.{devnum}for unstable (stagecan be alpha or beta).To issue the next version in line, specify which part to bump,
likemake release bump=minorormake release bump=devnum.If you are in a beta version,make release bump=stagewill switch to a stable.To issue an unstable version when the current version is stable, specify the
new version explicitly, likemake release bump="--new-version 4.0.0-alpha.1 devnum"git clonegit@github.com:vnscoin/web3.py.git
cd web3.pyPlease see OS-specific instructions for:

- [Linux](docs/README-linux.md#Developer-Setup)
- [Mac](docs/README-osx.md#Developer-Setup)
- [Windows](docs/README-windows.md#Developer-Setup)
Then run these install commands:

```sh
virtualenv venv
. venv/bin/activate
pip install -e .[dev]For different environments, you can set up multiplevirtualenv. For example, if you want to create avenvdocs, then you do the following:virtualenvvenvdocs
.venvdocs/bin/activate
pipinstall-e.[docs]pipinstall-e.How to Execute the Tests?Setup your development environment.Executetoxfor the testsThere are multiplecomponentsof the tests. You can run test to against specific component. For example:# Run Tests for the Core component (for Python 3.6):tox-epy36-core# Run Tests for the Core component (for Python 3.7):tox-epy37-coreIf for some reason it is not working, add--recreateparams.toxis good for testing against the full set of build targets. But if you want to run the tests individually,pytestis better for development workflow. For example, to run only the tests in one file:pytesttests/core/gas-strategies/test_time_based_gas_price_strategy.pyRelease setupFor Debian-like systems:apt install pandocTo release a new version:makereleasebump=$$VERSION_PART_TO_BUMP$$To preview the upcoming release notes:towncrier--draftHow to bumpversionThe version format for this repo is{major}.{minor}.{patch}for stable, and{major}.{minor}.{patch}-{stage}.{devnum}for unstable (stagecan be alpha or beta).To issue the next version in line, specify which part to bump,
likemake release bump=minorormake release bump=devnum.If you are in a beta version,make release bump=stagewill switch to a stable.To issue an unstable version when the current version is stable, specify the
new version explicitly, likemake release bump="--new-version 4.0.0-alpha.1 devnum"