{"id":16200199,"url":"https://github.com/jss95/curvesimplify","last_synced_at":"2026-02-08T11:01:36.357Z","repository":{"id":255115703,"uuid":"848586504","full_name":"JSS95/curvesimplify","owner":"JSS95","description":"Python package for polyline simplification","archived":false,"fork":false,"pushed_at":"2024-08-30T00:22:57.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T04:55:12.374Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://curvesimplify.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JSS95.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-08-28T03:13:21.000Z","updated_at":"2024-08-30T00:13:22.000Z","dependencies_parsed_at":"2024-10-27T20:18:38.439Z","dependency_job_id":"241a30cd-1de6-4b4b-82ea-acbb770da6c2","html_url":"https://github.com/JSS95/curvesimplify","commit_stats":null,"previous_names":["jss95/curvesimp","jss95/curvesimplify"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/JSS95/curvesimplify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JSS95%2Fcurvesimplify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JSS95%2Fcurvesimplify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JSS95%2Fcurvesimplify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JSS95%2Fcurvesimplify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JSS95","download_url":"https://codeload.github.com/JSS95/curvesimplify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JSS95%2Fcurvesimplify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29228539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T09:43:19.170Z","status":"ssl_error","status_checked_at":"2026-02-08T09:42:55.556Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10T09:29:31.291Z","updated_at":"2026-02-08T11:01:36.339Z","avatar_url":"https://github.com/JSS95.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CurveSimplify\n\n[![License](https://img.shields.io/github/license/JSS95/curvesimplify)](https://github.com/JSS95/curvesimplify/blob/master/LICENSE)\n[![CI](https://github.com/JSS95/curvesimplify/actions/workflows/ci.yml/badge.svg)](https://github.com/JSS95/curvesimplify/actions/workflows/ci.yml)\n[![CD](https://github.com/JSS95/curvesimplify/actions/workflows/cd.yml/badge.svg)](https://github.com/JSS95/curvesimplify/actions/workflows/cd.yml)\n[![Docs](https://readthedocs.org/projects/curvesimplify/badge/?version=latest)](https://curvesimplify.readthedocs.io/en/latest/?badge=latest)\n[![Supported Python Versions](https://img.shields.io/pypi/pyversions/curvesimplify.svg)](https://pypi.python.org/pypi/curvesimplify/)\n[![PyPI Version](https://img.shields.io/pypi/v/curvesimplify.svg)](https://pypi.python.org/pypi/curvesimplify/)\n\n![title](https://curvesimplify.readthedocs.io/en/latest/_images/plot-header.png)\n\nA Python package for polygonal curve simplification.\n\nList of supported algorithms:\n- Imai-Iri algorithm (`curvesimplify.imaiiri`)\n- Agarwal's algorithm (`curvesimplify.agarwal`)\n\n## Usage\n\n```python\n\u003e\u003e\u003e import numpy as np\n\u003e\u003e\u003e from curvesimplify.agarwal import min_err\n\u003e\u003e\u003e x = np.linspace(0, 5, 50)\n\u003e\u003e\u003e f = np.exp(-x) * np.cos(2 * np.pi * x)\n\u003e\u003e\u003e curve = np.column_stack([x, f])\n\u003e\u003e\u003e simp, err = min_err(curve, 10)\n\u003e\u003e\u003e len(simp)  # at most 10\n10\n```\n\n## Installation\n\nCurveSimplify can be installed using `pip`.\n\n```\n$ pip install curvesimplify\n```\n\n## Documentation\n\nCurveSimplify is documented with [Sphinx](https://pypi.org/project/Sphinx/).\nThe manual can be found on Read the Docs:\n\n\u003e https://curvesimplify.readthedocs.io/\n\nIf you want to build the document yourself, get the source code and install with `[doc]` dependency.\nThen, go to `doc` directory and build the document:\n\n```\n$ pip install .[doc]\n$ cd doc\n$ make html\n```\n\nDocument will be generated in `build/html` directory. Open `index.html` to see the central page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjss95%2Fcurvesimplify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjss95%2Fcurvesimplify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjss95%2Fcurvesimplify/lists"}