Package: discogs2xlsx
discogs2xlsxExport your Discogs collection or wantlist into a xlsx file.SynopsisThis tool will try to export your collection or wantlist from Discogs into
a.xlsxfile.The time required to perform the export will depend on the size of your
collection, or wantlist.
Discogs requests to the API are throttled to 60 per minute for authenticated
requests, for that reason for large collections, or wantlists, the export can
take hours to perform.PrerequisitesThere are a couple of things needed for the tool to work.Python, version 3.9 or above, needs to be installed on your local computer.
You will also need a Discogs account.DiscogsA Discogs user account is required (to obtain the ratings from). You can
create an account athttps://www.discogs.com/users/createif you do not have one already.A Discogs personal token is also required. You can obtain one athttps://www.discogs.com/settings/developersFor price recommendations (--pricesoption) theDiscogs Seller Settingsare
required.Python 3.xPython version 3.9 or above is required for the tool to work. Python setup can
be foundhere.The following python modules are also required to run the tool:progress >= 1.5requests >= 2.25.1xlsxwriter >= 3.0.0InstallationThe simplest way to install this tool is using pip:pip3installdiscogs2xlsxUsageA simple example of how to use this tool:discogs2xlsx-tmy_discogs_secret_tokenList of all the options:usage:discogs2xlsx[-h][-c[{AUD,BRL,CAD,CHF,EUR,GBP,JPY,MXN,NZD,SEK,USD,ZAR}]][--debug][-d][-f[FILE]][-p][-q]-t[TOKEN][-v][-w]options:-h,--helpshowthishelpmessageandexit-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}]currencyforprices(default:EUR)--debugdebugmode(default:False)-d,--detailsexportsextradetails(default:False)-f[FILE],--file[FILE]outputfilename(default:discogs-collection.xlsx)-p,--pricesexportsrecommendedprices(default:False)-q,--quietquietmode(default:False)-t[TOKEN],--token[TOKEN]discogstoken(canalsobesetusibgtheDISCOGS_TOKENenvironmentvariable)(default:None)-v,--versionshowprogram'sversionnumberandexit-w,--wantlistexportsthewantlistinsteadofthecollection(default:False)IMPORTANTDiscogs Seller Settingsare required
for the recommended prices option (-p--prices).Build (from source)It is recommended the use of a Python Virtual Environment (venv) to build this
tool. The same Virtual Environment can also be used to run the tool.All of the commands described bellow are to be executed on the root folder of
this project.A Virtual Environment can be created using the follow command:python3-mvenv.venv/After creating the Virtual Environment the same will have to be activated, run
the following command to do that:sourcevenv/bin/activateTo build and run the tool some Python modules are required. These modules can
be installed using the following command:pip3--quietinstall--upgrade--requirementrequirements.txtbuildFinaly the Python package for this tool can be created with the command:python3-mbuild--wheelAfter this you should endup with a wheel file (*.whl) inside a folder calleddist.The tool can be install using the wheel file and pip3:pip3--quietinstalldist/discogs2xlsx-*.whlContributingFork it!Create your feature branch:git checkout -b my-new-featureCommit your changes:git commit -am 'Add some feature'Push to the branch:git push origin my-new-featureSubmit a pull requestPlease read theCONTRIBUTING.mdfile for more details on how to contribute to this project.VersioningThis project usesSemVerfor versioning. For the versions
available, see thetags on this repository.AuthorsFrederico Martins-fscmSee also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details