Skip to main content

# Barcode Battler Engine

Set of tools to simulate Barcode Battler II functionality.

This is mainly a translation and revision from https://github.com/finalfighter/BarcodeBattler2-Simulator old flash application and info compiled from http://barcodebattler.net/ and http://barcodebattler.co.uk/

## Requirements

Currently there is no more requirements only than a Python >= 3.9 version, and you are ready to go.

## Installation

` pip install barcode-battler-engine `

## Demo

This site generates on-the-fly the card information using this package, check it out https://cards.bimbiribase.xyz/barcodebattler/ac1d5f5c-89bf-48c8-ac09-3e474a566847/

## Import the module to read your barcodes

` from barcodebattler.bb2.builder import BarcodeBattler2Builder barcode_data = BarcodeBattler2Builder().build(barcode) print(barcode_data) barcode: 0451508035504, hp: 4500, st: 1500, df: 800, speed: 5, race: 0, job: 3, pp:5, mp:0, special: 50, post_read: False `

## Reading barcodes using prompt

Test your cards using the prompt_reader.py tool

` ./prompt_reader.py Enter barcode (type exit to finish): 0371110125502 +-----------+-----------------+ | Barcode | 0371110125502 | | Race | ANIMAL | | Job | SOLDIER_2 | +-----------+-----------------+ | HP | 3700 | | ST | 1100 | | DF | 1000 | +-----------+-----------------+ | MP | 0 | | PP | 5 | | Special | 50 | +-----------+-----------------+ | Read Mode | PRE_READ | +-----------+-----------------+ `

## How to test

Install the dev dependencies

` pip install -r requirements/dev.pip `

And execute the test like

` python -m unittest `

Metadata

Release files for barcode-battler-engine 0.1.0

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

Source distribution (sdist)

Source distribution for barcode-battler-engine 0.1.0
File Size Uploaded Provenance
barcode-battler-engine-0.1.0.tar.gz 23.0 kB Without provenance Details

Release files / barcode-battler-engine-0.1.0.tar.gz

Download URL barcode-battler-engine-0.1.0.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9aa18d5470796d8288993e60ee0c6d0204ac16004a19507815bad1e4cc610a30
BLAKE2b-256 checksum
How to use checksums
24eaf2a26f6cb1c2fc22a6328bf5a9f088e867b89cdbf78be385c6514457ce88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.14

Security for barcode-battler-engine 0.1.0

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.0 This release

1 release file 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