{"id":18746050,"url":"https://github.com/fscm/discogs2xlsx","last_synced_at":"2025-04-12T21:33:27.508Z","repository":{"id":57418328,"uuid":"340137528","full_name":"fscm/discogs2xlsx","owner":"fscm","description":"Export your Discogs collection or wantlist into a xlsx file.","archived":false,"fork":false,"pushed_at":"2022-01-24T16:29:47.000Z","size":83,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T16:11:17.838Z","etag":null,"topics":["discogs","discogs-api","python","python3","xlsx"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/fscm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-18T18:13:57.000Z","updated_at":"2025-02-20T01:05:00.000Z","dependencies_parsed_at":"2022-09-13T07:52:15.419Z","dependency_job_id":null,"html_url":"https://github.com/fscm/discogs2xlsx","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscm%2Fdiscogs2xlsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscm%2Fdiscogs2xlsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscm%2Fdiscogs2xlsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscm%2Fdiscogs2xlsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fscm","download_url":"https://codeload.github.com/fscm/discogs2xlsx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248636640,"owners_count":21137496,"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","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":["discogs","discogs-api","python","python3","xlsx"],"created_at":"2024-11-07T16:20:40.257Z","updated_at":"2025-04-12T21:33:22.499Z","avatar_url":"https://github.com/fscm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discogs2xlsx\n\nExport your Discogs collection or wantlist into a xlsx file.\n\n## Synopsis\n\nThis tool will try to export your collection or wantlist from Discogs into\na `.xlsx` file.\n\nThe time required to perform the export will depend on the size of your\ncollection, or wantlist.\nDiscogs requests to the API are throttled to 60 per minute for authenticated\nrequests, for that reason for large collections, or wantlists, the export can\ntake hours to perform.\n\n## Prerequisites\n\nThere are a couple of things needed for the tool to work.\n\nPython, version 3.9 or above, needs to be installed on your local computer.\nYou will also need a Discogs account.\n\n### Discogs\n\nA Discogs user account is required (to obtain the ratings from). You can\ncreate an account at [https://www.discogs.com/users/create](https://www.discogs.com/users/create)\nif you do not have one already.\n\nA Discogs personal token is also required. You can obtain one at\n[https://www.discogs.com/settings/developers](https://www.discogs.com/settings/developers)\n\nFor price recommendations (`--prices` option) the\n[Discogs Seller Settings](https://www.discogs.com/settings/seller/) are\nrequired.\n\n### Python 3.x\n\nPython version 3.9 or above is required for the tool to work. Python setup can\nbe found [here](https://www.python.org/downloads/).\n\nThe following python modules are also required to run the tool:\n\n* progress \u003e= 1.5\n* requests \u003e= 2.25.1\n* xlsxwriter \u003e= 3.0.0\n\n## Installation\n\nThe simplest way to install this tool is using pip:\n\n```shell\npip3 install discogs2xlsx\n```\n\n## Usage\n\nA simple example of how to use this tool:\n\n```shell\ndiscogs2xlsx -t my_discogs_secret_token\n```\n\nList of all the options:\n\n```shell\nusage: discogs2xlsx [-h] [-c [{AUD,BRL,CAD,CHF,EUR,GBP,JPY,MXN,NZD,SEK,USD,ZAR}]] [--debug] [-d] [-f [FILE]] [-p] [-q]\n                    -t [TOKEN] [-v] [-w]\n\noptions:\n  -h, --help            show this help message and exit\n  -c [{AUD,BRL,CAD,CHF,EUR,GBP,JPY,MXN,NZD,SEK,USD,ZAR}], --currency [{AUD,BRL,CAD,CHF,EUR,GBP,JPY,MXN,NZD,SEK,USD,ZAR}]\n                        currency for prices (default: EUR)\n  --debug               debug mode (default: False)\n  -d, --details         exports extra details (default: False)\n  -f [FILE], --file [FILE]\n                        output file name (default: discogs-collection.xlsx)\n  -p, --prices          exports recommended prices (default: False)\n  -q, --quiet           quiet mode (default: False)\n  -t [TOKEN], --token [TOKEN]\n                        discogs token (can also be set usibg the DISCOGS_TOKEN environment variable) (default: None)\n  -v, --version         show program's version number and exit\n  -w, --wantlist        exports the wantlist instead of the collection (default: False)\n```\n\n**IMPORTANT**\n[Discogs Seller Settings](https://www.discogs.com/settings/seller/) are required\nfor the recommended prices option (`-p` `--prices`).\n\n## Build (from source)\n\nIt is recommended the use of a Python Virtual Environment (venv) to build this\ntool. The same Virtual Environment can also be used to run the tool.\n\nAll of the commands described bellow are to be executed on the root folder of\nthis project.\n\nA Virtual Environment can be created using the follow command:\n\n```shell\npython3 -m venv .venv/\n```\n\nAfter creating the Virtual Environment the same will have to be activated, run\nthe following command to do that:\n\n```shell\nsource venv/bin/activate\n```\n\nTo build and run the tool some Python modules are required. These modules can\nbe installed using the following command:\n\n```shell\npip3 --quiet install --upgrade --requirement requirements.txt build\n```\n\nFinaly the Python package for this tool can be created with the command:\n\n```shell\npython3 -m build --wheel\n```\n\nAfter this you should endup with a wheel file (`*.whl`) inside a folder called\n`dist`.\n\nThe tool can be install using the wheel file and pip3:\n\n```shell\npip3 --quiet install dist/discogs2xlsx-*.whl\n```\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request\n\nPlease read the [CONTRIBUTING.md](https://github.com/fscm/discogs2xlsx/blob/master/CONTRIBUTING.md)\nfile for more details on how to contribute to this project.\n\n## Versioning\n\nThis project uses [SemVer](http://semver.org/) for versioning. For the versions\navailable, see the [tags on this repository](https://github.com/fscm/discogs2xlsx/tags).\n\n## Authors\n\n* **Frederico Martins** - [fscm](https://github.com/fscm)\n\nSee also the list of [contributors](https://github.com/fscm/discogs2xlsx/contributors)\nwho participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/fscm/discogs2xlsx/blob/master/LICENSE)\nfile for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffscm%2Fdiscogs2xlsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffscm%2Fdiscogs2xlsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffscm%2Fdiscogs2xlsx/lists"}