Skip to content
المشاريع

حول

Representing Debian UDD in a graph database

البيانات والتحليلات

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Debian UDD into Graph Database

The scripts in this repository pull (some) data from the Ultimate Debian Database and convert them to a graph database, in particular Neo4j.

A detailed description of the process is available either on my blog (Part 1, Part 2, Part 3), or debian-package-neo4j.md.

The scripts here are:

  • pull-udd.pl queries the UDD and downloads the two tables for packages and sources. Needs DBI::PG Perl module. This scripts needs quite some time, as the server is not fast. Please be patient.
  • generate-graph is a Perl script that reads the two csv files generated from pull-udd.pl and generates csv files ready to be imported into Neo4j
  • sort-uniq.sh ensures that duplicate lines are removed from the csvs
  • build-db assembles the proper command line for neo4j-import
  • build-all glues everything together

After the scripts has run, the files generated are in debian-neo4j and can be used as Neo4j database files.

Comments and improvements are always welcome.

Copyright

Copyright 2017-2018 Norbert Preining

License: GPL3+

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…