{"id":34852140,"url":"https://github.com/earthlab/streamstats","last_synced_at":"2025-12-25T19:26:34.645Z","repository":{"id":34368986,"uuid":"154197883","full_name":"earthlab/streamstats","owner":"earthlab","description":"Python package to interface with the USGS StreamStats API","archived":false,"fork":false,"pushed_at":"2024-12-07T02:48:58.000Z","size":387,"stargazers_count":31,"open_issues_count":22,"forks_count":17,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-25T04:57:26.667Z","etag":null,"topics":["data-access","hydrology","spatial","water"],"latest_commit_sha":null,"homepage":"https://streamstats-python.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/earthlab.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","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":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-22T18:49:04.000Z","updated_at":"2025-03-05T19:37:12.000Z","dependencies_parsed_at":"2023-09-24T17:56:01.912Z","dependency_job_id":"3e702e7d-e3f2-4b45-b06c-6bf144cac86a","html_url":"https://github.com/earthlab/streamstats","commit_stats":{"total_commits":279,"total_committers":7,"mean_commits":"39.857142857142854","dds":0.2759856630824373,"last_synced_commit":"add39f27accc9491c16a673571e7f6c92d75e44a"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/earthlab/streamstats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthlab%2Fstreamstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthlab%2Fstreamstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthlab%2Fstreamstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthlab%2Fstreamstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/earthlab","download_url":"https://codeload.github.com/earthlab/streamstats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthlab%2Fstreamstats/sbom","scorecard":{"id":363871,"data":{"date":"2025-08-11","repo":{"name":"github.com/earthlab/streamstats","commit":"add39f27accc9491c16a673571e7f6c92d75e44a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Code-Review","score":8,"reason":"Found 8/10 approved changesets -- score normalized to 8","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/tox.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":"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":"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/tox.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/earthlab/streamstats/tox.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tox.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/earthlab/streamstats/tox.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/tox.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/tox.yml:23","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":"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":"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":"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: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":"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2023-228 / GHSA-mq26-g339-26xf","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"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 30 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-18T11:25:49.539Z","repository_id":34368986,"created_at":"2025-08-18T11:25:49.539Z","updated_at":"2025-08-18T11:25:49.539Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28035490,"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-12-25T02:00:05.988Z","response_time":58,"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":["data-access","hydrology","spatial","water"],"created_at":"2025-12-25T19:26:32.471Z","updated_at":"2025-12-25T19:26:34.632Z","avatar_url":"https://github.com/earthlab.png","language":"Python","readme":"StreamStats\n===========\n\n.. image:: https://img.shields.io/pypi/v/streamstats.svg?color=purple\u0026style=plastic\n        :target: https://img.shields.io/pypi/v/streamstats.svg?color=purple\u0026style=plastic\n\n.. image:: https://img.shields.io/pypi/dm/streamstats.svg?color=purple\u0026label=pypi%20downloads\u0026style=plastic\n        :target: https://img.shields.io/pypi/dm/streamstats.svg?color=purple\u0026label=pypi%20downloads\u0026style=plastic\n\n.. image:: https://readthedocs.org/projects/streamstats-python/badge/?version=latest\n        :target: https://streamstats-python.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n.. image:: https://codecov.io/gh/earthlab/streamstats/branch/master/graph/badge.svg\n        :target: https://app.codecov.io/gh/earthlab/streamstats\n\n.. image:: https://static.mybinder.org/badge.svg\n        :target: https://mybinder.org/v2/gh/earthlab/streamstats/master\n\n\n\nPython package for interfacing with the USGS StreamStats API.\n\n- Free software: MIT license\n- Documentation: https://streamstats-python.readthedocs.io/en/latest/\n\nFeatures\n~~~~~~~~~\n\n- Plot the GeoJSON of a watershed containing a spatial point in the United States\n- Find available basin characteristics of an identified watershed\n- Find the hydrologic unit code (HUC) of an identified watershed\n\n\nView Example StreamStats Applications in Our Documentation Gallery\n-------------------------------------------------------------------\nCheck out our `vignette gallery \u003chttps://streamstats-python.readthedocs.io/en/latest/gallery_vignettes/index.html\u003e`_\nfor applied examples of using StreamStats.\n\n\nInstallation\n~~~~~~~~~~~~~\nStable release\n--------------\nTo install StreamStats via ``pip`` use:\n\n.. code-block:: console\n\n    $ pip install streamstats\n\nThis is the preferred method to install StreamStats, as it will always install\nthe most recent stable release. If you don't have `pip \u003chttps://pip.pypa.io/en/stable/\u003e`_ installed, this\n`Python installation guide \u003chttps://docs.python-guide.org/starting/installation/\u003e`_\ncan guide you through the process.\n\n\nAlternatively, StreamStats can be installed from the ``conda-forge`` repository\nusing `Conda \u003chttps://docs.conda.io/en/latest/\u003e`__:\n\n.. code-block:: console\n\n    $ conda install -c conda-forge streamstats\n\n\nFrom sources\n------------\nThe sources for StreamStats can be downloaded from the `GitHub repository \u003chttps://github.com/earthlab/streamstats\u003e`_ .\n\nYou can either clone the public repository:\n\n.. code-block:: console\n\n    $ git clone git://github.com/earthlab/streamstats\n\nOnce you have a copy of the source, you can install it with:\n\n.. code-block:: console\n\n    $ python setup.py install\n\n\nHow to Contribute\n~~~~~~~~~~~~~~~~~~\nThe steps to set up StreamStats for local development are as follows:\n\n1. Fork the streastats repo on GitHub\n2. Clone your fork locally:\n\n.. code-block:: console\n\n    $ git clone git://github.com:your_name_here/streamstats.git\n\n3. Install your local copy into a new environment\n\nIf you have virutalenvwrapper installed:\n\n.. code-block:: console\n\n    $ mkvirtualenv streamstats\n\n\nIf you are using conda:\n\n.. code-block:: console\n\n    $ conda create -n streamstats python=3\n    $ conda activate streamstats\n\n\nThen install StreamStats:\n\n.. code-block:: console\n\n    $ cd streamstats/\n    $ pip install -r requirements.txt\n    $ pip install -r requirements_dev.txt\n    $ install -e .\n\n\n4. Create a branch for local development:\n\n.. code-block:: console\n\n    $ git checkout -b name-of-your-bugfix/feature\n\nNow you can make your changes locally\n\n\n5. When your changes are complete, check that your changes pass flake8 and the tests,\nincluding other Python versions with tox:\n\n.. code-block:: console\n\n    $ pytest\n    $ tox\n\n\n6. Commit your changes and push your branch to GitHub:\n\n.. code-block:: console\n\n    $ git add\n    $ git commit -m \"Your detailed description of your changes\"\n    $ git push origin name-of-your-bugfix/feature\n\n\n7. Submit a pull request through the GitHub website\n\n\n\nWe welcome and greatly appreciate contributions to StreamStats! The best way to\nsend feedback is to file an issue at https://github.com/earthlab/streamstats/issues.\nTo read more on ways to contribute and pull requests, click `here \u003chttps://streamstats-python.readthedocs.io/en/latest/contributing.html\u003e`_.\n\n\nCredits\n~~~~~~~~\nDevelopment Lead\n-----------------\n- `Maxwell B. Joseph \u003chttps://github.com/mbjoseph\u003e`_\n\nContributors\n-------------\n- `Scott Eilerman \u003chttps://github.com/seilerman\u003e`_\n- `Leah Wasser \u003chttps://github.com/lwasser\u003e`_\n- `Jeremy Diaz \u003chttps://github.com/jdiaz4302\u003e`_\n- `Nate Mietkiewicz \u003chttps://github.com/natemietk\u003e`_\n- `Nathan Korinek \u003chttps://github.com/nkorinek\u003e`_\n- `Ally Fitts \u003chttps://github.com/aefitts\u003e`_\n\n\nThis package was created with `Cookiecutter \u003chttps://github.com/cookiecutter/cookiecutter\u003e`_.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearthlab%2Fstreamstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fearthlab%2Fstreamstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearthlab%2Fstreamstats/lists"}