{"id":16851841,"url":"https://github.com/amauryval/linestring-bender","last_synced_at":"2026-05-11T16:36:26.584Z","repository":{"id":103330660,"uuid":"333192572","full_name":"amauryval/linestring-bender","owner":"amauryval","description":"A example to curve a LineString with Shapely and Scipy","archived":false,"fork":false,"pushed_at":"2021-02-20T00:52:50.000Z","size":746,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T09:34:30.807Z","etag":null,"topics":["bend","curve","linestring","scipy","shapely"],"latest_commit_sha":null,"homepage":"","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/amauryval.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-26T19:24:08.000Z","updated_at":"2023-09-02T12:04:35.000Z","dependencies_parsed_at":"2023-05-04T09:02:19.085Z","dependency_job_id":null,"html_url":"https://github.com/amauryval/linestring-bender","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amauryval/linestring-bender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amauryval%2Flinestring-bender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amauryval%2Flinestring-bender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amauryval%2Flinestring-bender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amauryval%2Flinestring-bender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amauryval","download_url":"https://codeload.github.com/amauryval/linestring-bender/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amauryval%2Flinestring-bender/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32903614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bend","curve","linestring","scipy","shapely"],"created_at":"2024-10-13T13:33:45.135Z","updated_at":"2026-05-11T16:36:26.561Z","avatar_url":"https://github.com/amauryval.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linestring-bender\n\n\nBecause it's fun to bend a LineString :)\n\nBased on this stackoverflow topic: https://stackoverflow.com/questions/12643079/b%C3%A9zier-curve-fitting-with-scipy\n\n\n![](https://media.giphy.com/media/2modwsnpzX93G/giphy.gif)\n\n## Install the environment\n```\nconda env create -f environment.yml\n```\n\n## Here a short snippet \n\n```python\nfrom shapely.wkt import loads\n\nfrom core.line_bender import LineStringBender\n\ninput_line = loads(\"LINESTRING(0 0, 25 25)\")\ncurve_process = LineStringBender(input_line, 0.5, 2, 'right')\n\ncurve = curve_process.curve_geom()\nprint(curve.wkt)\n```\n\n## And a bokeh app to bend some LineStrings\n\n```\ncd linestring-bender\nbokeh serve main.py --show\n```\n\n![example](img/example.gif)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famauryval%2Flinestring-bender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famauryval%2Flinestring-bender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famauryval%2Flinestring-bender/lists"}