tg-prepare 2.1.0b1__py3-none-any.whl → 2.1.0b3__py3-none-any.whl

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.

Potentially problematic release.


This version of tg-prepare might be problematic. Click here for more details.

Files changed (32) hide show
  1. {tg_prepare-2.1.0b1.dist-info → tg_prepare-2.1.0b3.dist-info}/METADATA +1 -1
  2. {tg_prepare-2.1.0b1.dist-info → tg_prepare-2.1.0b3.dist-info}/RECORD +32 -8
  3. tgp_backend/project.py +2 -2
  4. tgp_ui/static/css/bootstrap.min.css.map +1 -0
  5. tgp_ui/static/img/favicon.ico +0 -0
  6. tgp_ui/static/img/textgrid-logo.svg +1 -0
  7. tgp_ui/templates/details/empty_container.html +16 -0
  8. tgp_ui/templates/details/manage_collection.html +205 -0
  9. tgp_ui/templates/includes/set_session_id_form.html +16 -0
  10. tgp_ui/templates/includes/upload_form.html +131 -0
  11. tgp_ui/templates/modal/delete_project.html +25 -0
  12. tgp_ui/templates/modal/empty_container.html +9 -0
  13. tgp_ui/templates/modal/file_explorer_content.html +34 -0
  14. tgp_ui/templates/modal/file_explorer_main.html +22 -0
  15. tgp_ui/templates/modal/file_explorer_nextcloud.html +27 -0
  16. tgp_ui/templates/modal/github_modal.html +29 -0
  17. tgp_ui/templates/modal/nextcloud_login.html +48 -0
  18. tgp_ui/templates/modal/tei_explorer.html +58 -0
  19. tgp_ui/templates/modal/xpath_parser.html +52 -0
  20. tgp_ui/templates/tabs/check_result.html +90 -0
  21. tgp_ui/templates/tabs/edit_project.html +113 -0
  22. tgp_ui/templates/tabs/empty_container.html +12 -0
  23. tgp_ui/templates/tabs/import_data.html +138 -0
  24. tgp_ui/templates/tabs/manage_collections.html +88 -0
  25. tgp_ui/templates/tabs/select_directories.html +41 -0
  26. tgp_ui/templates/tabs/upload.html +42 -0
  27. tgp_ui/templates/tabs/validate_metadata.html +227 -0
  28. {tg_prepare-2.1.0b1.dist-info → tg_prepare-2.1.0b3.dist-info}/WHEEL +0 -0
  29. {tg_prepare-2.1.0b1.dist-info → tg_prepare-2.1.0b3.dist-info}/entry_points.txt +0 -0
  30. {tg_prepare-2.1.0b1.dist-info → tg_prepare-2.1.0b3.dist-info}/licenses/LICENSE +0 -0
  31. {tg_prepare-2.1.0b1.dist-info → tg_prepare-2.1.0b3.dist-info}/projects/.secret_key +0 -0
  32. {tg_prepare-2.1.0b1.dist-info → tg_prepare-2.1.0b3.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tg_prepare
3
- Version: 2.1.0b1
3
+ Version: 2.1.0b3
4
4
  Summary: Simple UI to handle TextGrid imports visually.
5
5
  Author: Ralf Klammer, Moritz Wilhelm
6
6
  Author-email: ralf.klammer@tu-dresden.de, moritz.wilhelm@tu-dresden.de
@@ -1,5 +1,5 @@
1
- tg_prepare-2.1.0b1.dist-info/licenses/LICENSE,sha256=deYu6g1OGKm0VUwhM4Octoh8qlzjsiHHxoI-KkCBVBE,11351
2
- tg_prepare-2.1.0b1.dist-info/projects/.secret_key,sha256=PF3sI74fctNP5J8NoHmvl6nRsvyTeGMU82UTY_E3re4,66
1
+ tg_prepare-2.1.0b3.dist-info/licenses/LICENSE,sha256=deYu6g1OGKm0VUwhM4Octoh8qlzjsiHHxoI-KkCBVBE,11351
2
+ tg_prepare-2.1.0b3.dist-info/projects/.secret_key,sha256=PF3sI74fctNP5J8NoHmvl6nRsvyTeGMU82UTY_E3re4,66
3
3
  tgp_backend/__init__.py,sha256=Hsy1huPlOgpNffJVJpxGZzUKdHU8X837K-cOW_DkEy0,373
4
4
  tgp_backend/auth.py,sha256=hUPd0rc01BTT003xpkdmhNc6o0JztbAdimyDb0B9oTQ,2293
5
5
  tgp_backend/cli.py,sha256=iw_gknn-_m_UFZZUKfkV9aJixG3sVcHIONybNtOG40I,551
@@ -7,7 +7,7 @@ tgp_backend/config.py,sha256=9rFr7bxZN4r1OOKaxs8eBYUnZ0_ccVHU6oqoEsNTKBE,922
7
7
  tgp_backend/directories.py,sha256=wNmwc2Uhd9ivZYIM9UkfCv2HkQY8pmDQk2y39wOgBQo,2366
8
8
  tgp_backend/interfaces.py,sha256=SO7mOdhkd1f7irUBrwFhp5aKx3UKkkUzU9QBYDl0Tvc,91
9
9
  tgp_backend/nextcloud.py,sha256=JNhyJfuR26o33r5QV37ClTALQm_fMQn451SMV5lixNc,5133
10
- tgp_backend/project.py,sha256=_qebCEkC_wRfSknOIL-c4BAPG830EUZ5m4HW_gkHRn4,12707
10
+ tgp_backend/project.py,sha256=lRWEbDCZRA3a_iMx1OWin3JgF-Li_HdYcqWwkme87oA,12704
11
11
  tgp_backend/session_manager.py,sha256=pQGhnXtGPqwdw6xQhZItjGgurx9JBUsIW8mzfSKk_WM,1395
12
12
  tgp_backend/tgclient.py,sha256=QG2iFPrv2qLL4FRXoEfXzEMJriroiIaNL9rkreGtzuQ,2961
13
13
  tgp_backend/util.py,sha256=4lTaC3liik2ixRcx5wDQS4-FW3QpPhRdXQm32_64J_E,3648
@@ -22,9 +22,12 @@ tgp_ui/routes/tabs.py,sha256=JaZpoY03S_p8uz_sVRCR-fIOfl-ml0M6CJ7_KaYN9aI,908
22
22
  tgp_ui/routes/views.py,sha256=ZgxcfEZoyE_4ABrnRtHc8FFR11Rufs8HVaUr4cOBshA,1814
23
23
  tgp_ui/static/css/bootstrap-icons.min.css,sha256=XxUvYRPQvG4RTCkukUmXwvf1N0YF9KQ_ocuWV6O1dk8,85797
24
24
  tgp_ui/static/css/bootstrap.min.css,sha256=djO3wMl9GeaC_u6K-ic4Uj_LKhRUSlUFcsruzS7v5ms,155845
25
+ tgp_ui/static/css/bootstrap.min.css.map,sha256=EBs_YesgSHsqjgt20O58j-TenKwqNKfiRs25z_PF4Lg,551641
25
26
  tgp_ui/static/css/main.css,sha256=EK8euwgxX8I3qsBiDmIvj8UBIxkSKQZz1mo_OX4Q1FQ,2641
26
27
  tgp_ui/static/css/navbar.css,sha256=D68mfVJ88zruV1sRH1D6zjwQ2MoHRy2HQ7BAn_8OSkc,1609
27
28
  tgp_ui/static/css/simpleXML.css,sha256=dfY7UZCiC79BkNOT1hM0GQ6v_yLSxhKCnmV0RZIT9S8,961
29
+ tgp_ui/static/img/favicon.ico,sha256=avMR6pxad-unbXWKHOw8LyGuF59y1-QwpwW3_bTMI0c,15086
30
+ tgp_ui/static/img/textgrid-logo.svg,sha256=wj4rBXvKsyASor_9lvpWQWb39CchruK4WPxE4phzbaI,35349
28
31
  tgp_ui/static/js/bootstrap.bundle.min.js,sha256=fh8VA992XMpeCZiRuU4xii75UIG6KvHrbUF8yIS_2_4,78743
29
32
  tgp_ui/static/js/collectionManager.js,sha256=gbeXe7CtEdCdka3WLfBx7cVRcT8cveUP_t3TDwRdgvo,2291
30
33
  tgp_ui/static/js/fileManager.js,sha256=_plx7zrC039-3y0ZqLd77ymDhTtAiJC3XOLSeAooYAc,7095
@@ -47,8 +50,29 @@ tgp_ui/templates/project_navbar.html,sha256=WyS8WNI7tgNDdYOkuFaXeu9A58ER3OK7puVN
47
50
  tgp_ui/templates/projects_main.html,sha256=2c6PNdomNV1w6j6e-FH27bvdwVNfrzTf5DY1pNzHuMM,2530
48
51
  tgp_ui/templates/publication.html,sha256=TXCHCE2198cHFmN4_l4JNmq0nQoy8GwnESePjRfjliU,9357
49
52
  tgp_ui/templates/tab_final_upload.html,sha256=Nn1pwxI_Y_XBB81N5l2G8P_pSsVOyS2AQLsp8IE9a4s,1663
50
- tg_prepare-2.1.0b1.dist-info/METADATA,sha256=sZRgS2wsd54fQOGcyShPWkEBMqpj0C08w8xXTzhfLrs,529
51
- tg_prepare-2.1.0b1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
52
- tg_prepare-2.1.0b1.dist-info/entry_points.txt,sha256=mbsfiEA8_fQdrFUE_oabDi-Syw8jjli37Ms7tawDDhs,78
53
- tg_prepare-2.1.0b1.dist-info/top_level.txt,sha256=ueOyX_KdozreQJD_HRs6kAsvGNO4vfM9B_QqqhdyRPI,19
54
- tg_prepare-2.1.0b1.dist-info/RECORD,,
53
+ tgp_ui/templates/details/empty_container.html,sha256=-xNao7K8Sw74WGuF4pbeBUFZI8wDk9a_O4bq-LiCHaU,553
54
+ tgp_ui/templates/details/manage_collection.html,sha256=BJ0KbKHe414aqlWhDS25D-NVmlkNWp9S7kSHNlsuZ_M,11582
55
+ tgp_ui/templates/includes/set_session_id_form.html,sha256=xj15HOl1ujsiYsolRN7c2IGjUhNY72MpzhTEx4UMAq8,814
56
+ tgp_ui/templates/includes/upload_form.html,sha256=q_Bn_IECfal7SOHtVn6ESQZV9n6WCtrrW7rbxw9e-ck,7005
57
+ tgp_ui/templates/modal/delete_project.html,sha256=H_IBQWPtY9-V47WWeEMsSg5CzqCk5lxBvKJbOnD-MWo,1285
58
+ tgp_ui/templates/modal/empty_container.html,sha256=UYq6AEqrUXY7Qtn4-HrwXxtOUOq2l1Qj5ZPxgWApg3Y,423
59
+ tgp_ui/templates/modal/file_explorer_content.html,sha256=x3cA2b02VqrGe-YBw2j91hKQg6Vm32bNa0j9XOrL6E8,1317
60
+ tgp_ui/templates/modal/file_explorer_main.html,sha256=mOhEuPzBHSVupBuRU5VYAaTZWYdm84W5kUntKHpa3jo,890
61
+ tgp_ui/templates/modal/file_explorer_nextcloud.html,sha256=gV5w4MF8pk4bg_MiCThGY49hlXIoFhXYE1QpYdO_O7I,1260
62
+ tgp_ui/templates/modal/github_modal.html,sha256=nzH7Y8uMzdGxTlgu8LvvdOyxXSjMyK6TXHL94WYTP9s,1460
63
+ tgp_ui/templates/modal/nextcloud_login.html,sha256=S6ogSAGqNiYOheOV6eZGss7f5XKq88ul0rIuCfftbQs,2411
64
+ tgp_ui/templates/modal/tei_explorer.html,sha256=4JL2d3CfThgDRGnFlhtFONVZBd7nEenmJuZHtYnVxuo,3134
65
+ tgp_ui/templates/modal/xpath_parser.html,sha256=Qkk2Mh53E8l4z486hcboTsQlPHoFPezbMP59pEwB0fY,2552
66
+ tgp_ui/templates/tabs/check_result.html,sha256=9P0xYBB0EGhpmp-xzJyiOjBqfqtxRx2h2Zgdvyw8GEI,4530
67
+ tgp_ui/templates/tabs/edit_project.html,sha256=ssbtzgY9VfTeCgghJR6iov1GdCB2TZ34-H4sTwZwIXQ,6923
68
+ tgp_ui/templates/tabs/empty_container.html,sha256=yBNUUdrbmNbTNdc7xK2HrwztrEpiRPqCICGo0mZNCIQ,433
69
+ tgp_ui/templates/tabs/import_data.html,sha256=UUwb1w5Ku-FZKfFIFnJKV6pSJ6azoJGqIxSgDPqva8I,7082
70
+ tgp_ui/templates/tabs/manage_collections.html,sha256=OHo7QTpFLlEXirPay4RQ2Jqt82yQg97w92Q_5j_KzDQ,4672
71
+ tgp_ui/templates/tabs/select_directories.html,sha256=JfP3Gj9mprcy-jpPxWS3eiLdI3XS3IAbgmYCFvi8vOQ,1989
72
+ tgp_ui/templates/tabs/upload.html,sha256=tc-yv-T6hg3-gD3P3Xz7Xdb8qYyaQ9FVoyWDw144mm0,1785
73
+ tgp_ui/templates/tabs/validate_metadata.html,sha256=USGG08KDMrc0rHtDEmma-DCbVEXbspMCIZhBqYfVpe4,12190
74
+ tg_prepare-2.1.0b3.dist-info/METADATA,sha256=nhNKW2XIdVSm0qQz8Unc-Qu0F8PvMx4F4KjA-yKGvHw,529
75
+ tg_prepare-2.1.0b3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
76
+ tg_prepare-2.1.0b3.dist-info/entry_points.txt,sha256=mbsfiEA8_fQdrFUE_oabDi-Syw8jjli37Ms7tawDDhs,78
77
+ tg_prepare-2.1.0b3.dist-info/top_level.txt,sha256=ueOyX_KdozreQJD_HRs6kAsvGNO4vfM9B_QqqhdyRPI,19
78
+ tg_prepare-2.1.0b3.dist-info/RECORD,,
tgp_backend/project.py CHANGED
@@ -37,7 +37,7 @@ class Project(object):
37
37
  self._project_config = None
38
38
  self._collections = None
39
39
  self._nextcloud = None
40
- self.tgm_project = TGMProject(self.metadatapath)
40
+ self.tg_project = TGProject(self.metadatapath)
41
41
 
42
42
  @property
43
43
  def name(self):
@@ -340,7 +340,7 @@ class TGProject(object):
340
340
  return False
341
341
 
342
342
  # step 1: create required metadata
343
- self.project.tgm_project.render_project()
343
+ self.project.tg_project.render_project()
344
344
 
345
345
  # step 2: push project to textgrid server
346
346
  for collection_name in self.collections: