{"id":13648285,"url":"https://github.com/eIDuy/apdu-parser","last_synced_at":"2025-04-22T07:31:02.077Z","repository":{"id":176300813,"uuid":"66565745","full_name":"eIDuy/apdu-parser","owner":"eIDuy","description":"Parse APDU hex bytes into descriptions.","archived":false,"fork":false,"pushed_at":"2018-05-24T12:05:12.000Z","size":12,"stargazers_count":26,"open_issues_count":0,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-09T22:38:46.340Z","etag":null,"topics":["apdu","apdu-command","apdu-parser","apdu-response","parser"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eIDuy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-08-25T14:36:22.000Z","updated_at":"2024-01-15T06:04:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"d43774e3-3a24-472a-929f-a49581f90226","html_url":"https://github.com/eIDuy/apdu-parser","commit_stats":null,"previous_names":["eiduy/apdu-parser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eIDuy%2Fapdu-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eIDuy%2Fapdu-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eIDuy%2Fapdu-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eIDuy%2Fapdu-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eIDuy","download_url":"https://codeload.github.com/eIDuy/apdu-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250195033,"owners_count":21390230,"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":["apdu","apdu-command","apdu-parser","apdu-response","parser"],"created_at":"2024-08-02T01:04:06.718Z","updated_at":"2025-04-22T07:31:01.788Z","avatar_url":"https://github.com/eIDuy.png","language":"Python","readme":"# apdu-parser\n\nAPDU-parser lets you parse your APDU commands' and APDU responses' hex bytes into their descriptions.\nProject includes default APDU commands and APDU responses default lists with descriptions.\n\n## Usage\n\n```sh\npython apdu_parser.py -i \u003cinput_file\u003e\n\nOptions:\n  -h, --help  show this help message and exit\n  \n  -i INPUT_FILE, --input=INPUT_FILE specify input file\n  \n  -o OUTPUT_FILE, --output=OUTPUT_FILE  specify output file\n  \n  -c, --commands  specify if input file contains only APDU commands\n  \n  -r, --responses specify if input file contains only APDU responses\n  \n  -C COMMAND_DESCRIPTIONS, --command-descriptions=COMMAND_DESCRIPTIONS  specify custom command descriptions file\n  \n  -R RESPONSE_DESCRIPTIONS, --response-descriptions=RESPONSE_DESCRIPTIONS specify custom response descriptions file\n  \n  -T, --colors\tshow terminal output in different colors\n```\n  \n# Examples\n\nBasic usage:\n\n```sh\npython apdu_parser.py -i sample_files/default_log.txt\n```\n\nSet output file:\n\n```sh\npython apdu_parser.py -i sample_files/default_log.txt -o outputs/default_log_output.txt\n```\n\nParse every line in input file as an APDU command:\n\n```sh\npython apdu_parser.py -i sample_files/commands_log.txt -c\n```\n\nParse every line in input file as an APDU response:\n\n```sh\npython apdu_parser.py -i sample_files/responses_log.txt -r\n```\n\nSet custom command descriptions file:\n\n```sh\npython apdu_parser.py -i sample_files/default_log.txt -C sample_files/custom_command_descriptions.txt\n```\n\nSet custom command responses file:\n\n```sh\npython apdu_parser.py -i sample_files/default_log.txt -R sample_files/custom_responses_descriptions.txt\n```\n\nShow output results in different colors in terminal (works only on Linux / MacOS):\n\n```sh\npython apdu_parser.py -i sample_files/default_log.txt -T\n```\n\n## Requirements\n\nTo properly run the apdu-parser, [Python](http://www.python.org/download/) **2.6.x** or **2.7.x** is required.","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FeIDuy%2Fapdu-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FeIDuy%2Fapdu-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FeIDuy%2Fapdu-parser/lists"}