localsets


Namelocalsets JSON
Version 0.1.24 PyPI version JSON
download
home_pageNone
SummaryLocal Pokemon random battle sets (auto-updating) and Smogon competitive sets
upload_time2025-07-14 21:20:35
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords pokemon battle data random showdown smogon competitive
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # localsets

**Fully offline Pokémon battle data. All data is bundled with the package and never downloaded at install or runtime. Updates are handled automatically by GitHub Actions and published with each new release.**

Offline Pokemon battle data with auto-updates from official sources.

## What it does

- **Random Battle Data**: Access Pokemon Showdown's RandBats data offline
- **Competitive Sets**: Get Smogon competitive Pokemon sets
- **Auto-Updates**: Automatically syncs with official repositories every 24 hours (via CI, not by end user)
- **Multiple Formats**: Supports all generations (Gen 1-9) and battle formats

## Quick Start

```python
from localsets import PokemonData

data = PokemonData(
    randbats_formats=['gen9randombattle'],
    smogon_formats=['gen9ou']
)

pikachu = data.get_randbats('pikachu', 'gen9randombattle')
sets = data.get_smogon_sets('pikachu', 'gen9ou')
```

## Installation

```bash
pip install localsets
```

## CLI Usage

```bash
# Get random battle Pokemon
localsets randbats get pikachu --format gen9randombattle

# Get competitive sets
localsets smogon get pikachu gen9ou
```

## Data Sources

- **RandBats**: [pkmn/randbats](https://github.com/pkmn/randbats) - Pokemon Showdown random battle data
- **Smogon**: [smogon/pokemon-showdown](https://github.com/smogon/pokemon-showdown) - Competitive Pokemon sets

## Features

- Offline-first with bundled data
- Automatic updates via GitHub Actions (not by end user)
- Support for all Pokemon generations
- Both random battle and competitive formats
- Simple Python API and CLI interface
- Graceful fallbacks and error handling 

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "localsets",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "pokemon, battle, data, random, showdown, smogon, competitive",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/62/d1/64ac6075ef311f976be217255c2bfe002f7280319411b0811e8f53c9d9a3/localsets-0.1.24.tar.gz",
    "platform": null,
    "description": "# localsets\n\n**Fully offline Pok\u00e9mon battle data. All data is bundled with the package and never downloaded at install or runtime. Updates are handled automatically by GitHub Actions and published with each new release.**\n\nOffline Pokemon battle data with auto-updates from official sources.\n\n## What it does\n\n- **Random Battle Data**: Access Pokemon Showdown's RandBats data offline\n- **Competitive Sets**: Get Smogon competitive Pokemon sets\n- **Auto-Updates**: Automatically syncs with official repositories every 24 hours (via CI, not by end user)\n- **Multiple Formats**: Supports all generations (Gen 1-9) and battle formats\n\n## Quick Start\n\n```python\nfrom localsets import PokemonData\n\ndata = PokemonData(\n    randbats_formats=['gen9randombattle'],\n    smogon_formats=['gen9ou']\n)\n\npikachu = data.get_randbats('pikachu', 'gen9randombattle')\nsets = data.get_smogon_sets('pikachu', 'gen9ou')\n```\n\n## Installation\n\n```bash\npip install localsets\n```\n\n## CLI Usage\n\n```bash\n# Get random battle Pokemon\nlocalsets randbats get pikachu --format gen9randombattle\n\n# Get competitive sets\nlocalsets smogon get pikachu gen9ou\n```\n\n## Data Sources\n\n- **RandBats**: [pkmn/randbats](https://github.com/pkmn/randbats) - Pokemon Showdown random battle data\n- **Smogon**: [smogon/pokemon-showdown](https://github.com/smogon/pokemon-showdown) - Competitive Pokemon sets\n\n## Features\n\n- Offline-first with bundled data\n- Automatic updates via GitHub Actions (not by end user)\n- Support for all Pokemon generations\n- Both random battle and competitive formats\n- Simple Python API and CLI interface\n- Graceful fallbacks and error handling \n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Local Pokemon random battle sets (auto-updating) and Smogon competitive sets",
    "version": "0.1.24",
    "project_urls": {
        "Documentation": "https://github.com/colefoster/localsets#readme",
        "Homepage": "https://github.com/colefoster/localsets",
        "Repository": "https://github.com/colefoster/localsets"
    },
    "split_keywords": [
        "pokemon",
        " battle",
        " data",
        " random",
        " showdown",
        " smogon",
        " competitive"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "5f7f7cf43a835880093f5e154603630568fdd8a27d50b35473aadffce21642ad",
                "md5": "afcb657ceb40dae51774a8cd3db52804",
                "sha256": "21f5ed4c66dedc7ed8636981a5634d9311de747171bbddacd2ff794469e492c8"
            },
            "downloads": -1,
            "filename": "localsets-0.1.24-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "afcb657ceb40dae51774a8cd3db52804",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 1505841,
            "upload_time": "2025-07-14T21:20:33",
            "upload_time_iso_8601": "2025-07-14T21:20:33.952584Z",
            "url": "https://files.pythonhosted.org/packages/5f/7f/7cf43a835880093f5e154603630568fdd8a27d50b35473aadffce21642ad/localsets-0.1.24-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "62d164ac6075ef311f976be217255c2bfe002f7280319411b0811e8f53c9d9a3",
                "md5": "01565bd774e14851a8d07220e26b9361",
                "sha256": "d7810c09090fe48733561cec0e8b6eedb1d2e5289998963bab2e85ee690de65c"
            },
            "downloads": -1,
            "filename": "localsets-0.1.24.tar.gz",
            "has_sig": false,
            "md5_digest": "01565bd774e14851a8d07220e26b9361",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 1331667,
            "upload_time": "2025-07-14T21:20:35",
            "upload_time_iso_8601": "2025-07-14T21:20:35.589015Z",
            "url": "https://files.pythonhosted.org/packages/62/d1/64ac6075ef311f976be217255c2bfe002f7280319411b0811e8f53c9d9a3/localsets-0.1.24.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-14 21:20:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "colefoster",
    "github_project": "localsets#readme",
    "github_not_found": true,
    "lcname": "localsets"
}
        
Elapsed time: 1.05684s