Skip to main content

Ditto is a command line tool for performing meta operations over PokéAPI data.

Project description

Ditto

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

pip install pokeapi-ditto
ditto --help

Development

poetry install
poetry run ditto --help

Docker

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pokeapi_ditto-1.0.1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

pokeapi_ditto-1.0.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file pokeapi_ditto-1.0.1.tar.gz.

File metadata

  • Download URL: pokeapi_ditto-1.0.1.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/5.15.146.1-microsoft-standard-WSL2

File hashes

Hashes for pokeapi_ditto-1.0.1.tar.gz
Algorithm Hash digest
SHA256 309279f1736dcf99e04bf934f7201dccda4edc18514d8cabc4c355ea987f9ffd
MD5 9396419aef906eabbb67bb9ff7c5e7a4
BLAKE2b-256 6116299e044cbaab068294bbe1ceb162bb5f6e6488dd577ff8e8d865aa3e7d86

See more details on using hashes here.

File details

Details for the file pokeapi_ditto-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pokeapi_ditto-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/5.15.146.1-microsoft-standard-WSL2

File hashes

Hashes for pokeapi_ditto-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0fbae3b47fab0994c3dc3083d994b3e61d01e21d429fac706642845c4532a120
MD5 3731da006c59042dadc7c748802357fa
BLAKE2b-256 cc464d3ebe840a27c983d9c6bc982afa249f819a51faac54b6bdc1ba181051d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page