semvec/pypi-packages huggingface dataset:
asynceth 0.0.12
Asyncio Ethereum Utilities
License: MIT

## asynceth

An asyncio ethereum jsonrpc library

## Install

`pip install asynceth`

## Usage Example

```
import asyncio
from asynceth import JsonRPCClient
from asynceth import Contract

async def example_jsonrpc_request():
    client = JsonRPCClient("http://localhost:8485")
    balance = await client.eth_getBalance("0x0000000000000000000000000000000000000000")
    print(balance)

asyncio.get_event_loop().run_until_complete(example_jsonrpc_request())

greeter_code = """
contract Greeter is Mortal {
    /* Define variable greeting of the type string */
    string greeting;

    /* This runs when the contract is executed */
    function Greeter(string _greeting) public {
        greeting = _greeting;
    }

    /* Main function */
    function greet() constant returns (string) {
        return greeting;
    }
}
"""

# NOTE: example requires `solc` to be installed, and private_key must be the private key to an
# account on the ethereum node pointed to by JsonRPCClient that has funds to deploy the contract
private_key = os.urandom(32)
async def example_contract_deployment():
    client = JsonRPCClient("http://localhost:8485")
    greeter = await Contract(client, greeter_code).set_signer(private_key).deploy("Hello World")
    greeting = await greeter.greet()
    assert greeting == "Hello World"

asyncio.get_event_loop().run_until_complete(example_contract_deployment())
```

## Running tests

```
python setup.py test
```

OR

```
virtualenv -p python3 env
env/bin/pip install -r requirements.txt -r requirements-testing.txt
env/bin/py.test
```

## History

##### 0.0.1
* Initial release
pdpm 0.1.1
Python project manager
License: MIT

### Python Development Projects Manager (PDPM)

---

##### A command line tool for managing Projects
#### References:
| Reference 	| URL                              	|
|:---------:	|----------------------------------	|
| GitHub    	| https://github.com/Okirshen/pdpm 	|

---

#### Init

---

To init the tool
use this commands:
```shell script
pdpm setpath
```
This will set the project directory to be in the current directory 
```shell script
pdpm set-launcher LAUNCHER
```

**LAUNCHER**: code, pycharm, atom, etc... <br>
This will set the command that will be used to launch the project

---
```shell script
pdpm create [OPTIONS] PROJECT_NAME
```
* -s --start - If raised the project will be launched<br>
This will create a project named **PROJECT_NAME**
```shell script
pdpm remove PROJECT_NAME
```
This will remove a project named **PROJECT_NAME**
```shell script
pdpm show
project1
project2
project3
project4
```
This will echo all projects in project folder
```shell script
pdpm start PROJECT_NAME
```
This will launch **PROJECT_NAME**

---

Created by: Ofri Kirshen <br>
Email: okirshen@gmail.com