{"id":17947115,"url":"https://github.com/hamolicious/labhub","last_synced_at":"2026-04-16T19:39:52.804Z","repository":{"id":259798310,"uuid":"879456726","full_name":"hamolicious/labhub","owner":"hamolicious","description":"Seamlessly work with with Github, Gitlab and self-hosted Gitlab repositories using one interface","archived":false,"fork":false,"pushed_at":"2024-10-28T00:28:03.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-23T10:46:52.997Z","etag":null,"topics":["github","gitlab","python","read-only","wrapper"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/labhub/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hamolicious.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-10-27T23:58:45.000Z","updated_at":"2024-10-28T00:28:07.000Z","dependencies_parsed_at":"2024-10-28T03:36:58.030Z","dependency_job_id":"2f671e65-ee41-4b7c-a084-a0281dac0eae","html_url":"https://github.com/hamolicious/labhub","commit_stats":null,"previous_names":["hamolicious/labhub"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamolicious%2Flabhub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamolicious%2Flabhub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamolicious%2Flabhub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamolicious%2Flabhub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamolicious","download_url":"https://codeload.github.com/hamolicious/labhub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229994258,"owners_count":18156615,"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":["github","gitlab","python","read-only","wrapper"],"created_at":"2024-10-29T08:00:26.024Z","updated_at":"2026-04-16T19:39:52.729Z","avatar_url":"https://github.com/hamolicious.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub Repo stars](https://img.shields.io/github/stars/hamolicious/labhub?style=flat-square\u0026label=Github%20Stars)](https://github.com/hamolicious/labhub)\n[![PyPI - Version](https://img.shields.io/pypi/v/labhub?style=flat-square)](https://pypi.org/project/labhub/)\n\n# labhub\n\nSeamlessly work with with Github, Gitlab and self-hosted Gitlab repositories using one interface.\n\n\u003e Currently supports read-only operations.\n\n## Install\n\n```bash\npip install labhub\n```\n\n## Useage\n\n```python\n# import repos and types\nfrom labhub  import GitHubRepo, GitLabRepo, Directory, File\n\n# Create repo objects\ngh = GitHubRepo(\"hamolicious/test-repo\", github_token, ref=ref)\ngl = GitLabRepo(53, gitlab_token, host=\"https://gitlab.selfhosted.byme\", ref=ref)\n\n# list files in repo\nfiles: list[Directory | File] = gh.ls(path)\n\n# file operations\nf_or_d = gh.ls()[0]\nf_or_d.name # base name 'README.md'\nf_or_d.path # file and path 'a/b/c'\n\nf.get_data() # bytes\nd.contents # list[File | Directory]\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamolicious%2Flabhub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamolicious%2Flabhub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamolicious%2Flabhub/lists"}