{"id":15798596,"url":"https://github.com/chanced/powerset","last_synced_at":"2025-03-31T20:13:03.876Z","repository":{"id":57693337,"uuid":"484790419","full_name":"chanced/powerset","owner":"chanced","description":"Generic powerset algorithm for go","archived":false,"fork":false,"pushed_at":"2022-04-23T16:56:19.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-06T00:42:40.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/chanced.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}},"created_at":"2022-04-23T15:51:41.000Z","updated_at":"2022-04-23T16:56:10.000Z","dependencies_parsed_at":"2022-09-26T21:01:13.638Z","dependency_job_id":null,"html_url":"https://github.com/chanced/powerset","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanced%2Fpowerset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanced%2Fpowerset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanced%2Fpowerset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanced%2Fpowerset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chanced","download_url":"https://codeload.github.com/chanced/powerset/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246531975,"owners_count":20792736,"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-10-05T00:42:42.844Z","updated_at":"2025-03-31T20:13:03.850Z","avatar_url":"https://github.com/chanced.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# powerset\n\nGeneric [powerset](https://en.wikipedia.org/wiki/Power_set) algorithm for go\n\n## Install\n\n```bash\ngo get github.com/chanced/powerset\n```\n\n## Usage\n\n```go\npackage main\n\nfunc main() {\n\n    fmt.Println(powerset.Compute([]string{\"a\", \"b\", \"c\"}))\n    // output: [[] [a] [b] [a b] [c] [a c] [b c] [a b c]]\n\n    fmt.Println(powerset.Compute([]int{1, 2, 3}))\n    // output: [[] [1] [2] [1 2] [3] [1 3] [2 3] [1 2 3]]\n}\n```\n\n## Contributions\n\nContributions of any kind are always welcome. If there's a problem or there is a\nway to improve this algorithm, please feel free to open an issue or pull\nrequest.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanced%2Fpowerset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanced%2Fpowerset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanced%2Fpowerset/lists"}