{"id":35138326,"url":"https://github.com/csparpa/last.fm-stats","last_synced_at":"2026-05-21T03:31:34.836Z","repository":{"id":21877073,"uuid":"25200704","full_name":"csparpa/last.fm-stats","owner":"csparpa","description":"Exercise on Last.fm data aggregation ","archived":false,"fork":false,"pushed_at":"2014-10-19T12:43:03.000Z","size":216,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-08-03T13:42:40.906Z","etag":null,"topics":["data-analysis","exercise","lastfm","lastfm-api","python"],"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/csparpa.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":null,"support":null}},"created_at":"2014-10-14T10:06:38.000Z","updated_at":"2023-08-03T13:42:40.907Z","dependencies_parsed_at":"2022-08-17T22:05:28.018Z","dependency_job_id":null,"html_url":"https://github.com/csparpa/last.fm-stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/csparpa/last.fm-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csparpa%2Flast.fm-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csparpa%2Flast.fm-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csparpa%2Flast.fm-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csparpa%2Flast.fm-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csparpa","download_url":"https://codeload.github.com/csparpa/last.fm-stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csparpa%2Flast.fm-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33287423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"last_error":"SSL_read: 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":["data-analysis","exercise","lastfm","lastfm-api","python"],"created_at":"2025-12-28T10:22:44.711Z","updated_at":"2026-05-21T03:31:34.830Z","avatar_url":"https://github.com/csparpa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"last.fm-stats\n=============\n\nExercise on Last.fm data aggregation\n\nWorks on\n--------\nPython 2.7\n\nHow to use it\n-------------\n\n1. Clone source code into a folder the Python interpreter can write into (eg. your\n   home directory):\n```bash\n$ git clone git@github.com:csparpa/last.fm-stats.git\n```\n\n2. Install dependencies:\n```bash\n$ cd last.fm_stats\n$ sudo pip install -r requirements.txt\n```\n(omit `sudo` if on Windows)\n\n3. Launch the script replacing `\u003cusername\u003e` with the username you want stats for:\n```bash\n$ python lastfm_stats.py \u003cusername\u003e\n\nYou have listened to a total of 254 tracks. \nYour top 5 favorite artists: U2, Led Zeppelin, Rolling Stones, Bob Marley, Kasabian.\nYou listen to an average of 32 tracks a day.\nYour most active day is Tuesday.\n```\n\nHow to run the test suites\n--------------------------\nMake sure you are inside the git-cloned folder and execute:\n```bash\n$ python -m unittest discover\n```\n\nWhat you need to know\n---------------------\n* Only unit tests have been provided, using mocks where needed for the\n  external components:\n    - Last.fm web API\n    - SQLite database\n* Average tracks per day are rounded to the lowest integer value\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsparpa%2Flast.fm-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsparpa%2Flast.fm-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsparpa%2Flast.fm-stats/lists"}