semvec/pypi-packages huggingface dataset:
ttncli 0.0.8
Basic Command line utility
Requires Python: >=3.6

# ttn-cli
Basic CLI utility

## To make build

Make sure you have the latest versions of setuptools and wheel installed:

```javascript
python3 -m pip install --upgrade setuptools wheel
```

Now run this command from the same directory where setup.py is located:

```javascript
python3 setup.py sdist bdist_wheel
```

## To Install The Library Locally

Inside the folder containing setup.py
```javascript
python3 setup.py install
```

## To Run In Development Mode

Setup a virtual environment to install the package
```
virtualenv venv -p python3.6
```

Then to install the package in development mode
```
python setup.py develop
```

To enter shell
```
ttn_cli
```

To Run CLI Commands
```
ttn_cli --help # show all the available options

ttn_cli git --help # shows all the commands related to git

ttn_cli git logs -f <form_date> -a <author-name> show the logs of a particular author

... and many more

ttn_cli network --help # shows all the commands related to network

ttn_cli network show_public_ip # shows public IP of host

ttn_cli network show_private_ip # shows private IP of host
```


For reference, follow this
[article](https://python-packaging-tutorial.readthedocs.io/en/latest/setup_py.html).
tigrex 1.3.0
A Magic the Gathering CLI Tool

# tigrex
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/ericjaychi?locale.x=en_US) ![Release](https://img.shields.io/github/release/ericjaychi/tigrex) 

tigrex is a Python CLI Tool for searching and pricing Magic the Gathering cards using Scryfall's API.

## Installation

**pip**

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install tigrex.

```bash
pip install tigrex
```

**Homebrew**

Use Homebrew to install tigrex.

```bash
brew tap ericjaychi/tigrex
brew install tigrex
```

**Cloning**

Clone the repository and run the script locally. This method will mean that each command has to have `python -m tigrex`.
```bash
git clone https://github.com/ericjaychi/tigrex.git || git@github.com:ericjaychi/tigrex.git
cd tigrex/
python -m tigrex [command]
```

## Usage
All searches leverage a fuzzy search, meaning that the `[card_name]` does not have to be exact. Examples:
- `yuriko` will result in a search result of `Yuriko, the Tiger's Shadow`
- `watery` will result in a search result of `Watery Grave`

If a full name needs to be searched for, wrapping the `[card_name]` in `" "` can achieve this, `"[card_name]"`. Examples:
- `"yuriko, the tiger's shadow"` will result in a search result of `Yuriko, the Tiger's Shadow`
- `"watery grave"` will result in a search result of `Watery Grave`

Fuzzy search will fail if there are multiple results. Examples:`
- `path to` will fail and not bring up the card `Path to Exile``
- `"path to"` will fail and not bring up the card `Path to Exile`

## Commands
**search** - Search for an MTG card.
```bash
tigrex search [card-name]
```
![tigrex search](demo/tigrex-search.gif)

**price** - Search for an MTG card price.
```
tigrex price [card-name]
```
![tigrex search](demo/tigrex-price.gif)

**currency** - Set the currency of the card searches inside of `config.ini` so that price shows in the either USD, EUR, or TIX. Foil prices are only in USD.
```
tigrex currency [usd | eur | tix]
```
![tigrex search](demo/tigrex-currency.gif)

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Although this is an open source tool, donations are appreciated greatly!

## License
[MIT](https://choosealicense.com/licenses/mit/)