{"id":21451837,"url":"https://github.com/reity/summations-py","last_synced_at":"2025-03-17T02:42:51.513Z","repository":{"id":57472256,"uuid":"226025337","full_name":"reity/summations-py","owner":"reity","description":"Library to enumerate all natural number lists with a target sum.","archived":false,"fork":false,"pushed_at":"2019-12-05T06:36:25.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T10:51:45.493Z","etag":null,"topics":["combinations","enumeration","exhaustive-search","mathematics","python-library"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/summations","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/reity.png","metadata":{"files":{"readme":"README.rst","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":"2019-12-05T05:44:41.000Z","updated_at":"2019-12-05T06:36:27.000Z","dependencies_parsed_at":"2022-08-30T14:31:12.991Z","dependency_job_id":null,"html_url":"https://github.com/reity/summations-py","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/reity%2Fsummations-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reity%2Fsummations-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reity%2Fsummations-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reity%2Fsummations-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reity","download_url":"https://codeload.github.com/reity/summations-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243964721,"owners_count":20375821,"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":["combinations","enumeration","exhaustive-search","mathematics","python-library"],"created_at":"2024-11-23T04:26:21.181Z","updated_at":"2025-03-17T02:42:51.491Z","avatar_url":"https://github.com/reity.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==========\nsummations\n==========\nLibrary to enumerate all natural number lists with a target sum.\n\n.. image:: https://badge.fury.io/py/summations.svg\n   :target: https://badge.fury.io/py/summations\n   :alt: PyPI version and link.\n\nPurpose\n-------\nThis library allows programmers to create a generator for all the lists of natural numbers that add up to a target sum.\n\nPackage Installation and Usage\n------------------------------\nThe package is available on PyPI::\n\n    python -m pip install summations\n\nThe library can be imported in the usual way::\n\n    import summations\n    from summations import summations\n\nTesting\n-------\n\nThe library comes with a number of tests::\n\n    nosetests\n\nExamples\n--------\nAn example of usage is provided  below::\n\n    \u003e\u003e\u003e from summations import summations\n    \u003e\u003e\u003e sorted(list(sum_len(5, 3)))\n    [(0, 0, 5), (0, 1, 4), (0, 2, 3), (0, 3, 2), (0, 4, 1), (0, 5, 0),\n     (1, 0, 4), (1, 1, 3), (1, 2, 2), (1, 3, 1), (1, 4, 0), (2, 0, 3),\n     (2, 1, 2), (2, 2, 1), (2, 3, 0), (3, 0, 2), (3, 1, 1), (3, 2, 0),\n     (4, 0, 1), (4, 1, 0), (5, 0, 0)]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freity%2Fsummations-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freity%2Fsummations-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freity%2Fsummations-py/lists"}