Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/lukasaron/data-discogs

Package discogs introduces a way to categorize XML data dumps from Discogs: https://data.discogs.com. The intention of using this parser is a library, which means there is not an executable part provided. The project has no other dependencies than the Golang language itself. There are three existing writers supported by default: JSON, SQL and DB. JSON Writer - As the name prompts this writer transforms input XML into JSON format. This writer could be used as a solution that converts data into any NoSQL database. SQL Writer - The second supported writer creates SQL file with all necessary data from input. This file can be executed in any SQL database and the result will be populated table with the proper information. DB Writer - The last writer is for direct communication with the SQL database. All input data will be saved into appropriate tables immediately. Before using this writer all required data tables need to be created. For that purpose please run the SQL script named tables.sql in the sql_scripts folder.. You can also set up indexes on any column you want, to facilitate this process there is also the script called indexes.sql situated in the sql_script folder. To speed up a data transformation I would rather recommend creating indexes after the whole processing is completed. Example of basic usage: Example with SQL writer

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/lukasaron/data-discogs
Keywords: data-discogs, decode, discogs, go, golang, parse, xml
License: BSD-3-Clause
Latest release: over 4 years ago
First release: over 4 years ago
Namespace: github.com/lukasaron
Stars: 4 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago

    Loading...
    Readme
    Loading...