{"id":13861589,"url":"https://github.com/echonest/pyechonest","last_synced_at":"2025-12-17T02:51:45.044Z","repository":{"id":57455902,"uuid":"2234013","full_name":"echonest/pyechonest","owner":"echonest","description":"Python client for the Echo Nest API","archived":false,"fork":false,"pushed_at":"2015-10-09T11:02:35.000Z","size":4243,"stargazers_count":677,"open_issues_count":25,"forks_count":864,"subscribers_count":88,"default_branch":"master","last_synced_at":"2025-11-30T11:42:05.035Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://echonest.github.com/pyechonest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/echonest.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-19T13:18:49.000Z","updated_at":"2025-08-03T16:01:00.000Z","dependencies_parsed_at":"2022-09-02T06:42:59.262Z","dependency_job_id":null,"html_url":"https://github.com/echonest/pyechonest","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/echonest/pyechonest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echonest%2Fpyechonest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echonest%2Fpyechonest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echonest%2Fpyechonest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echonest%2Fpyechonest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/echonest","download_url":"https://codeload.github.com/echonest/pyechonest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echonest%2Fpyechonest/sbom","scorecard":{"id":365178,"data":{"date":"2025-08-11","repo":{"name":"github.com/echonest/pyechonest","commit":"d8c7af6c1da699b50b2f4b1bd3c0febe72e7f1ee"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":-1,"reason":"no dependencies found","details":null,"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:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" 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 '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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 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:41:55.982Z","repository_id":57455902,"created_at":"2025-08-18T11:41:55.982Z","updated_at":"2025-08-18T11:41:55.982Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27775739,"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-17T02:00:08.291Z","response_time":55,"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":"2024-08-05T06:01:25.695Z","updated_at":"2025-12-17T02:51:45.029Z","avatar_url":"https://github.com/echonest.png","language":"Python","readme":"# Pyechonest\n\nTap into [The Echo Nest's](http://the.echonest.com/) Musical Brain for the best music search, information, recommendations and remix tools on the web.\n\nPyechonest is an open source Python library for the Echo Nest API.  With Pyechonest you have Python access to the entire set of API methods including:\n\n* **artist** - search for artists by name, description, or attribute, and get back detailed information about any artist including audio, similar artists, blogs, familiarity, hotttnesss, news, reviews, urls and video.\n* **song** - search songs by artist, title, description, or attribute (tempo, duration, etc) and get detailed information back about each song, such as hotttnesss, audio_summary, or tracks.\n* **track** - upload a track to the Echo Nest and receive summary information about the track including key, duration, mode, tempo, time signature along with detailed track info including timbre, pitch, rhythm and loudness information.\n\n## Install\nThere are a few different ways you can install pyechonest:\n\n* Use setuptools: `easy_install -U pyechonest`\n* Download the zipfile from the [releases](https://github.com/echonest/pyechonest/releases) page and install it. \n* Checkout the source: `git clone git://github.com/echonest/pyechonest.git` and install it yourself.\n   \n## Getting Started\n* Install Pyechonest\n* **Get an API key** - to use the Echo Nest API you need an Echo Nest API key.  You can get one for free at [developer.echonest.com](http://developer.echonest.com).\n* **Set the API** key - you can do this one of two ways:\n* set an environment variable named `ECHO_NEST_API_KEY` to your API key\n* Include this snippet of code at the beginning of your python scripts:\n\n```python\n    from pyechonest import config\n    config.ECHO_NEST_API_KEY=\"YOUR API KEY\"\n```\n\n* Check out the [docs](http://echonest.github.com/pyechonest/) and examples below.\n\n## Examples\n*All examples assume you have already setup your api key!*\n\nFind artists that are similar to 'Bikini Kill':\n\n```python\nfrom pyechonest import artist\nbk = artist.Artist('bikini kill')\nprint \"Artists similar to: %s:\" % (bk.name,)\nfor similar_artist in bk.similar: print \"\\t%s\" % (similar_artist.name,)\n```\n\nSearch for artist:\n```python\nfrom pyechonest import artist\nweezer_results = artist.search(name='weezer')\nweezer = weezer_results[0]\nweezer_blogs = weezer.blogs\nprint 'Blogs about weezer:', [blog.get('url') for blog in weezer_blogs]\n```\n\nGet an artist by name:\n```python\nfrom pyechonest import artist\na = artist.Artist('lady gaga')\nprint a.id\n```\n\nGet an artist by Musicbrainz ID:\n```python\nfrom pyechonest import artist\na = artist.Artist('musicbrainz:artist:a74b1b7f-71a5-4011-9441-d0b5e4122711')\nprint a.name\n```\n\nGet the top hottt artists:\n```python\nfrom pyechonest import artist\nfor hottt_artist in artist.top_hottt():\nprint hottt_artist.name, hottt_artist.hotttnesss\n```\n\nSearch for songs:\n```python\nfrom pyechonest import song\nrkp_results = song.search(artist='radiohead', title='karma police')\nkarma_police = rkp_results[0]\nprint karma_police.artist_location\nprint 'tempo:',karma_police.audio_summary['tempo'],'duration:',karma_police.audio_summary['duration']\n```\n\nGet a song's audio_url and analysis_url:\n```python\nfrom pyechonest import song\nss_results = song.search(artist='the national', title='slow show', buckets=['id:7digital-US', 'tracks'], limit=True)\nslow_show = ss_results[0]\nss_tracks = slow_show.get_tracks('7digital-US')\nprint ss_tracks[0].get('preview_url')\n```\n\n-![alt text](http://i.imgur.com/WWLYo.gif \"Frustrated cat can't believe this is the 12th time he's clicked on an auto-linked README.md URL\")\n","funding_links":[],"categories":["Audio","资源列表","Python","Awesome Python"],"sub_categories":["音频","Audio"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechonest%2Fpyechonest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fechonest%2Fpyechonest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechonest%2Fpyechonest/lists"}