semvec/pypi-packages huggingface dataset:
ditto-pokeapi 1.0.0
Ditto is a command line tool for performing meta operations over PokéAPI data.
License: Apache-2.0
Requires Python: >=3.6,<4.0
Keywords: pokeapi,ditto,pokemon

# Ditto <a href="https://pokeapi.co/api/v2/pokemon/ditto"><img src='https://veekun.com/dex/media/pokemon/global-link/132.png' height=50px/></a>

This repository contains:

 - `ditto clone`: a script to crawl an instance of PokeAPI and download all data
 - `ditto analyze`: a script to generate a JSON schema of the above data
 - `ditto transform`: a script to apply a new base url to the above data and schema

## Usage

```sh
pip install ditto-pokeapi
ditto --help
```

## Development

```sh
poetry install
poetry run ditto --help
```

## Docker

You should have a PokeApi server running on `localhost:80`.

```sh
# runs clone, analyze, and transform all in one step
docker-compose up --build
```