dryad2dataverse 0.7.6__tar.gz → 0.7.9a0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. {dryad2dataverse-0.7.6/src/dryad2dataverse.egg-info → dryad2dataverse-0.7.9a0}/PKG-INFO +27 -16
  2. dryad2dataverse-0.7.9a0/pyproject.toml +60 -0
  3. {dryad2dataverse-0.7.6 → dryad2dataverse-0.7.9a0}/src/dryad2dataverse/__init__.py +1 -1
  4. {dryad2dataverse-0.7.6 → dryad2dataverse-0.7.9a0}/src/dryad2dataverse/scripts/dryadd.py +66 -11
  5. dryad2dataverse-0.7.6/.gitignore +0 -42
  6. dryad2dataverse-0.7.6/PKG-INFO +0 -79
  7. dryad2dataverse-0.7.6/docs/_config.yml +0 -15
  8. dryad2dataverse-0.7.6/docs/api_reference.md +0 -1463
  9. dryad2dataverse-0.7.6/docs/changelog.md +0 -135
  10. dryad2dataverse-0.7.6/docs/compiling.md +0 -43
  11. dryad2dataverse-0.7.6/docs/credits.md +0 -20
  12. dryad2dataverse-0.7.6/docs/css/extra.css +0 -31
  13. dryad2dataverse-0.7.6/docs/dbase_structure/anomalies.html +0 -311
  14. dryad2dataverse-0.7.6/docs/dbase_structure/anomalies.js +0 -0
  15. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/css/bootstrap-theme.css +0 -587
  16. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/css/bootstrap-theme.css.map +0 -1
  17. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/css/bootstrap-theme.min.css +0 -6
  18. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/css/bootstrap-theme.min.css.map +0 -1
  19. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/css/bootstrap.css +0 -6757
  20. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/css/bootstrap.css.map +0 -1
  21. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/css/bootstrap.min.css +0 -6
  22. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/css/bootstrap.min.css.map +0 -1
  23. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  24. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/fonts/glyphicons-halflings-regular.svg +0 -288
  25. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  26. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  27. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
  28. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/js/bootstrap.js +0 -2377
  29. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/js/bootstrap.min.js +0 -7
  30. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/bootstrap/js/npm.js +0 -13
  31. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/plugins/fastclick/fastclick.js +0 -841
  32. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/plugins/fastclick/fastclick.min.js +0 -1
  33. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/plugins/jQuery/jquery-2.2.3.min.js +0 -4
  34. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/plugins/jQueryUI/jquery-ui.js +0 -16617
  35. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/plugins/jQueryUI/jquery-ui.min.js +0 -13
  36. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/plugins/slimScroll/jquery.slimscroll.js +0 -474
  37. dryad2dataverse-0.7.6/docs/dbase_structure/bower/admin-lte/plugins/slimScroll/jquery.slimscroll.min.js +0 -16
  38. dryad2dataverse-0.7.6/docs/dbase_structure/bower/anchor-js/anchor.min.js +0 -6
  39. dryad2dataverse-0.7.6/docs/dbase_structure/bower/codemirror/codemirror.css +0 -340
  40. dryad2dataverse-0.7.6/docs/dbase_structure/bower/codemirror/codemirror.js +0 -9502
  41. dryad2dataverse-0.7.6/docs/dbase_structure/bower/codemirror/sql.js +0 -451
  42. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net/jquery.dataTables.min.js +0 -167
  43. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-bs/css/dataTables.bootstrap.css +0 -184
  44. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-bs/css/dataTables.bootstrap.min.css +0 -1
  45. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-bs/js/dataTables.bootstrap.js +0 -182
  46. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-bs/js/dataTables.bootstrap.min.js +0 -8
  47. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons/buttons.colVis.js +0 -206
  48. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons/buttons.colVis.min.js +0 -6
  49. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons/buttons.flash.js +0 -1441
  50. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons/buttons.flash.min.js +0 -31
  51. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons/buttons.html5.js +0 -1370
  52. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons/buttons.html5.min.js +0 -26
  53. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons/buttons.print.js +0 -194
  54. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons/buttons.print.min.js +0 -4
  55. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons/dataTables.buttons.js +0 -1705
  56. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons/dataTables.buttons.min.js +0 -37
  57. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons-bs/css/buttons.bootstrap.css +0 -158
  58. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons-bs/css/buttons.bootstrap.min.css +0 -1
  59. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons-bs/js/buttons.bootstrap.js +0 -68
  60. dryad2dataverse-0.7.6/docs/dbase_structure/bower/datatables.net-buttons-bs/js/buttons.bootstrap.min.js +0 -6
  61. dryad2dataverse-0.7.6/docs/dbase_structure/bower/font-awesome/css/font-awesome.css +0 -2337
  62. dryad2dataverse-0.7.6/docs/dbase_structure/bower/font-awesome/css/font-awesome.css.map +0 -7
  63. dryad2dataverse-0.7.6/docs/dbase_structure/bower/font-awesome/css/font-awesome.min.css +0 -4
  64. dryad2dataverse-0.7.6/docs/dbase_structure/bower/font-awesome/fonts/FontAwesome.otf +0 -0
  65. dryad2dataverse-0.7.6/docs/dbase_structure/bower/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  66. dryad2dataverse-0.7.6/docs/dbase_structure/bower/font-awesome/fonts/fontawesome-webfont.svg +0 -2671
  67. dryad2dataverse-0.7.6/docs/dbase_structure/bower/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  68. dryad2dataverse-0.7.6/docs/dbase_structure/bower/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  69. dryad2dataverse-0.7.6/docs/dbase_structure/bower/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  70. dryad2dataverse-0.7.6/docs/dbase_structure/bower/html5shiv/html5shiv.min.js +0 -4
  71. dryad2dataverse-0.7.6/docs/dbase_structure/bower/ionicons/css/ionicons.css +0 -1480
  72. dryad2dataverse-0.7.6/docs/dbase_structure/bower/ionicons/css/ionicons.min.css +0 -11
  73. dryad2dataverse-0.7.6/docs/dbase_structure/bower/ionicons/fonts/ionicons.eot +0 -0
  74. dryad2dataverse-0.7.6/docs/dbase_structure/bower/ionicons/fonts/ionicons.svg +0 -2230
  75. dryad2dataverse-0.7.6/docs/dbase_structure/bower/ionicons/fonts/ionicons.ttf +0 -0
  76. dryad2dataverse-0.7.6/docs/dbase_structure/bower/ionicons/fonts/ionicons.woff +0 -0
  77. dryad2dataverse-0.7.6/docs/dbase_structure/bower/jquery/jquery.js +0 -10253
  78. dryad2dataverse-0.7.6/docs/dbase_structure/bower/js-xlsx/xlsx.full.min.js +0 -22
  79. dryad2dataverse-0.7.6/docs/dbase_structure/bower/pdfmake/pdfmake.min.js +0 -29
  80. dryad2dataverse-0.7.6/docs/dbase_structure/bower/pdfmake/vfs_fonts.js +0 -6
  81. dryad2dataverse-0.7.6/docs/dbase_structure/bower/respond/respond.min.js +0 -5
  82. dryad2dataverse-0.7.6/docs/dbase_structure/bower/salvattore/salvattore.css +0 -53
  83. dryad2dataverse-0.7.6/docs/dbase_structure/bower/salvattore/salvattore.min.js +0 -7
  84. dryad2dataverse-0.7.6/docs/dbase_structure/column.js +0 -117
  85. dryad2dataverse-0.7.6/docs/dbase_structure/columns.html +0 -433
  86. dryad2dataverse-0.7.6/docs/dbase_structure/constraint.js +0 -14
  87. dryad2dataverse-0.7.6/docs/dbase_structure/constraints.html +0 -266
  88. dryad2dataverse-0.7.6/docs/dbase_structure/deletionOrder.txt +0 -6
  89. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/orphans/orphans.dot +0 -14
  90. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/orphans/orphans.png +0 -0
  91. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/summary/relationships.real.compact.dot +0 -67
  92. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/summary/relationships.real.compact.png +0 -0
  93. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/summary/relationships.real.large.dot +0 -75
  94. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/summary/relationships.real.large.png +0 -0
  95. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dryadFiles.1degree.dot +0 -28
  96. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dryadFiles.1degree.png +0 -0
  97. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dryadFiles.2degrees.dot +0 -64
  98. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dryadFiles.2degrees.png +0 -0
  99. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dryadStudy.1degree.dot +0 -70
  100. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dryadStudy.1degree.png +0 -0
  101. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dvFiles.1degree.dot +0 -32
  102. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dvFiles.1degree.png +0 -0
  103. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dvFiles.2degrees.dot +0 -68
  104. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dvFiles.2degrees.png +0 -0
  105. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dvStudy.1degree.dot +0 -28
  106. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dvStudy.1degree.png +0 -0
  107. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dvStudy.2degrees.dot +0 -64
  108. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/dvStudy.2degrees.png +0 -0
  109. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/failed_uploads.1degree.dot +0 -29
  110. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/failed_uploads.1degree.png +0 -0
  111. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/failed_uploads.2degrees.dot +0 -65
  112. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/failed_uploads.2degrees.png +0 -0
  113. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/lastcheck.1degree.dot +0 -14
  114. dryad2dataverse-0.7.6/docs/dbase_structure/diagrams/tables/lastcheck.1degree.png +0 -0
  115. dryad2dataverse-0.7.6/docs/dbase_structure/dryad_dataverse_monitor.sqlite3.%.xml +0 -52
  116. dryad2dataverse-0.7.6/docs/dbase_structure/favicon.png +0 -0
  117. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/indieflower/indie-flower-v8-latin-regular.eot +0 -0
  118. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/indieflower/indie-flower-v8-latin-regular.svg +0 -659
  119. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/indieflower/indie-flower-v8-latin-regular.ttf +0 -0
  120. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/indieflower/indie-flower-v8-latin-regular.woff +0 -0
  121. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/indieflower/indie-flower-v8-latin-regular.woff2 +0 -0
  122. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/indieflower/indie-flower.css +0 -12
  123. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-300.eot +0 -0
  124. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-300.svg +0 -347
  125. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-300.ttf +0 -0
  126. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-300.woff +0 -0
  127. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-300.woff2 +0 -0
  128. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-300italic.eot +0 -0
  129. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-300italic.svg +0 -357
  130. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-300italic.ttf +0 -0
  131. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-300italic.woff +0 -0
  132. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-300italic.woff2 +0 -0
  133. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-600.eot +0 -0
  134. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-600.svg +0 -343
  135. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-600.ttf +0 -0
  136. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-600.woff +0 -0
  137. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-600.woff2 +0 -0
  138. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-600italic.eot +0 -0
  139. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-600italic.svg +0 -350
  140. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-600italic.ttf +0 -0
  141. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-600italic.woff +0 -0
  142. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-600italic.woff2 +0 -0
  143. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-700.eot +0 -0
  144. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-700.svg +0 -339
  145. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-700.ttf +0 -0
  146. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-700.woff +0 -0
  147. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-700.woff2 +0 -0
  148. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-regular.eot +0 -0
  149. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-regular.svg +0 -344
  150. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-regular.ttf +0 -0
  151. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-regular.woff +0 -0
  152. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro-v10-latin-regular.woff2 +0 -0
  153. dryad2dataverse-0.7.6/docs/dbase_structure/fonts/source-sans-pro/source-sans-pro.css +0 -78
  154. dryad2dataverse-0.7.6/docs/dbase_structure/images/foreignKey.png +0 -0
  155. dryad2dataverse-0.7.6/docs/dbase_structure/images/foreignKeys.png +0 -0
  156. dryad2dataverse-0.7.6/docs/dbase_structure/images/primaryKey.png +0 -0
  157. dryad2dataverse-0.7.6/docs/dbase_structure/images/primaryKeys.png +0 -0
  158. dryad2dataverse-0.7.6/docs/dbase_structure/index.html +0 -312
  159. dryad2dataverse-0.7.6/docs/dbase_structure/info-html.txt +0 -5
  160. dryad2dataverse-0.7.6/docs/dbase_structure/insertionOrder.txt +0 -6
  161. dryad2dataverse-0.7.6/docs/dbase_structure/main.js +0 -69
  162. dryad2dataverse-0.7.6/docs/dbase_structure/orphans.html +0 -146
  163. dryad2dataverse-0.7.6/docs/dbase_structure/relationships.html +0 -168
  164. dryad2dataverse-0.7.6/docs/dbase_structure/relationships.js +0 -13
  165. dryad2dataverse-0.7.6/docs/dbase_structure/routines/routine.js +0 -34
  166. dryad2dataverse-0.7.6/docs/dbase_structure/routines.html +0 -164
  167. dryad2dataverse-0.7.6/docs/dbase_structure/routines.js +0 -70
  168. dryad2dataverse-0.7.6/docs/dbase_structure/schemaSpy.css +0 -162
  169. dryad2dataverse-0.7.6/docs/dbase_structure/schemaSpy.js +0 -45
  170. dryad2dataverse-0.7.6/docs/dbase_structure/tables/dryadFiles.html +0 -247
  171. dryad2dataverse-0.7.6/docs/dbase_structure/tables/dryadStudy.html +0 -341
  172. dryad2dataverse-0.7.6/docs/dbase_structure/tables/dvFiles.html +0 -315
  173. dryad2dataverse-0.7.6/docs/dbase_structure/tables/dvStudy.html +0 -247
  174. dryad2dataverse-0.7.6/docs/dbase_structure/tables/failed_uploads.html +0 -264
  175. dryad2dataverse-0.7.6/docs/dbase_structure/tables/lastcheck.html +0 -213
  176. dryad2dataverse-0.7.6/docs/dbase_structure/tables/table.js +0 -85
  177. dryad2dataverse-0.7.6/docs/faq.md +0 -109
  178. dryad2dataverse-0.7.6/docs/images/dryad2dataverseLogo.png +0 -0
  179. dryad2dataverse-0.7.6/docs/images/dryad2dataverseLogo.svg +0 -60
  180. dryad2dataverse-0.7.6/docs/index.md +0 -116
  181. dryad2dataverse-0.7.6/docs/installation.md +0 -72
  182. dryad2dataverse-0.7.6/docs/other_utils.md +0 -13
  183. dryad2dataverse-0.7.6/docs/pydoc-markdown.yml +0 -46
  184. dryad2dataverse-0.7.6/docs/reference.md +0 -92
  185. dryad2dataverse-0.7.6/docs/script.md +0 -121
  186. dryad2dataverse-0.7.6/docs/track.md +0 -5
  187. dryad2dataverse-0.7.6/license.md +0 -27
  188. dryad2dataverse-0.7.6/mkdocs.yml +0 -28
  189. dryad2dataverse-0.7.6/pyproject.toml +0 -46
  190. dryad2dataverse-0.7.6/requirements.txt +0 -8
  191. dryad2dataverse-0.7.6/setup.cfg +0 -4
  192. dryad2dataverse-0.7.6/setup.py +0 -19
  193. dryad2dataverse-0.7.6/src/dryad2dataverse.egg-info/SOURCES.txt +0 -206
  194. dryad2dataverse-0.7.6/src/dryad2dataverse.egg-info/dependency_links.txt +0 -1
  195. dryad2dataverse-0.7.6/src/dryad2dataverse.egg-info/entry_points.txt +0 -2
  196. dryad2dataverse-0.7.6/src/dryad2dataverse.egg-info/requires.txt +0 -8
  197. dryad2dataverse-0.7.6/src/dryad2dataverse.egg-info/top_level.txt +0 -1
  198. dryad2dataverse-0.7.6/tests/__init__.py +0 -0
  199. dryad2dataverse-0.7.6/tests/badURL.json +0 -1
  200. dryad2dataverse-0.7.6/tests/tests_monitor.py +0 -138
  201. dryad2dataverse-0.7.6/tests/tests_serializer.py +0 -238
  202. dryad2dataverse-0.7.6/tests/tests_transfer.py +0 -62
  203. {dryad2dataverse-0.7.6 → dryad2dataverse-0.7.9a0}/README.md +0 -0
  204. {dryad2dataverse-0.7.6 → dryad2dataverse-0.7.9a0}/src/dryad2dataverse/constants.py +0 -0
  205. {dryad2dataverse-0.7.6 → dryad2dataverse-0.7.9a0}/src/dryad2dataverse/exceptions.py +0 -0
  206. {dryad2dataverse-0.7.6 → dryad2dataverse-0.7.9a0}/src/dryad2dataverse/handlers.py +0 -0
  207. {dryad2dataverse-0.7.6 → dryad2dataverse-0.7.9a0}/src/dryad2dataverse/monitor.py +0 -0
  208. {dryad2dataverse-0.7.6 → dryad2dataverse-0.7.9a0}/src/dryad2dataverse/serializer.py +0 -0
  209. {dryad2dataverse-0.7.6 → dryad2dataverse-0.7.9a0}/src/dryad2dataverse/transfer.py +0 -0
@@ -1,30 +1,40 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: dryad2dataverse
3
- Version: 0.7.6
3
+ Version: 0.7.9a0
4
4
  Summary: Utility for copying and syncing data from a Dryad data repository to a Dataverse repository
5
- Author-email: Paul Lesack <paul.lesack@ubc.ca>
6
- Project-URL: Homepage, https://ubc-library-rc.github.io/dryad2dataverse
7
- Project-URL: Documentation, https://ubc-library-rc.github.io/dryad2dataverse
8
- Project-URL: Repository, https://github.com/ubc-library-rc/dryad2dataverse.git
9
- Project-URL: Tracker, https://github.com/ubc-library-rc/dryad2dataverse/issues
5
+ License: MIT
10
6
  Keywords: Harvard Dataverse,Dataverse,research data management,data repository,Dryad,datadryad.org,dataverse.org
7
+ Author: Paul Lesack
8
+ Author-email: paul.lesack@ubc.ca
9
+ Requires-Python: >=3.9, <4
11
10
  Classifier: Development Status :: 4 - Beta
12
11
  Classifier: Environment :: Console
13
12
  Classifier: Intended Audience :: Education
14
13
  Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
15
20
  Classifier: Topic :: Education
16
21
  Classifier: Topic :: Internet :: WWW/HTTP :: Site Management
17
22
  Classifier: Topic :: Utilities
18
- Requires-Python: >=3.6
23
+ Requires-Dist: certifi (>=2022.12.7)
24
+ Requires-Dist: chardet (>=3.0.4)
25
+ Requires-Dist: charset-normalizer (>=2.0.4)
26
+ Requires-Dist: idna (>=2.10.0)
27
+ Requires-Dist: pycryptodome (>=3.20.0)
28
+ Requires-Dist: pydoc-markdown (>=4.8.2,<5.0.0)
29
+ Requires-Dist: requests (>=2.26.0)
30
+ Requires-Dist: requests-toolbelt (>=0.9.1)
31
+ Requires-Dist: setuptools (>=80.8.0,<81.0.0)
32
+ Requires-Dist: urllib3 (>=1.26.6)
33
+ Project-URL: Bug Tracker, https://github.com/ubc-library-rc/dryad2dataverse/issues
34
+ Project-URL: Documentation, https://ubc-library-rc.github.io/dryad2dataverse
35
+ Project-URL: Homepage, https://ubc-library-rc.github.io/dryad2dataverse
36
+ Project-URL: Repository, https://github.com/ubc-library-rc/dryad2dataverse.git
19
37
  Description-Content-Type: text/markdown
20
- Requires-Dist: certifi>=2022.12.7
21
- Requires-Dist: charset-normalizer>=2.0.4
22
- Requires-Dist: chardet>=3.0.4
23
- Requires-Dist: idna>=2.10.0
24
- Requires-Dist: pycryptodome>=3.20.0
25
- Requires-Dist: requests>=2.26.0
26
- Requires-Dist: requests-toolbelt>=0.9.1
27
- Requires-Dist: urllib3>=1.26.6
28
38
 
29
39
  # dryad2dataverse
30
40
 
@@ -77,3 +87,4 @@ This very terse description is by no means the entirety of the documentation. Co
77
87
  A (much) more user-friendly version of the documentation is available at <https://ubc-library-rc.github.io/dryad2dataverse>, including full `dryadd` documentation and API information.
78
88
 
79
89
  Or if you've cloned the git repostory above, you can use [mkdocs](https://www.mkdocs.org/) and `mkdocs serve` to have a local server version of the documentation.
90
+
@@ -0,0 +1,60 @@
1
+ [project]
2
+ name = "dryad2dataverse"
3
+ version = "0.7.9a0"
4
+ description = "Utility for copying and syncing data from a Dryad data repository to a Dataverse repository"
5
+ authors = [
6
+ {name = "Paul Lesack",email = "paul.lesack@ubc.ca"}
7
+ ]
8
+ license = {text = "MIT"}
9
+ readme = "README.md"
10
+ requires-python = ">=3.9, <4"
11
+ dependencies = [
12
+ "certifi (>=2022.12.7)",
13
+ "charset-normalizer (>=2.0.4)",
14
+ "chardet (>=3.0.4)",
15
+ "idna (>=2.10.0)",
16
+ "pycryptodome (>=3.20.0)",
17
+ "requests (>=2.26.0)",
18
+ "requests-toolbelt (>=0.9.1)",
19
+ "urllib3 (>=1.26.6)",
20
+ "pydoc-markdown (>=4.8.2,<5.0.0)",
21
+ "setuptools (>=80.8.0,<81.0.0)"
22
+ ]
23
+
24
+ keywords =['Harvard Dataverse',
25
+ 'Dataverse',
26
+ 'research data management',
27
+ 'data repository',
28
+ 'Dryad',
29
+ 'datadryad.org',
30
+ 'dataverse.org']
31
+
32
+
33
+ [project.scripts]
34
+ #This should be restructured one day
35
+ dryadd = 'dryad2dataverse.scripts.dryadd:main'
36
+
37
+ [project.urls]
38
+ Homepage = 'https://ubc-library-rc.github.io/dryad2dataverse'
39
+ Documentation = 'https://ubc-library-rc.github.io/dryad2dataverse'
40
+ Repository = 'https://github.com/ubc-library-rc/dryad2dataverse.git'
41
+ "Bug Tracker" = 'https://github.com/ubc-library-rc/dryad2dataverse/issues'
42
+
43
+
44
+ [tool.poetry]
45
+ classifiers = ['Development Status :: 4 - Beta',
46
+ 'Environment :: Console',
47
+ 'Intended Audience :: Education',
48
+ 'License :: OSI Approved :: MIT License',
49
+ 'Topic :: Education',
50
+ 'Topic :: Internet :: WWW/HTTP :: Site Management',
51
+ 'Topic :: Utilities']
52
+
53
+ [tool.poetry.group.dev.dependencies]
54
+ pylint = ">=3.3.6"
55
+ mkdocs = ">=1.6.1"
56
+ pydoc-markdown = ">=4.8.2"
57
+
58
+ [build-system]
59
+ requires = ["poetry-core>=2.0.0,<3.0.0"]
60
+ build-backend = "poetry.core.masonry.api"
@@ -24,7 +24,7 @@ Modules included:
24
24
  '''
25
25
  import sys
26
26
 
27
- VERSION = (0, 7, 6)
27
+ VERSION = (0, 7, '9a0')
28
28
  __version__ = '.'.join([str(x) for x in VERSION])
29
29
  USERAGENT = (f'dryad2dataverse/v{__version__} ({sys.platform.capitalize()}); '
30
30
  f'Python {sys.version[:sys.version.find("(")-1]}')
@@ -15,6 +15,7 @@ import logging
15
15
  import logging.handlers
16
16
  import os
17
17
  import pathlib
18
+ import pprint
18
19
  import shutil
19
20
  import smtplib
20
21
  import sys
@@ -28,9 +29,12 @@ import dryad2dataverse.serializer
28
29
  import dryad2dataverse.transfer
29
30
  from dryad2dataverse.handlers import SSLSMTPHandler
30
31
 
31
- VERSION = (0, 6, 3)
32
+ VERSION = (0, 7, 1)
32
33
  __version__ = '.'.join([str(x) for x in VERSION])
33
34
 
35
+ USER_AGENT = {'User-agent': dryad2dataverse.USERAGENT}
36
+
37
+
34
38
  DRY = 'https://datadryad.org/api/v2'
35
39
 
36
40
  def new_content(serial):
@@ -215,6 +219,7 @@ def get_records(ror: 'str', mod_date=None, verbosity=True, timeout=100):
215
219
  '''
216
220
  headers = {'accept':'application/json',
217
221
  'Content-Type':'application/json'}
222
+ headers.update(USER_AGENT)
218
223
  per_page = 1
219
224
  params = {'affiliation' : ror,
220
225
  'per_page' : per_page}
@@ -344,6 +349,24 @@ def argp():
344
349
  required=False,
345
350
  dest='log',
346
351
  default='/var/log/dryadd.log')
352
+ parser.add_argument('--loglevel',
353
+ help='Log level of server rotating log. Choose one of '
354
+ 'debug, info, warning, error or critical. '
355
+ 'Note: case sensitive. '
356
+ 'Default: logging.warning.',
357
+ required=False,
358
+ dest='loglevel',
359
+ default='warning',
360
+ choices=['debug', 'info', 'warning','error','critical'])
361
+ parser.add_argument('--email-loglevel',
362
+ help='Log level of email log. Choose one of '
363
+ 'debug, info, warning, error or critical. '
364
+ 'Note: case sensitive. '
365
+ 'Default: warning',
366
+ required=False,
367
+ dest='email_loglevel',
368
+ default='warning',
369
+ choices=['debug', 'info', 'warning','error','critical'])
347
370
  parser.add_argument('-l', '--no_force_unlock',
348
371
  help='No forcible file unlock. Required '
349
372
  'if /lock endpint is restricted',
@@ -389,16 +412,14 @@ def argp():
389
412
  default=5,
390
413
  dest='testlimit')
391
414
  parser.add_argument('--version', action='version',
392
- version='%(prog)s '+__version__
393
- +'; dryad2dataverse '+
394
- dryad2dataverse.__version__,
415
+ version='dryad2dataverse ' + dryad2dataverse.__version__,
395
416
  help='Show version number and exit')
396
417
 
397
418
  return parser
398
419
 
399
420
  def set_constants(args):
400
421
  '''
401
- Set the appropriate dryad2dataverse constants
422
+ Set the appropriate dryad2dataverse "constants"
402
423
  '''
403
424
  dryad2dataverse.constants.DV_CONTACT_EMAIL = args.contact
404
425
  dryad2dataverse.constants.DV_CONTACT_ = args.contact
@@ -528,7 +549,31 @@ def verbo(verbosity:bool, **kwargs)->None:
528
549
  for key, value in kwargs.items():
529
550
  print(f'{key}: {value}')
530
551
 
531
- def main(log='/var/log/dryadd.log', level=logging.WARNING):
552
+ def anonymizer(args: argparse.Namespace) -> dict:
553
+ '''
554
+ Redacts sensitive info for the log when parsing arguments and returns a dictionary
555
+ with cleaner values.
556
+ '''
557
+ clean_me = args.__dict__.copy()#Don't work on the real thing!
558
+ cleanser = {x : 'REDACTED' for x in ['email', 'mailserve',
559
+ 'key', 'mailserve',
560
+ 'pwd', 'recipients',
561
+ 'user']}
562
+ clean_me.update(cleanser)
563
+ return clean_me
564
+
565
+ def bulklog(message, *logfuncs):
566
+ '''
567
+ Convenience logging function
568
+
569
+ message : str
570
+ log message
571
+ logfuncs: logging.Logger[.debug, .info, etc. method]
572
+ '''
573
+ for log in logfuncs:
574
+ log('%s', message)
575
+
576
+ def main():
532
577
  '''
533
578
  Main Dryad transfer daemon
534
579
 
@@ -542,16 +587,26 @@ def main(log='/var/log/dryadd.log', level=logging.WARNING):
542
587
  #pylint: disable=too-many-locals
543
588
  parser = argp()
544
589
  args = parser.parse_args()
545
- if args.log:
546
- log = args.log
547
- logger = rotating_log(log, level)
590
+
591
+ #Ensure log can be written
592
+ logpath = pathlib.Path(args.log)
593
+ if not logpath.parent.exists():
594
+ os.makedirs(logpath.parent)
548
595
 
549
596
  set_constants(args)
597
+
598
+ logger = rotating_log(args.log,
599
+ level=logging.getLevelName(args.loglevel.upper()))
600
+
550
601
  elog = email_log(args.mailserv, args.email, args.recipients,
551
- (args.user, args.pwd), port=args.port)
602
+ (args.user, args.pwd), port=args.port,
603
+ level = logging.getLevelName(args.email_log_level.upper()))
552
604
 
553
605
 
554
606
  logger.info('Beginning update process')
607
+ for logme in [elog, logger]:
608
+ logme.debug('Command line arguments: %s' , pprint.pprint(anonymizer(args)))
609
+
555
610
  monitor = dryad2dataverse.monitor.Monitor(args.dbase)
556
611
  #copy the database to make a backup, because paranoia is your friend
557
612
  if os.path.exists(dryad2dataverse.constants.DBASE):
@@ -690,7 +745,7 @@ def main(log='/var/log/dryadd.log', level=logging.WARNING):
690
745
  elog.info('Completed update process')
691
746
  finished = ('Dryad to Dataverse transfers completed',
692
747
  ('Dryad to Dataverse transfer daemon has completed.\n'
693
- f'Log available at: {log}'))
748
+ f'Log available at: {args.log}'))
694
749
  notify(finished, **vars(args))
695
750
 
696
751
  except dryad2dataverse.exceptions.DataverseBadApiKeyError as api_err:
@@ -1,42 +0,0 @@
1
- **/__pycache__/**
2
- **pyc
3
- **~
4
- *cfg
5
- *log
6
- analysis/crosswalk/.~*
7
- bin
8
- bin/**
9
- dryad2dataverse.egg-info
10
- filediff.py
11
- flake8.txt
12
- gitnotes.md
13
- include
14
- include/**
15
- lib
16
- lib/**
17
- tests/junk*.db
18
- tests/*bak.json
19
- tmp
20
- tmp/**
21
- x.py
22
- minisample.py
23
- man
24
- man/**
25
- daemon*
26
- daemon.cmd.soroban_test.txt
27
- daemon*.cmd.txt
28
- .readthedocs**
29
- docs/.readthe*
30
- scripts/dryadd_testing.py
31
- site/
32
- tests/basic_file_JSON.json
33
- binary_files
34
- binary_files/**
35
- scripts/testpickle
36
- scripts/dryadd_t.py
37
- dist/
38
- dist/**
39
- build/
40
- build/**
41
- bin/
42
- bin/**
@@ -1,79 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: dryad2dataverse
3
- Version: 0.7.6
4
- Summary: Utility for copying and syncing data from a Dryad data repository to a Dataverse repository
5
- Author-email: Paul Lesack <paul.lesack@ubc.ca>
6
- Project-URL: Homepage, https://ubc-library-rc.github.io/dryad2dataverse
7
- Project-URL: Documentation, https://ubc-library-rc.github.io/dryad2dataverse
8
- Project-URL: Repository, https://github.com/ubc-library-rc/dryad2dataverse.git
9
- Project-URL: Tracker, https://github.com/ubc-library-rc/dryad2dataverse/issues
10
- Keywords: Harvard Dataverse,Dataverse,research data management,data repository,Dryad,datadryad.org,dataverse.org
11
- Classifier: Development Status :: 4 - Beta
12
- Classifier: Environment :: Console
13
- Classifier: Intended Audience :: Education
14
- Classifier: License :: OSI Approved :: MIT License
15
- Classifier: Topic :: Education
16
- Classifier: Topic :: Internet :: WWW/HTTP :: Site Management
17
- Classifier: Topic :: Utilities
18
- Requires-Python: >=3.6
19
- Description-Content-Type: text/markdown
20
- Requires-Dist: certifi>=2022.12.7
21
- Requires-Dist: charset-normalizer>=2.0.4
22
- Requires-Dist: chardet>=3.0.4
23
- Requires-Dist: idna>=2.10.0
24
- Requires-Dist: pycryptodome>=3.20.0
25
- Requires-Dist: requests>=2.26.0
26
- Requires-Dist: requests-toolbelt>=0.9.1
27
- Requires-Dist: urllib3>=1.26.6
28
-
29
- # dryad2dataverse
30
-
31
- **dryad2dataverse** is a [Python](https://python.org) package and an associated console line application which allows easier transfer of metadata and data from a Dryad data repository (ie, <https://datadryad.org>) to a [Dataverse](https://dataverse.org/ "Dataverse software main site") repository. Dryad2dataverse is pure Python and should run on any platform which supports Python 3.6 or greater.
32
-
33
- Data transfers between repositories require local storage, so not all platforms will be equally suitable.
34
-
35
- ## Installing
36
-
37
- `pip install dryad2dataverse`
38
-
39
- ## Usage
40
-
41
- Most users will likely just want to use the command line transfer and monitor tool (`dryadd`) but the tools are available in any Python environment
42
-
43
- ### Command line application
44
-
45
- `dryadd [all the various options]`
46
-
47
- see all the options available with
48
-
49
- `dryadd -h`
50
-
51
- Initiate a transfer from a [Dryad](https://datadryad.org) repository to a [Dataverse](https://dataverse.org) repository.
52
-
53
- ### Using the package
54
-
55
- ```
56
- #Serializer
57
- import dryad2dataverse.serializer
58
- #Transfer
59
- import dryad2dataverse.transfer
60
- #Monitor
61
- #import dryad2dataverse.monitor
62
-
63
- i_heart_dryad = dryad2dataverse.serializer.Serializer('doi:10.5061/dryad.2rbnzs7jp')
64
- dv = dryad2dataverse.transfer.Transfer(i_heart_dryad)
65
- dv.download_files()
66
- dv.upload_study(targetDv='dryad')
67
- dv.upload_files()
68
-
69
- #For an explanation look at the more detailed docs
70
- #You know, like where your API key goes.
71
- ```
72
-
73
- ## Documentation
74
-
75
- This very terse description is by no means the entirety of the documentation. Complete plain text documentation is available in the `docs` directory of (https://github.com/ubc-library-rc/dryad2dataverse), beginning with `index.md`.
76
-
77
- A (much) more user-friendly version of the documentation is available at <https://ubc-library-rc.github.io/dryad2dataverse>, including full `dryadd` documentation and API information.
78
-
79
- Or if you've cloned the git repostory above, you can use [mkdocs](https://www.mkdocs.org/) and `mkdocs serve` to have a local server version of the documentation.
@@ -1,15 +0,0 @@
1
- title: dryad2dataverse
2
- remote_theme: ubc-library-rc/rc-theme
3
- color_scheme: rc
4
- github_repo_url: "https://github.com/ubc-library-rc/dryad2dataverse/"
5
-
6
- # license information for workshop content
7
- license_name: "MIT License"
8
- license_url: "https://opensource.org/licenses/MIT"
9
- #license_image_url: "https://i.creativecommons.org/l/by/4.0/88x31.png"
10
-
11
- # required for building jekyll site locally
12
- plugins:
13
- - jekyll-remote-theme
14
- - jekyll-seo-tag
15
-