{"id":22394331,"url":"https://github.com/akamai/distimate","last_synced_at":"2025-10-04T03:28:12.144Z","repository":{"id":57418594,"uuid":"271578880","full_name":"akamai/distimate","owner":"akamai","description":"Distributions visualized","archived":false,"fork":false,"pushed_at":"2020-12-21T16:31:33.000Z","size":92,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-26T08:53:05.097Z","etag":null,"topics":["cdf","distributions","histograms","matplotlib","pandas","pdf","percentile","plotting","quantile","statistics"],"latest_commit_sha":null,"homepage":"https://distimate.readthedocs.io/","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/akamai.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":"2020-06-11T15:16:02.000Z","updated_at":"2022-04-28T07:35:33.000Z","dependencies_parsed_at":"2022-09-12T12:31:31.960Z","dependency_job_id":null,"html_url":"https://github.com/akamai/distimate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/akamai/distimate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akamai%2Fdistimate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akamai%2Fdistimate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akamai%2Fdistimate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akamai%2Fdistimate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akamai","download_url":"https://codeload.github.com/akamai/distimate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akamai%2Fdistimate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262702283,"owners_count":23350634,"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":["cdf","distributions","histograms","matplotlib","pandas","pdf","percentile","plotting","quantile","statistics"],"created_at":"2024-12-05T05:09:44.546Z","updated_at":"2025-10-04T03:28:07.127Z","avatar_url":"https://github.com/akamai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Distimate - Distributions visualized\n\nDistimate approximates and plots common statistical functions from histograms.\n\nDistimate can aggregate empirical distributions of random variables.\nThe distributions are represented as histograms with user-defined bucket edges.\nThis is especially useful when working with large datasets\nthat can be aggregated to histograms at database level.\n\n```python\nimport distimate\nimport matplotlib.pyplot as plt\n\nedges = [0, 1, 2, 5, 10, 15, 20, 50]\nvalues = [291, 10, 143, 190, 155, 60, 90, 34, 27]\ndist = distimate.Distribution.from_histogram(edges, values)\n\nplt.title(f\"x̃={dist.quantile(0.5):.2f}\")\nplt.xlim(0, 50)\nplt.ylim(0, 1)\nplt.plot(dist.cdf.x, dist.cdf.y, label=\"CDF\")\nplt.plot(dist.pdf.x, dist.pdf.y, label=\"PDF\")\nplt.legend(loc=\"lower right\")\n```\n\nFeatures:\n\n* Histogram creation and merging\n* Probability density function (PDF)\n* Cumulative distribution function (CDF or ECDF)\n* Quantile (percentile) function\n* Pandas integration.\n\nDistimate is hosted at [GitHub](http://github.com/akamai/distimate) and\nit can be installed from [PyPI](https://pypi.org/project/distimate/).\n\n\n## Documentation\n\nDistimate documentation from the `docs/` directory can be read\nonline at [Read the Docs](https://distimate.readthedocs.io/).\n\n\n## License\n\n```\nCopyright 2020 Akamai Technologies, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n\n## Contributing\n\n```\nBy submitting a contribution (the “Contribution”) to this project,\nand for good and valuable consideration, the receipt and sufficiency of which\nare hereby acknowledged, you (the “Assignor”) irrevocably convey, transfer,\nand assign the Contribution to the owner of the repository (the “Assignee”),\nand the Assignee hereby accepts, all of your right, title, and interest in and\nto the Contribution along with all associated copyrights, copyright\nregistrations, and/or applications for registration and all issuances,\nextensions and renewals thereof (collectively, the “Assigned Copyrights”).\nYou also assign all of your rights of any kind whatsoever accruing under\nthe Assigned Copyrights provided by applicable law of any jurisdiction,\nby international treaties and conventions and otherwise throughout the world.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakamai%2Fdistimate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakamai%2Fdistimate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakamai%2Fdistimate/lists"}