Skip to main content

Toyota ERC (Emergency Reset Code) decoder — CLI and Python library

Project description

erc-calculator

A Python library and CLI tool for decoding Toyota ERC (Emergency Reset Code) strings into unlock codes.

Ported from alexeyfadeev/erc-calculator.

Installation

pip install erc-calculator

Or install from source:

git clone https://github.com/brysonics/erc_calculator.git
cd erc_calculator
pip install -e .

Usage

CLI

Decode a single ERC:

erc-decode 82988AE13BC3A4C0
# 73BC3F2C

Decode a batch of ERCs from a file (one per line):

erc-decode --batch ercs.txt
# 82988AE13BC3A4C0 -> 73BC3F2C
# 66EECE00F2724BA5 -> B53B763E

Python library

from erc_calculator import decode

code = decode("82988AE13BC3A4C0")
print(code)  # 73BC3F2C

Development

pip install -e ".[dev]"
pytest

License

MIT

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

erc_calculator-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

erc_calculator-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file erc_calculator-0.1.0.tar.gz.

File metadata

  • Download URL: erc_calculator-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for erc_calculator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5bf11aefbf84f259bade7a390af6cf7e1a3d42d246d7f7821ef8d7435116828f
MD5 580676a2b800aa3aad11b2d0d2de1cb8
BLAKE2b-256 295cac852d490d22a1a43333c8bf91c28fd28b7d8f5663cf3bd014f07fe913d4

See more details on using hashes here.

File details

Details for the file erc_calculator-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: erc_calculator-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for erc_calculator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28f35876fcdc8c7215b9ae8f6b5a112d8e5d0a45d961d75c8a1933564f05ee52
MD5 9651d09d560dc771bdc344578ea81ead
BLAKE2b-256 bb125fd4029765b2a98e7d60bb0574f0727152fa6e3ef2ef2b92b32fafe624c2

See more details on using hashes here.

Supported by

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