{"id":46084115,"url":"https://github.com/ctoth/pygmc","last_synced_at":"2026-03-01T16:17:43.683Z","repository":{"id":137520522,"uuid":"455997562","full_name":"ctoth/pygmc","owner":"ctoth","description":"Python library to communicate with GQ Electronics GMC Geiger Counters","archived":false,"fork":false,"pushed_at":"2024-03-24T23:41:34.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T18:27:40.058Z","etag":null,"topics":["geiger","radiation"],"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/ctoth.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}},"created_at":"2022-02-05T22:10:24.000Z","updated_at":"2024-01-28T03:37:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"a9073a51-ec47-4d0b-97a7-822a9e2d79fc","html_url":"https://github.com/ctoth/pygmc","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"ad2d2b04d89acaeff5af4c1964a2c7b6735ea617"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ctoth/pygmc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctoth%2Fpygmc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctoth%2Fpygmc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctoth%2Fpygmc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctoth%2Fpygmc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctoth","download_url":"https://codeload.github.com/ctoth/pygmc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctoth%2Fpygmc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29974707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T15:41:30.362Z","status":"ssl_error","status_checked_at":"2026-03-01T15:37:07.343Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["geiger","radiation"],"created_at":"2026-03-01T16:17:43.099Z","updated_at":"2026-03-01T16:17:43.668Z","avatar_url":"https://github.com/ctoth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyGMC\n\nPyGMC is a Python library for interfacing with the GQ Electronics GMC 500, 500+, 600, and 600+ Geiger-Muller Counters using the device's custom protocol. It implements all documented commands and provides an easy-to-use interface for accessing and updating the device configuration.\n\n## Installation\n```bash\npip install pygmc\n```\n\n## Usage\n```python\nfrom pygmc import GMCConnection, GMCGeigerCounter\n\n# Establish a connection\nconnection = GMCConnection(port='COM4')\n\n# Create a Geiger counter instance\ngeiger = GMCGeigerCounter(connection=connection)\n\n# Fetch the current CPM (Counts Per Minute)\ncpm = geiger.get_CPM()\n\n# Print the CPM\nprint(cpm)\n```\n\n## Documentation\nDetailed documentation for each method is provided in the source code itself. The following are a few key methods and what they do:\n\n* `GMCGeigerCounter.get_CPM()`: Fetches the current CPM (Counts Per Minute) from the device.\n* `GMCGeigerCounter.get_battery_voltage()`: Fetches the battery voltage from the device.\n* `GMCGeigerCounter.get_config()`: Fetches the current device configuration.\n* `GMCGeigerCounter.set_config(config)`: Sets the device configuration. The `config` parameter should be a dictionary matching the structure defined in the `config_format` constant.\n* `GMCGeigerCounter.reboot()`: Reboots the device.\n* `GMCGeigerCounter.factory_reset()`: Resets the device to factory settings.\n\nYou can find the complete list of methods and their description in the `GMCGeigerCounter` class in the code.\n\n## Contributing\nWe welcome contributions from the community! If you have suggestions for improvements, please open an issue to discuss your ideas or feel free to submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctoth%2Fpygmc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctoth%2Fpygmc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctoth%2Fpygmc/lists"}