{"id":28513195,"url":"https://github.com/geopython/geousage","last_synced_at":"2025-09-09T11:20:41.781Z","repository":{"id":52537406,"uuid":"58597765","full_name":"geopython/GeoUsage","owner":"geopython","description":"Metrics Analysis for OGC Web Services","archived":false,"fork":false,"pushed_at":"2021-09-21T10:36:14.000Z","size":52,"stargazers_count":10,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-31T10:54:54.226Z","etag":null,"topics":[],"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/geopython.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":"SECURITY.md","support":null}},"created_at":"2016-05-12T01:48:14.000Z","updated_at":"2023-11-03T11:43:52.000Z","dependencies_parsed_at":"2022-09-07T20:21:33.200Z","dependency_job_id":null,"html_url":"https://github.com/geopython/GeoUsage","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/geopython/GeoUsage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geopython%2FGeoUsage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geopython%2FGeoUsage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geopython%2FGeoUsage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geopython%2FGeoUsage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geopython","download_url":"https://codeload.github.com/geopython/GeoUsage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geopython%2FGeoUsage/sbom","scorecard":{"id":423111,"data":{"date":"2025-08-11","repo":{"name":"github.com/geopython/GeoUsage","commit":"b78f8c3b39cb46f6651a5f332bd6bf8f25481720"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"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":"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/main.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/geopython/GeoUsage/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/geopython/GeoUsage/main.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:19","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:20","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand 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":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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":"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":"Code-Review","score":1,"reason":"Found 3/25 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":"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":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2018-24 / GHSA-2rcm-phc9-3945","Warn: Project is vulnerable to: PYSEC-2013-31 / GHSA-6748-36qp-fx6r","Warn: Project is vulnerable to: PYSEC-2018-23 / GHSA-p28m-34f6-967q","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6","Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 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-19T01:42:35.909Z","repository_id":52537406,"created_at":"2025-08-19T01:42:35.909Z","updated_at":"2025-08-19T01:42:35.909Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274290424,"owners_count":25258149,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"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":[],"created_at":"2025-06-09T01:06:32.585Z","updated_at":"2025-09-09T11:20:41.760Z","avatar_url":"https://github.com/geopython.png","language":"Python","readme":"# GeoUsage\n[![Build Status](https://github.com/geopython/GeoUsage/workflows/build%20%E2%9A%99%EF%B8%8F/badge.svg)](https://github.com/geopython/GeoUsage/actions)\n\nMetrics Analysis for OGC Web Services\n\n## Overview\n\nGeoUsage is a pure Python package providing OGC Web Services usage analysis.\n\n## Installation\n\nThe easiest way to install GeoUsage is via [pip](https://pip.pypa.io/en/stable/):\n\n```bash\npip install GeoUsage\n```\n\nThis assumes you have the privileges to install GeoUsage on your system\nwhich may require administrator/root privileges.  For isolated installations,\nsee [Installing GeoUsage in a virtualenv](#installing-geousage-in-a-virtualenv).\n\n### Requirements\n- Python 3\n- [virtualenv](https://virtualenv.pypa.io/)\n\n### Dependencies\nDependencies are listed in [requirements.txt](requirements.txt). Dependencies\nare automatically installed during GeoUsage installation.\n\n### Installing GeoUsage in a virtualenv\n\nUsing a virtualenv allows for isolated installations which do not affect\nsystem wide dependencies which require administrative/root privileges.  To\ninstall to a virtualenv, perform the following steps:\n\n```bash\n# setup virtualenv\npython3 -m venv GeoUsage\ncd GeoUsage\nsource bin/activate\n\n# clone codebase and install\ngit clone https://github.com/geopython/GeoUsage.git\ncd GeoUsage\npython3 setup.py install\n```\n\n## Running\n\n```bash\ncp GeoUsage-config.env local.env\nvi local.env # update environment variables accordingly\n\n# help\nGeoUsage --help\n\n# get version\nGeoUsage --version\n\n# perform WMS analysis on an Apache logfile on any WMS endpoint\nGeoUsage log analyze \u003c/path/to/apache_logfile\u003e --service-type=OGC:WMS\n\n# perform WMS analysis on an Apache logfile on a specific WMS endpoint\nGeoUsage log analyze \u003c/path/to/apache_logfile\u003e --service-type=OGC:WMS --endpoint=/ows\n\n# perform WMS analysis on an Apache logfile for a single date\nGeoUsage log analyze \u003c/path/to/apache_logfile\u003e --service-type=OGC:WMS --endpoint=/ows --time=2018-01-26\n\n# perform WMS analysis on an Apache logfile for a date range\nGeoUsage log analyze \u003c/path/to/apache_logfile\u003e --service-type=OGC:WMS --endpoint=/ows --time=2018-01-26/2018-01-27\n\n# perform WMS analysis on an Apache logfile for a single datetime\nGeoUsage log analyze \u003c/path/to/apache_logfile\u003e --service-type=OGC:WMS --endpoint=/ows --time=2018-01-26T11:11:11\n\n# perform WMS analysis on an Apache logfile for a datetime range\nGeoUsage log analyze \u003c/path/to/apache_logfile\u003e --service-type=OGC:WMS --endpoint=/ows --time=2018-01-26T11:11:11/2018-01-27T12:32:11\n\n# resolve IP addresses\nGeoUsage log analyze \u003c/path/to/apache_logfile\u003e --service-type=OGC:WMS --endpoint=/ows --verbosity=INFO --resolve-ips\n\n# show top 10 unique IPs and top 10 layers\nGeoUsage log analyze \u003c/path/to/apache_logfile\u003e --service-type=OGC:WMS --endpoint=/ows --verbosity=INFO --resolve-ips --top=10\n\n# add verbose mode\nGeoUsage log analyze \u003c/path/to/apache_logfile\u003e --service-type=OGC:WMS --endpoint=/ows --verbosity=INFO\n\n# query a Mailman mailing list member count\nGeoUsage mailing_list member_count\n```\n\n### Example\n\nAnalyse OGC:WPS service using nginx log files:\n```\nGeoUsage log analyze /var/log/nginx/access.log* --service-type=OGC:WPS --endpoint=/wps\n```\n\n### Using the API\n\n```python\nfrom GeoUsage.mailman import MailmanAdmin\n\nma = MailmanAdmin('http://example.org/mailman/admin/list', 'secret')\nprint(ma.member_count)\n```\n\n## Development\n\n### Running Tests\n\n```bash\n# install dev requirements\npip install -r requirements-dev.txt\n\n# run tests like this:\npython3 GeoUsage/tests/run_tests.py\n\n# or this:\npython3 setup.py test\n\n# measure code coverage\ncoverage run --source=GeoUsage -m unittest GeoUsage.tests.run_tests\ncoverage report -m\n```\n\n## Releasing\n\n```bash\npython3 setup.py sdist bdist_wheel --universal\ntwine upload dist/*\n```\n\n### Code Conventions\n\n* [PEP8](https://www.python.org/dev/peps/pep-0008)\n\n### Bugs and Issues\n\nAll bugs, enhancements and issues are managed on [GitHub](https://github.com/geopython/GeoUsage/issues).\n\n## Contact\n\n* [Tom Kralidis](https://github.com/tomkralidis)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeopython%2Fgeousage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeopython%2Fgeousage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeopython%2Fgeousage/lists"}