{"id":34751356,"url":"https://github.com/richwalm/nzarttrainer","last_synced_at":"2025-12-25T05:19:22.259Z","repository":{"id":88998984,"uuid":"178509137","full_name":"richwalm/nzarttrainer","owner":"richwalm","description":"A web application simulating an NZART Exam for use in obtaining an New Zealand Amateur Radio License.","archived":false,"fork":false,"pushed_at":"2025-03-31T11:57:14.000Z","size":222,"stargazers_count":7,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T12:36:10.771Z","etag":null,"topics":["exam","flask","ham-radio","librejs","librejs-compliant","nzart","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richwalm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2019-03-30T04:00:27.000Z","updated_at":"2025-03-31T11:57:18.000Z","dependencies_parsed_at":"2024-07-09T11:43:53.111Z","dependency_job_id":"72e811ed-4e79-409c-885e-ab4a5ce47f2e","html_url":"https://github.com/richwalm/nzarttrainer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/richwalm/nzarttrainer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richwalm%2Fnzarttrainer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richwalm%2Fnzarttrainer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richwalm%2Fnzarttrainer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richwalm%2Fnzarttrainer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richwalm","download_url":"https://codeload.github.com/richwalm/nzarttrainer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richwalm%2Fnzarttrainer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28020366,"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","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["exam","flask","ham-radio","librejs","librejs-compliant","nzart","python","python3"],"created_at":"2025-12-25T05:19:21.575Z","updated_at":"2025-12-25T05:19:22.250Z","avatar_url":"https://github.com/richwalm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NZART Exam Trainer\nA web application simulating an NZART Exam for use in obtaining an New Zealand Amateur Radio License.\nNot affiliated with [New Zealand Association of Radio Transmitters](https://www.nzart.org.nz/) in any way.\n\n**A live website can be found at; [https://nzarttrainer.m1m0n.net](https://nzarttrainer.m1m0n.net)**\nThanks to Sasha Japaridze (ZL1JX) for providing hosting.\n\nWritten in [Flask](http://flask.pocoo.org/) for [Python 3](https://www.python.org/).\n\n## Updating the Exam Files\nUnder the [exam_file_tools](exam_file_tools) directory, there's a number of Python scripts used to update the questions in the event of new versions. A version is already included within the distribution.\n\nFrom the [NZART Amateur Radio Examination Files download page](https://www.nzart.org.nz/exam/download-examination-files/), download the latest version and extract the **PARAMS** and **N\\*.TXT** from it. On case-sensitive systems, such as Mac OS X \u0026 Linux, please ensure that their filenames including extensions are fully uppercase. Then use the [exam_file_tools/questions_to_json.py](exam_file_tools/questions_to_json.py) script to convert these files to a JSON format, used by the trainer. A search and replace is done on the output to point the images to their PNG copies.\n\nUse the [exam_file_tools/json_get_answers.py](exam_file_tools/json_get_answers.py) script to generate a list of answers which is to be included in [s/exam.js](s/exam.js) for real-time grading use.\n\nThe [exam_file_tools/json_to_flat_text.py](exam_file_tools/json_to_flat_text.py) script can be used to generate an [Anki](https://apps.ankiweb.net/) deck. The output will need manual adjustment as there's a duplicate question.\n\n## Copyright/License\nWritten by Richard Walmsley \u003crichwalm+nzarttrainer@gmail.com\u003e (ZL1RSW) and is released under the [ISC License](https://www.isc.org/downloads/software-support-policy/isc-license/). Please see the included [LICENSE.txt](LICENSE.txt) for the full text.\n\nThe NZART Exam Questions Bank, used in [questions.json](questions.json), and its respective diagrams are released into the public domain.\n\nThe [background image](s/bg.jpg) is copyright [Greg \"gvgoebel\" Goebel 2012 CC BY-SA 2.0](https://flic.kr/p/ibcYNB).\n\nThe [GitHub Corner](https://github.com/tholman/github-corners) is produced by Tim Holman, released under the [MIT License](https://github.com/tholman/github-corners/blob/master/license.md).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichwalm%2Fnzarttrainer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichwalm%2Fnzarttrainer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichwalm%2Fnzarttrainer/lists"}