{"id":13856848,"url":"https://github.com/pyturf/pyturf","last_synced_at":"2026-01-14T08:00:42.729Z","repository":{"id":38011379,"uuid":"244329849","full_name":"pyturf/pyturf","owner":"pyturf","description":"A modular geospatial engine written in python","archived":false,"fork":false,"pushed_at":"2025-02-13T18:33:16.000Z","size":445,"stargazers_count":29,"open_issues_count":2,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-01T05:06:33.550Z","etag":null,"topics":["geo","geojson","geospatial","gis","python","turf"],"latest_commit_sha":null,"homepage":"https://pyturf.readthedocs.io","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/pyturf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"license.txt","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,"zenodo":null}},"created_at":"2020-03-02T09:24:18.000Z","updated_at":"2025-07-14T14:21:43.000Z","dependencies_parsed_at":"2023-10-13T15:35:21.834Z","dependency_job_id":"14b6eebb-ac3f-4dbf-825b-02ded6500c90","html_url":"https://github.com/pyturf/pyturf","commit_stats":{"total_commits":110,"total_committers":5,"mean_commits":22.0,"dds":"0.34545454545454546","last_synced_commit":"9c6eb59cbe85a2e7592556513f62b5d30df34740"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/pyturf/pyturf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyturf%2Fpyturf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyturf%2Fpyturf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyturf%2Fpyturf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyturf%2Fpyturf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyturf","download_url":"https://codeload.github.com/pyturf/pyturf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyturf%2Fpyturf/sbom","scorecard":{"id":752468,"data":{"date":"2025-08-11","repo":{"name":"github.com/pyturf/pyturf","commit":"12ef66dfd35920299075d632b62a9cbcdddc3471"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pythonapp.yml:1","Warn: no topLevel permission defined: .github/workflows/pythonpublish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 4/21 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/pyturf/pyturf/pythonapp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/pyturf/pyturf/pythonapp.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/pyturf/pyturf/pythonapp.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/pyturf/pyturf/pythonapp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/pyturf/pyturf/pythonpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/pyturf/pyturf/pythonpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/pyturf/pyturf/pythonpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/pyturf/pyturf/pythonpublish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pythonpublish.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/pyturf/pyturf/pythonpublish.yml/master?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.txt:0","Info: FSF or OSI recognized license: MIT License: license.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/pythonpublish.yml:33"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T20:43:57.081Z","repository_id":38011379,"created_at":"2025-08-22T20:43:57.081Z","updated_at":"2025-08-22T20:43:57.081Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["geo","geojson","geospatial","gis","python","turf"],"created_at":"2024-08-05T03:01:15.812Z","updated_at":"2026-01-14T08:00:42.490Z","avatar_url":"https://github.com/pyturf.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# pyturf\n\nRead the [docs](https://pyturf.readthedocs.io/en/latest/)\n\n![build_badge](https://github.com/pyturf/pyturf/workflows/build/badge.svg)\n[![codecov](https://codecov.io/gh/pyturf/pyturf/branch/master/graph/badge.svg)](https://codecov.io/gh/pyturf/pyturf)\n[![PyPI version](https://badge.fury.io/py/pyturf.svg)](https://badge.fury.io/py/pyturf)\n[![Documentation Status](https://readthedocs.org/projects/ansicolortags/badge/?version=latest)](https://pyturf.readthedocs.io/?badge=latest)\n\n`pyturf` is a powerful geospatial library written in python, based on [turf.js](https://github.com/Turfjs/turf),\na popular library written in javascript. It follows the same modular structure and maintains the same functionality as the original\nmodules in that library for maximum compatibility.\n\nIt includes traditional geospatial operations, as well as helper functions for creating and manipulating\n[GeoJSON](https://geojson.org/) data.\n\n## Installation\n\n```\n$ pip install pyturf\n```\n\n## Usage\n\nMost `pyturf` modules expect as input GeoJSON features or a collection of these, which can be the following:\n\n- Point / MultiPoint\n- LineString / MultiLineString\n- Polygon / MultiPolygon\n\nThese can either be defined as a python dictionary or as objects from `pyturf` helper classes.\n\n```python\n# example as a dictionary:\n\npoint1 = {\n  \"type\": \"Feature\",\n  \"properties\": {},\n  \"geometry\": {\n    \"type\": \"Point\",\n    # Note order: longitude, latitude.\n    \"coordinates\": [-73.988214, 40.749128]\n  }\n}\n\n...\n\n# Example using objects from helper classes\n\nfrom turf import point\n\n# Note order: longitude, latitude.\npoint1 = point([-73.988214, 40.749128])\n\n```\n\nIn order to use the modules, one can import directly from `pyturf`, such as:\n\n```python\nfrom turf import distance, point\n\npoint1 = point([-73.988214, 40.749128])\npoint2 = point([-73.838432, 40.738484])\n\ndist = distance(point1, point2, {\"units\": \"miles\"})\n```\n\n## Available Modules\n\nCurrently, the following modules have been implemented:\n\n- [along](https://github.com/pyturf/pyturf/tree/master/turf/along)\n- [area](https://github.com/pyturf/pyturf/tree/master/turf/area)\n- [bbox](https://github.com/pyturf/pyturf/tree/master/turf/bbox)\n- [bbox-polygon](https://github.com/pyturf/pyturf/tree/master/turf/bbox_polygon)\n- [bearing](https://github.com/pyturf/pyturf/tree/master/turf/bearing)\n- [boolean-disjoint](https://github.com/pyturf/pyturf/tree/master/turf/boolean_disjoint)\n- [boolean-intersects](https://github.com/pyturf/pyturf/tree/master/turf/boolean_intersects)\n- [boolean-point-in-polygon](https://github.com/pyturf/pyturf/tree/master/turf/boolean_point_in_polygon)\n- [boolean-point-on-line](https://github.com/pyturf/pyturf/tree/master/turf/boolean_point_on_line)\n- [boolean-within](https://github.com/pyturf/pyturf/tree/master/turf/boolean_within)\n- [center](https://github.com/pyturf/pyturf/tree/master/turf/center)\n- [centroid](https://github.com/pyturf/pyturf/tree/master/turf/centroid)\n- [circle](https://github.com/pyturf/pyturf/tree/master/turf/circle)\n- [destination](https://github.com/pyturf/pyturf/tree/master/turf/destination)\n- [distance](https://github.com/pyturf/pyturf/tree/master/turf/distance)\n- [envelope](https://github.com/pyturf/pyturf/tree/master/turf/envelope)\n- [explode](https://github.com/pyturf/pyturf/tree/master/turf/explode)\n- [great circle](https://github.com/pyturf/pyturf/tree/master/turf/great_circle)\n- [helpers](https://github.com/pyturf/pyturf/tree/master/turf/helpers)\n- [hex_grid](https://github.com/pyturf/pyturf/tree/master/turf/hex_grid)\n- [length](https://github.com/pyturf/pyturf/tree/master/turf/length)\n- [line-intersect](https://github.com/pyturf/pyturf/tree/master/turf/line_intersect)\n- [midpoint](https://github.com/pyturf/pyturf/tree/master/turf/midpoint)\n- [nearest-point](https://github.com/pyturf/pyturf/tree/master/turf/nearest_point)\n- [point-grid](https://github.com/pyturf/pyturf/tree/master/turf/point_grid)\n- [point-on-feature](https://github.com/pyturf/pyturf/tree/master/turf/point_on_feature)\n- [point-to-line-distance](https://github.com/pyturf/pyturf/tree/master/turf/point_to_line_distance)\n- [polygon-tangents](https://github.com/pyturf/pyturf/tree/master/turf/polygon_tangents)\n- [polygon-to-line](https://github.com/pyturf/pyturf/tree/master/turf/polygon_to_line)\n- [rectangle-grid](https://github.com/pyturf/pyturf/tree/master/turf/rectangle_grid)\n- [rhumb-bearing](https://github.com/pyturf/pyturf/tree/master/turf/rhumb_bearing)\n- [rhumb-destination](https://github.com/pyturf/pyturf/tree/master/turf/rhumb_destination)\n- [rhumb-distance](https://github.com/pyturf/pyturf/tree/master/turf/rhumb_distance)\n- [square](https://github.com/pyturf/pyturf/tree/master/turf/square)\n- [square-grid](https://github.com/pyturf/pyturf/tree/master/turf/square_grid)\n- [triangle-grid](https://github.com/pyturf/pyturf/tree/master/turf/triangle_grid)\n\n## Contributing\n\nThis library is a work in progress, so pull requests from the community are welcome!\n\nCheck out [CONTRIBUTING.md](https://github.com/pyturf/pyturf/blob/master/CONTRIBUTING.md) for a detailed explanation on how to contribute.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyturf%2Fpyturf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyturf%2Fpyturf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyturf%2Fpyturf/lists"}