{"id":18918658,"url":"https://github.com/sparkmeter/py-nerves-hub-client","last_synced_at":"2026-03-12T08:30:19.731Z","repository":{"id":37926878,"uuid":"455296433","full_name":"sparkmeter/py-nerves-hub-client","owner":"sparkmeter","description":"Python client for NervesHub user API","archived":false,"fork":false,"pushed_at":"2023-03-07T00:02:14.000Z","size":230,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T15:52:59.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sparkmeter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-02-03T19:15:31.000Z","updated_at":"2022-02-03T19:29:51.000Z","dependencies_parsed_at":"2024-11-08T10:48:36.500Z","dependency_job_id":null,"html_url":"https://github.com/sparkmeter/py-nerves-hub-client","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkmeter%2Fpy-nerves-hub-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkmeter%2Fpy-nerves-hub-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkmeter%2Fpy-nerves-hub-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkmeter%2Fpy-nerves-hub-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparkmeter","download_url":"https://codeload.github.com/sparkmeter/py-nerves-hub-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239914928,"owners_count":19717760,"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":[],"created_at":"2024-11-08T10:33:01.593Z","updated_at":"2026-03-12T08:30:19.658Z","avatar_url":"https://github.com/sparkmeter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python client for NervesHub\n\nA thin wrapper around the NervesHub User API\n\nSee https://github.com/nerves-hub/nerves_hub_user_api for more details.\n\n## Usage\n\nSet up your environment\n\n```bash\nexport NERVES_HUB_ORG=\"MY ORG\"\nexport NERVES_HUB_PRODUCT=\"MY PRODUCT\"\nexport NERVES_HUB_CERT=\"MY USER CERT\"\nexport NERVES_HUB_KEY=\"MY USER KEY\"\n\n# If using a self-hosted NervesHub instance (optional)\nexport NERVES_HUB_BASE_URL=\"https://my-nerveshub-domain\"\nexport NERVES_HUB_CA_CERT=\"MY CA CERT\"\n```\n\n```python\nfrom nerves_hub_client import NervesHubAPI\napi = NervesHubAPI.from_env()\napi.device_list()\n```\n\n## Development\n\n```bash\n# Ensure linting passes before committing\npoetry run pre-commit install\n```\n\n### Testing\n\n```bash\npoetry run pytest --mypy\n```\n\n### Manual lint\n\nLinting is run before each commit if you have the pre-commit installed, but\nyou can run it manually with the following command.\n\n```bash\npoetry run pre-commit run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkmeter%2Fpy-nerves-hub-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparkmeter%2Fpy-nerves-hub-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkmeter%2Fpy-nerves-hub-client/lists"}