{"id":20238023,"url":"https://github.com/basilfx/lpc_checksum","last_synced_at":"2025-04-10T19:13:03.473Z","repository":{"id":11459734,"uuid":"13922963","full_name":"basilfx/lpc_checksum","owner":"basilfx","description":"Python script to calculate LPC firmware checksums.","archived":false,"fork":false,"pushed_at":"2023-06-26T10:01:03.000Z","size":101,"stargazers_count":8,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T16:55:21.481Z","etag":null,"topics":["embedded","lpc","microcontroller","nxp","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/basilfx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-10-28T10:37:49.000Z","updated_at":"2022-11-13T15:33:53.000Z","dependencies_parsed_at":"2024-06-20T19:02:33.846Z","dependency_job_id":null,"html_url":"https://github.com/basilfx/lpc_checksum","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilfx%2Flpc_checksum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilfx%2Flpc_checksum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilfx%2Flpc_checksum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilfx%2Flpc_checksum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basilfx","download_url":"https://codeload.github.com/basilfx/lpc_checksum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247953107,"owners_count":21023947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["embedded","lpc","microcontroller","nxp","python"],"created_at":"2024-11-14T08:30:20.308Z","updated_at":"2025-04-10T19:13:03.449Z","avatar_url":"https://github.com/basilfx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lpc_checksum\nPython script to calculate LPC firmware checksums, based on the C version by\nRoel Verdult. It can be used as a standalone application, or as a Python module\nthat integrates directly in a build environment (e.g. SCons). It does not need\nto be compiled.\n\n[![Linting](https://github.com/basilfx/lpc_checksum/actions/workflows/lint.yml/badge.svg)](https://github.com/basilfx/lpc_checksum/actions/workflows/lint.yml)\n[![Testing](https://github.com/basilfx/lpc_checksum/actions/workflows/test.yml/badge.svg)](https://github.com/basilfx/lpc_checksum/actions/workflows/test.yml)\n[![PyPI version](https://badge.fury.io/py/lpc-checksum.svg)](https://badge.fury.io/py/lpc-checksum)\n\n## Requirements\nThe only requirement is Python 3.9 or newer.\n\n## Installation\nThis module can be installed from Pypi via `pip install lpc_checksum`.\n\nAlternatively, you can install the latest version by cloning this repository\nand run `python setup.py install`.\n\n## Usage\nThere are two ways of using `lpc_checksum`.\n\n### Standalone\nWhen installed via Pip or from source, the command `lpc_checksum` should be\navailable on your PATH. By default, it assumes the input file is a binary file.\n\n`lpc_checksum \u003cfirmware.bin|hex\u003e [--format=bin] [--read-only]`\n\nProgram exits with a non-zero error code when it failed.\n\n### As a module\n```\nimport lpc_checksum\n\nchecksum = lpc_checksum.checksum(input_file, [read_only=True])\n```\n\nOn error, an exception will be raised.\n\n## Tests\nTo run the tests, please clone this repository and run `poetry run pytest`.\n\n## Contributing\nSee the [`CONTRIBUTING.md`](CONTRIBUTING.md) file.\n\n## License\nSee the [`LICENSE.md`](LICENSE.md) file (MIT license).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasilfx%2Flpc_checksum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasilfx%2Flpc_checksum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasilfx%2Flpc_checksum/lists"}