Metadata-Version: 2.4
Name: localdex
Version: 0.3.3
Summary: A local Pokemon data repository/Pokedex with fast offline access
Author-email: LocalDex Team <localdex@example.com>
License: MIT
Project-URL: Homepage, https://github.com/colefoster/localdex
Project-URL: Documentation, https://localdex.readthedocs.io/
Project-URL: Repository, https://github.com/colefoster/localdex
Project-URL: Bug Tracker, https://github.com/colefoster/localdex/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: typing-extensions
Provides-Extra: core
Provides-Extra: gen1
Provides-Extra: gen2
Provides-Extra: gen3
Provides-Extra: gen4
Provides-Extra: gen5
Provides-Extra: gen6
Provides-Extra: gen7
Provides-Extra: gen8
Provides-Extra: gen9
Provides-Extra: learnsets
Provides-Extra: items
Provides-Extra: abilities
Provides-Extra: full
Requires-Dist: localdex[abilities,gen1,gen2,gen3,gen4,gen5,gen6,gen7,gen8,gen9,items,learnsets]; extra == "full"
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: pytest-mock>=3.10.0; extra == "dev"
Requires-Dist: black>=22.0.0; extra == "dev"
Requires-Dist: isort>=5.0.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Requires-Dist: flake8>=5.0.0; extra == "dev"
Dynamic: license-file

# LocalDex

A local Pokemon data repository/Pokedex with fast offline access.

## Features

- Fast offline access to Pokemon data
- Comprehensive Pokemon information including stats, moves, abilities, and items
- Support for all Pokemon generations
- Easy-to-use Python API
- Command-line interface
- Extensible data loading system

## Installation

```bash
pip install localdex
```

For development installation:
```bash
pip install -e .
```

## Quick Start

```python
from localdex import LocalDex

# Initialize the Pokedex
dex = LocalDex()

# Get Pokemon by name
pikachu = dex.get_pokemon("Pikachu")
print(f"Pikachu's HP: {pikachu.base_stats.hp}")

# Get Pokemon by ID
charizard = dex.get_pokemon_by_id(6)
print(f"Charizard's type: {charizard.types}")

# Get move information
thunderbolt = dex.get_move("Thunderbolt")
print(f"Thunderbolt power: {thunderbolt.power}")
```

## Command Line Usage

```bash
# Get Pokemon information
localdex pokemon pikachu

# Get move information
localdex move thunderbolt

# Get ability information
localdex ability levitate

# Get item information
localdex item leftovers
```

## Development

### Running Tests

```bash
pytest
```

### Code Formatting

```bash
black localdex/
isort localdex/
```

### Type Checking

```bash
mypy localdex/
```

## License

MIT License - see LICENSE file for details. 
