Skip to main content

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

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

pip install localsets

CLI Usage

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

# Get competitive sets
localsets smogon get pikachu gen9ou

Data Sources

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

Metadata

Release files for localsets 0.1.78

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for localsets 0.1.78
File Size Uploaded Provenance
localsets-0.1.78.tar.gz 1.4 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for localsets 0.1.78
File Interpreter ABI Platform
localsets-0.1.78-py3-none-any.whl Python 3 none any Details

Total release size: 3.0 MB

Release files / localsets-0.1.78.tar.gz

Download URL localsets-0.1.78.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
8c02df5f35b3c8060212a384c35131d1770048b07fe0b646d918b4477d78b4c5
BLAKE2b-256 checksum
How to use checksums
f13edf24ce68c16477f1247ebc4eb20611a21ca026aa74ce4290c667a5d3680d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / localsets-0.1.78-py3-none-any.whl

Download URL localsets-0.1.78-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a73d80274aa026a5a261b279932368b3fc8cbbe0830ac29dd2c04261c58cb63f
BLAKE2b-256 checksum
How to use checksums
a6b2f8f8b5bfbc28ff55974221191cc5a14ce43a1f8286d6950128e25a63e3aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for localsets 0.1.78

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.78 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page