{"id":15724651,"url":"https://github.com/ben-albrecht/environmentmodules","last_synced_at":"2025-05-13T10:28:42.996Z","repository":{"id":69985208,"uuid":"45089224","full_name":"ben-albrecht/environmentmodules","owner":"ben-albrecht","description":"Python module for Environment Modules","archived":false,"fork":false,"pushed_at":"2017-09-07T21:17:12.000Z","size":25,"stargazers_count":17,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-20T23:32:28.197Z","etag":null,"topics":["environment","environment-modules","hpc","module","modulefiles","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ben-albrecht.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":"2015-10-28T04:40:31.000Z","updated_at":"2023-10-26T16:58:34.000Z","dependencies_parsed_at":"2023-04-12T23:16:41.222Z","dependency_job_id":null,"html_url":"https://github.com/ben-albrecht/environmentmodules","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ben-albrecht%2Fenvironmentmodules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ben-albrecht%2Fenvironmentmodules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ben-albrecht%2Fenvironmentmodules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ben-albrecht%2Fenvironmentmodules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ben-albrecht","download_url":"https://codeload.github.com/ben-albrecht/environmentmodules/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253922463,"owners_count":21984721,"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":["environment","environment-modules","hpc","module","modulefiles","python"],"created_at":"2024-10-03T22:17:26.984Z","updated_at":"2025-05-13T10:28:42.976Z","avatar_url":"https://github.com/ben-albrecht.png","language":"Python","readme":"# environmentmodules\nPython interface for [Environment Modules](https://github.com/cea-hpc/modules)\n\n\n## Why?\n\nI needed to test some modulefiles, and found the builtin `python` module insufficient, so I created this as a cleaner interface with a more reasonable build process.\n\n## Example\n\n```python\nimport environmentmodules as mod\n\n# module load gcc/3.1.1\nmod.load('gcc/3.1.1')\n\nmod.switch('gcc', 'gcc/3.2.0')\n\nmod.unload('gcc')\n\nif mod.isloaded('gcc-5'):\n    print('gcc-5 loaded successfully!')\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fben-albrecht%2Fenvironmentmodules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fben-albrecht%2Fenvironmentmodules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fben-albrecht%2Fenvironmentmodules/lists"}