{"id":17861140,"url":"https://github.com/jonathanstowe/unix-groups","last_synced_at":"2025-04-02T20:47:01.479Z","repository":{"id":54336399,"uuid":"45129793","full_name":"jonathanstowe/Unix-Groups","owner":"jonathanstowe","description":"Access to the Unix group file in Raku","archived":false,"fork":false,"pushed_at":"2023-07-02T08:08:54.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-07-02T09:23:16.648Z","etag":null,"topics":["group","permissions","raku","unix"],"latest_commit_sha":null,"homepage":"","language":"Raku","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonathanstowe.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-28T17:25:48.000Z","updated_at":"2023-07-02T09:23:16.648Z","dependencies_parsed_at":"2024-10-28T09:05:46.101Z","dependency_job_id":"4c3bfa7f-c07e-4cc1-aa27-309afc9161f2","html_url":"https://github.com/jonathanstowe/Unix-Groups","commit_stats":null,"previous_names":[],"tags_count":7,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FUnix-Groups","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FUnix-Groups/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FUnix-Groups/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FUnix-Groups/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanstowe","download_url":"https://codeload.github.com/jonathanstowe/Unix-Groups/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246892791,"owners_count":20850846,"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":["group","permissions","raku","unix"],"created_at":"2024-10-28T08:43:01.909Z","updated_at":"2025-04-02T20:47:01.353Z","avatar_url":"https://github.com/jonathanstowe.png","language":"Raku","readme":"# Unix::Groups\n\nAccess to the Unix group file in Raku\n\n![Build Status](https://github.com/jonathanstowe/Unix-Groups/workflows/CI/badge.svg)\n\n## Synopsis\n\n```raku\nuse Unix::Groups;\n\nmy $groups = Unix::Groups.new;\n\nsay \"The logged in user is member of these groups:\";\n\nfor $groups.groups-for-user($*USER.Str) -\u003e $group {\n\tsay $group.name;\n}\n```\n\n## Description\n\nThis module provides access to the group details from ```/etc/group```,\nwith similar to ```getgrent()```, ```getgrnam``` and ```getgrgid```\nin the Unix standard C library.\n\nThe methods either return a Unix::Groups::Group object or an array of\nthose objects.\n\nBecause this module goes directly to the group file, if your system is\nconfigured to retrieve its group information from e.g. NIS or LDAP it\nmay not necessarily reflect all the groups present, just the local ones.\n\n## Installation\n\nAssuming you have a working Rakudo installation you should be able to install this with *zef* :\n\n    # From the source directory\n   \n    zef install .\n\n    # Remote installation\n\n    zef install User::Groups\n\n## Support\n\nSuggestions/patches are welcomed via github at https://github.com/jonathanstowe/User-Groups/issues\n\n## Licence\n\nThis is free software.\n\nPlease see the [LICENCE](LICENCE) file in the distribution\n\n© Jonathan Stowe 2015 - 2021\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanstowe%2Funix-groups","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanstowe%2Funix-groups","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanstowe%2Funix-groups/lists"}