<commit_before># Description

`counterparty-cli` is a command line interface for [`counterparty-lib`](https://github.com/CounterpartyXCP/counterpartyd).

# Dependencies

* [Python 3](http://python.org)
* [`counterparty-lib`](https://github.com/CounterpartyXCP/counterpartyd)
* [Bitcoin Core](https://github.com/bitcoin/bitcoin) 

# Installation

`pip install counterparty-cli`

or

```
git clone https://github.com/CounterpartyXCP/counterparty-cli.git
cd counterparty-cli
python setup.py install
```

# Counterparty server

Use `counterparty-server.py` to start synchronization with the blockchain and RPC server.

For a list of the available command‐line arguments and options, see
`$ ./counterparty-server.py --help`.

Example:

`./counterparty-server.py --testnet server`

Configuration file:

OS  | Path
------------- | -------------
MacOS | ~/Library/Application Support/counterparty-server/counterparty-server.conf
XP | C:\Documents and Settings\username\Application Data\counterparty-server\counterparty-server.conf
Vista, 7 | C:\Users\username\AppData\Roaming\counterparty-server\counterparty-server.conf
Linux | ~/.config/counterparty-server/counterparty-server.conf

A counterparty-server configuration file looks like this:

    [Default]
    backend-name = addrindex
    backend-connect = localhost
    backend-user = rpcuser
    backend-password = password
    rpc-host = 0.0.0.0
    rpc-user = rpcuser
    rpc-password = password


# Counterparty client
Use `counterparty-client.py` to manage you Counterparty wallet.

For a list of the available command‐line arguments and options, see
`$ ./counterparty-client.py --help`.
For a list of the available arguments for a particular command, see
`$ ./counterparty-client.py send --help`.

Example:

`./counterparty-client.py --testnet send --source=mi9Q6EVaXL1n85J4pRAsR3nVoo2yfDmquV --asset=XCP --quantity=0.1 --destination=muQjaj46wghHprjSjpgU7D55JxKyK5dJtZ`

Configuration file:

OS  | Path
------------- | -------------
MacOS | ~/Library/Application Support/counterparty-client/counterparty-client.conf
XP | C:\Documents and Settings\username\Application Data\counterparty-client\counterparty-client.conf<commit_msg>Remove .py from script name in the README<commit_after># Description

`counterparty-cli` is a command line interface for [`counterparty-lib`](https://github.com/CounterpartyXCP/counterpartyd).

# Dependencies

* [Python 3](http://python.org)
* [`counterparty-lib`](https://github.com/CounterpartyXCP/counterpartyd)
* [Bitcoin Core](https://github.com/bitcoin/bitcoin) 

# Installation

`pip install counterparty-cli`

or

```
git clone https://github.com/CounterpartyXCP/counterparty-cli.git
cd counterparty-cli
python setup.py install
```

# Counterparty server

Use `counterparty-server` to start synchronization with the blockchain and RPC server.

For a list of the available command‐line arguments and options, see
`$ counterparty-server --help`.

Example:

`counterparty-server --testnet server`

Configuration file:

OS  | Path
------------- | -------------
MacOS | ~/Library/Application Support/counterparty-server/counterparty-server.conf
XP | C:\Documents and Settings\username\Application Data\counterparty-server\counterparty-server.conf
Vista, 7 | C:\Users\username\AppData\Roaming\counterparty-server\counterparty-server.conf
Linux | ~/.config/counterparty-server/counterparty-server.conf

A counterparty-server configuration file looks like this:

    [Default]
    backend-name = addrindex
    backend-connect = localhost
    backend-user = rpcuser
    backend-password = password
    rpc-host = 0.0.0.0
    rpc-user = rpcuser
    rpc-password = password


# Counterparty client
Use `counterparty-client` to manage you Counterparty wallet.

For a list of the available command‐line arguments and options, see
`$ ./counterparty-client --help`.
For a list of the available arguments for a particular command, see
`$ ./counterparty-client send --help`.

Example:

`./counterparty-client --testnet send --source=mi9Q6EVaXL1n85J4pRAsR3nVoo2yfDmquV --asset=XCP --quantity=0.1 --destination=muQjaj46wghHprjSjpgU7D55JxKyK5dJtZ`

Configuration file:

OS  | Path
------------- | -------------
MacOS | ~/Library/Application Support/counterparty-client/counterparty-client.conf
XP | C:\Documents and Settings\username\Application Data\counterparty-client\counterparty-client.conf
{'fraction_non_alphanumeric': 0.13156085262434106, 'fraction_numerical': 0.010084804033921613, 'mean_word_length': 4.0392609699769055, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '272939', 'n_tokens_mistral': 1366, 'n_tokens_neox': 1303, 'n_words': 316}