{"id":13605572,"url":"https://github.com/spectralpython/spectral","last_synced_at":"2025-10-21T20:57:54.379Z","repository":{"id":13869576,"uuid":"16567502","full_name":"spectralpython/spectral","owner":"spectralpython","description":"Python module for hyperspectral image processing","archived":false,"fork":false,"pushed_at":"2025-04-13T15:20:53.000Z","size":1325,"stargazers_count":639,"open_issues_count":27,"forks_count":147,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-10-21T20:57:35.847Z","etag":null,"topics":["anomaly-detection","hyperspectral","hyperspectral-image-classification","image-processing","python","remote-sensing","target-detection","visualization"],"latest_commit_sha":null,"homepage":null,"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/spectralpython.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"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}},"created_at":"2014-02-06T03:36:54.000Z","updated_at":"2025-10-21T13:21:38.000Z","dependencies_parsed_at":"2023-01-13T17:39:32.890Z","dependency_job_id":"5ff6ed54-b6de-4477-98b1-45715dfc1f55","html_url":"https://github.com/spectralpython/spectral","commit_stats":{"total_commits":519,"total_committers":14,"mean_commits":37.07142857142857,"dds":0.5183044315992293,"last_synced_commit":"0659ee71614455d99a80ffd4f5f5edd8d032608c"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/spectralpython/spectral","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectralpython%2Fspectral","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectralpython%2Fspectral/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectralpython%2Fspectral/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectralpython%2Fspectral/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spectralpython","download_url":"https://codeload.github.com/spectralpython/spectral/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spectralpython%2Fspectral/sbom","scorecard":{"id":840898,"data":{"date":"2025-08-11","repo":{"name":"github.com/spectralpython/spectral","commit":"82975bf1164b2ad3e39ec08441f9c5f10535c0f0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"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":"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":"Code-Review","score":1,"reason":"Found 3/30 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":"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/python-package.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":"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/python-package.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/spectralpython/spectral/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/spectralpython/spectral/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/spectralpython/spectral/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/spectralpython/spectral/python-package.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:30","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:31","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:59","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:60","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:61","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 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":"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":"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":"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":"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 3 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-23T20:27:21.369Z","repository_id":13869576,"created_at":"2025-08-23T20:27:21.369Z","updated_at":"2025-08-23T20:27:21.369Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280333501,"owners_count":26312845,"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-10-21T02:00:06.614Z","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":["anomaly-detection","hyperspectral","hyperspectral-image-classification","image-processing","python","remote-sensing","target-detection","visualization"],"created_at":"2024-08-01T19:01:00.357Z","updated_at":"2025-10-21T20:57:54.337Z","avatar_url":"https://github.com/spectralpython.png","language":"Python","readme":"Spectral Python (SPy)\n---------------------\n\n.. image:: https://github.com/spectralpython/spectral/actions/workflows/python-package.yml/badge.svg?branch=master\n   :target: https://github.com/spectralpython/spectral/actions/workflows/python-package.yml\n\n.. image:: https://badges.gitter.im/spectralpython/spectral.svg\n   :alt: Join the chat at https://gitter.im/spectralpython/spectral\n   :target: https://gitter.im/spectralpython/spectral?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\n\n.. image:: https://anaconda.org/conda-forge/spectral/badges/version.svg\n   :target: https://anaconda.org/conda-forge/spectral\n\n.. image:: https://anaconda.org/conda-forge/spectral/badges/platforms.svg\n   :target: https://anaconda.org/conda-forge/spectral\n\n.. image:: https://anaconda.org/conda-forge/spectral/badges/license.svg\n   :target: https://anaconda.org/conda-forge/spectral\n\n.. image:: https://anaconda.org/conda-forge/spectral/badges/downloads.svg\n   :target: https://anaconda.org/conda-forge/spectral\n\n.. image:: https://anaconda.org/conda-forge/spectral/badges/installer/conda.svg\n   :target: https://conda.anaconda.org/conda-forge\n\nSpectral Python (SPy) is a pure Python module for processing hyperspectral image\ndata (imaging spectroscopy data). It has functions for reading, displaying,\nmanipulating, and classifying hyperspectral imagery. Full details about the\npackage are on the `web site \u003chttp://spectralpython.net\u003e`_.\n\n\nInstallation Instructions\n=========================\n\nThe latest release is always hosted on `PyPI \u003chttps://pypi.python.org/pypi/spectral\u003e`_,\nso if you have `pip` installed, you can install SPy from the command line with\n\n.. code::\n\n    pip install spectral\n\nPackaged distributions are also hosted at `PyPI \u003chttps://pypi.python.org/pypi/spectral\u003e`_\nand `GitHub \u003chttps://github.com/spectralpython/spectral/releases/latest\u003e`_\nso you can download and unpack the latest zip/tarball, then type\n\n.. code::\n\n    python setup.py install\n\nTo install the latest development version, download or clone the git repository\nand install as above. No explicit installation is required so you can simply\naccess (or symlink) the `spectral` module within the source tree.\n\n**Finally**, up-to-date guidance on how to install via the popular conda package \nand environment management system can be found at official `conda-forge documentation \u003chttps://anaconda.org/conda-forge/spectral\u003e`_.\n\nUnit Tests\n==========\n\nTo run the suite of unit tests, you must have `numpy` installed and you must\nhave the `sample data files \u003chttp://spectralpython.net/user_guide_intro.html\u003e`_\ndownloaded to the current directory (or one specified by the `SPECTRAL_DATA`\nenvironment variable). To run the unit tests, type\n\n.. code::\n\n    python -m spectral.tests.run\n\nDependencies\n============\nUsing SPy interactively with its visualization capabilities requires `IPython` and\nseveral other packages (depending on the features used). See the\n`web site \u003chttp://spectralpython.net\u003e`_ for details.\n\n","funding_links":[],"categories":["Python","Toolbox"],"sub_categories":["Remote Sensing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectralpython%2Fspectral","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspectralpython%2Fspectral","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectralpython%2Fspectral/lists"}