pylode 2.10.3__tar.gz → 2.12.0__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 (307) hide show
  1. pyLODE-2.12.0/LICENSE +29 -0
  2. {pyLODE-2.10.3/pyLODE.egg-info → pyLODE-2.12.0}/PKG-INFO +7 -5
  3. {pyLODE-2.10.3 → pyLODE-2.12.0}/README.rst +5 -2
  4. {pyLODE-2.10.3 → pyLODE-2.12.0/pyLODE.egg-info}/PKG-INFO +7 -5
  5. {pyLODE-2.10.3 → pyLODE-2.12.0}/pyLODE.egg-info/SOURCES.txt +9 -1
  6. pyLODE-2.12.0/pyLODE.egg-info/requires.txt +4 -0
  7. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/__init__.py +1 -3
  8. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/profiles/base.py +3 -7
  9. pyLODE-2.12.0/pylode/profiles/mod.py +1583 -0
  10. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/profiles/profile.py +16 -13
  11. pyLODE-2.12.0/pylode/templates/ontdoc/class.html +134 -0
  12. pyLODE-2.12.0/pylode/templates/ontdoc/classes.html +11 -0
  13. pyLODE-2.12.0/pylode/templates/ontdoc/document.html +43 -0
  14. pyLODE-2.12.0/pylode/templates/ontdoc/metadata.html +127 -0
  15. pyLODE-2.12.0/pylode/templates/ontdoc/named_individual.html +65 -0
  16. pyLODE-2.12.0/pylode/templates/ontdoc/named_individuals.html +13 -0
  17. pyLODE-2.12.0/pylode/templates/ontdoc/properties.html +65 -0
  18. pyLODE-2.12.0/pylode/templates/ontdoc/property.html +143 -0
  19. pyLODE-2.12.0/requirements.txt +4 -0
  20. {pyLODE-2.10.3 → pyLODE-2.12.0}/setup.py +0 -2
  21. pyLODE-2.12.0/tests/test_issue_110_output.html +91220 -0
  22. pyLODE-2.12.0/upload-to-PyPI.txt +19 -0
  23. pyLODE-2.10.3/LICENSE +0 -643
  24. pyLODE-2.10.3/pyLODE.egg-info/requires.txt +0 -5
  25. pyLODE-2.10.3/pylode/_version.py +0 -5
  26. pyLODE-2.10.3/requirements.txt +0 -5
  27. pyLODE-2.10.3/tests/test_issue_110_output.html +0 -57727
  28. pyLODE-2.10.3/upload-to-PyPI.txt +0 -13
  29. {pyLODE-2.10.3 → pyLODE-2.12.0}/.gitignore +0 -0
  30. {pyLODE-2.10.3 → pyLODE-2.12.0}/Dockerfile +0 -0
  31. {pyLODE-2.10.3 → pyLODE-2.12.0}/img/favicon-16x16.png +0 -0
  32. {pyLODE-2.10.3 → pyLODE-2.12.0}/img/favicon-32x32.png +0 -0
  33. {pyLODE-2.10.3 → pyLODE-2.12.0}/img/pyLODE-250.png +0 -0
  34. {pyLODE-2.10.3 → pyLODE-2.12.0}/img/pyLODE.png +0 -0
  35. {pyLODE-2.10.3 → pyLODE-2.12.0}/pyLODE.egg-info/dependency_links.txt +0 -0
  36. {pyLODE-2.10.3 → pyLODE-2.12.0}/pyLODE.egg-info/entry_points.txt +0 -0
  37. {pyLODE-2.10.3 → pyLODE-2.12.0}/pyLODE.egg-info/top_level.txt +0 -0
  38. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/bin/pyLODE.exe +0 -0
  39. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/bin/pylode.app +0 -0
  40. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/bin/pylode.sh +0 -0
  41. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/cli.py +0 -0
  42. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/common.py +0 -0
  43. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/curies.py +0 -0
  44. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/_make_examples.py +0 -0
  45. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agift.ttl +0 -0
  46. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agift.vocpub.html +0 -0
  47. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agift.vocpub.md +0 -0
  48. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agrif-notitle.html +0 -0
  49. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agrif-notitle.md +0 -0
  50. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agrif-notitle.ttl +0 -0
  51. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agrif.adoc +0 -0
  52. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agrif.adoc.html +0 -0
  53. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agrif.html +0 -0
  54. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agrif.md +0 -0
  55. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agrif.nmpf.html +0 -0
  56. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agrif.ttl +0 -0
  57. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agrif.vocpub.html +0 -0
  58. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/agrif.vocpub.md +0 -0
  59. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/alternates.html +0 -0
  60. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/alternates.md +0 -0
  61. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/alternates.ttl +0 -0
  62. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/asgs.html +0 -0
  63. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/asgs.md +0 -0
  64. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/asgs.ttl +0 -0
  65. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/asgs.vocpub.html +0 -0
  66. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/asgs.vocpub.md +0 -0
  67. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/bfo.html +0 -0
  68. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/bfo.md +0 -0
  69. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/bfo.ttl +0 -0
  70. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/brick.html +0 -0
  71. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/brick.md +0 -0
  72. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/brick.ttl +0 -0
  73. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/collection-item-format.md +0 -0
  74. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/collection-item-format.ttl +0 -0
  75. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/collection-item-format.vocpub.html +0 -0
  76. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/collection-item-format.vocpub.md +0 -0
  77. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/crs.html +0 -0
  78. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/crs.md +0 -0
  79. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/crs.ttl +0 -0
  80. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/data-access-rights.ttl +0 -0
  81. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/data-access-rights.vocpub.html +0 -0
  82. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/data-access-rights.vocpub.md +0 -0
  83. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/datatype.html +0 -0
  84. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/datatype.md +0 -0
  85. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/datatype.ttl +0 -0
  86. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/dcat.ttl.broken +0 -0
  87. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/decprov.html +0 -0
  88. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/decprov.md +0 -0
  89. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/decprov.svg +0 -0
  90. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/decprov.ttl +0 -0
  91. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/doap.html +0 -0
  92. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/doap.md +0 -0
  93. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/doap.ttl +0 -0
  94. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/earth-science-data-category.ttl +0 -0
  95. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/earth-science-data-category.vocpub.html +0 -0
  96. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/earth-science-data-category.vocpub.md +0 -0
  97. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ebg.html +0 -0
  98. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ebg.ttl +0 -0
  99. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/examples-ont/examples.adoc +0 -0
  100. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/examples-ont/examples.adoc.html +0 -0
  101. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/examples-ont/examples.html +0 -0
  102. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/examples-ont/examples.md +0 -0
  103. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/examples-ont/examples.ttl +0 -0
  104. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/examples-ont/fish-food.png +0 -0
  105. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/examples-ont/toothy.png +0 -0
  106. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/foaf.html +0 -0
  107. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/foaf.md +0 -0
  108. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/foaf.ttl +0 -0
  109. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ga-skos.prof.html +0 -0
  110. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ga-skos.prof.md +0 -0
  111. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ga-skos.ttl +0 -0
  112. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geo.adoc +0 -0
  113. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geo.adoc.html +0 -0
  114. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geo.html +0 -0
  115. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geo.md +0 -0
  116. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geo.profile.prof.html +0 -0
  117. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geo.profile.prof.md +0 -0
  118. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geo.profile.ttl +0 -0
  119. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geo.ttl +0 -0
  120. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geoadminfeatures.html +0 -0
  121. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geoadminfeatures.md +0 -0
  122. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geoadminfeatures.ttl +0 -0
  123. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geofabric.html +0 -0
  124. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geofabric.md +0 -0
  125. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geofabric.ttl +0 -0
  126. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geosparql-profile.html +0 -0
  127. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geosparql-profile.ttl +0 -0
  128. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geox.html +0 -0
  129. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geox.md +0 -0
  130. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/geox.ttl +0 -0
  131. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/gnaf.html +0 -0
  132. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/gnaf.md +0 -0
  133. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/gnaf.ttl +0 -0
  134. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19115-1-RoleCodes.ttl +0 -0
  135. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19115-1-RoleCodes.vocpub.html +0 -0
  136. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19115-1-RoleCodes.vocpub.md +0 -0
  137. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/codelist.ttl +0 -0
  138. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/images/address.png +0 -0
  139. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/images/address_alias.png +0 -0
  140. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/images/address_component.png +0 -0
  141. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/images/address_position.png +0 -0
  142. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/images/address_provenance.png +0 -0
  143. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/images/addressable_object.png +0 -0
  144. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/images/addressed_period.png +0 -0
  145. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/images/diagrams.pptx +0 -0
  146. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/images/lifespan.png +0 -0
  147. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/images/major_classes.png +0 -0
  148. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/images/reference_object.png +0 -0
  149. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/iso19160-1.html +0 -0
  150. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/iso19160-1.ttl +0 -0
  151. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160/style.css +0 -0
  152. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160-1-nz-profile.html +0 -0
  153. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160-1-nz-profile.md +0 -0
  154. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso19160-1-nz-profile.ttl +0 -0
  155. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso21972.html +0 -0
  156. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso21972.md +0 -0
  157. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/iso21972.ttl +0 -0
  158. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/loci.html +0 -0
  159. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/loci.md +0 -0
  160. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/loci.ttl +0 -0
  161. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ogc/fonts/Lato-Regular.eot +0 -0
  162. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ogc/fonts/Lato-Regular.ttf +0 -0
  163. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ogc/fonts/Lato-Regular.woff +0 -0
  164. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ogc/fonts/Lato-Regular.woff2 +0 -0
  165. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ogc/hyf.3.html +0 -0
  166. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ogc/hyf.4.html +0 -0
  167. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ogc/hyf.5.html +0 -0
  168. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ogc/hyf.html +0 -0
  169. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ogc/hyf.skos.html +0 -0
  170. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ogc/hyf.ttl +0 -0
  171. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/om.html +0 -0
  172. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/om.md +0 -0
  173. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/om.ttl +0 -0
  174. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/owl.html +0 -0
  175. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/owl.md +0 -0
  176. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/owl.ttl +0 -0
  177. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/placenames.html +0 -0
  178. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/placenames.md +0 -0
  179. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/placenames.ttl +0 -0
  180. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/plot.html +0 -0
  181. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/plot.md +0 -0
  182. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/plot.ttl +0 -0
  183. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/project.adoc +0 -0
  184. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/project.adoc.html +0 -0
  185. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/project.html +0 -0
  186. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/project.md +0 -0
  187. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/project.ttl +0 -0
  188. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ra.html +0 -0
  189. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ra.md +0 -0
  190. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ra.ttl +0 -0
  191. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/rdf.html +0 -0
  192. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/rdf.md +0 -0
  193. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/rdf.ttl +0 -0
  194. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/rdfs.html +0 -0
  195. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/rdfs.md +0 -0
  196. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/rdfs.ttl +0 -0
  197. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/reg.html +0 -0
  198. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/reg.md +0 -0
  199. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/reg.png +0 -0
  200. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/reg.ttl +0 -0
  201. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/skos-thes.html +0 -0
  202. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/skos-thes.ttl +0 -0
  203. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/sosa.html +0 -0
  204. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/sosa.md +0 -0
  205. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/sosa.ttl +0 -0
  206. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ssn.html +0 -0
  207. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ssn.md +0 -0
  208. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/ssn.ttl +0 -0
  209. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/void/changelog.txt +0 -0
  210. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/void/figs.html +0 -0
  211. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/void/properties.png +0 -0
  212. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/void/style.css +0 -0
  213. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/void/void.html +0 -0
  214. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/void/void.md +0 -0
  215. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/examples/void/void.ttl +0 -0
  216. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/profiles/__init__.py +0 -0
  217. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/profiles/nmpf.py +0 -0
  218. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/profiles/ontdoc.py +0 -0
  219. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/profiles/prof.py +0 -0
  220. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/profiles/vocpub.py +0 -0
  221. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/pyLODE-cli.spec +0 -0
  222. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/server.py +0 -0
  223. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/style/pylode.css +0 -0
  224. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/agent.adoc +0 -0
  225. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/agent.html +0 -0
  226. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/agent.md +0 -0
  227. {pyLODE-2.10.3/pylode/templates/ontdoc → pyLODE-2.12.0/pylode/templates/mod}/class.html +0 -0
  228. {pyLODE-2.10.3/pylode/templates/ontdoc → pyLODE-2.12.0/pylode/templates/mod}/classes.html +0 -0
  229. {pyLODE-2.10.3/pylode/templates/ontdoc → pyLODE-2.12.0/pylode/templates/mod}/document.html +0 -0
  230. {pyLODE-2.10.3/pylode/templates/nmpf → pyLODE-2.12.0/pylode/templates/mod}/metadata.html +0 -0
  231. {pyLODE-2.10.3/pylode/templates/ontdoc → pyLODE-2.12.0/pylode/templates/mod}/named_individual.html +0 -0
  232. {pyLODE-2.10.3/pylode/templates/ontdoc → pyLODE-2.12.0/pylode/templates/mod}/named_individuals.html +0 -0
  233. {pyLODE-2.10.3/pylode/templates/nmpf → pyLODE-2.12.0/pylode/templates/mod}/properties.html +0 -0
  234. {pyLODE-2.10.3/pylode/templates/ontdoc → pyLODE-2.12.0/pylode/templates/mod}/property.html +0 -0
  235. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/namespaces.adoc +0 -0
  236. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/namespaces.html +0 -0
  237. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/namespaces.md +0 -0
  238. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/class.html +0 -0
  239. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/class.md +0 -0
  240. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/classes.html +0 -0
  241. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/classes.md +0 -0
  242. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/document.html +0 -0
  243. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/document.md +0 -0
  244. {pyLODE-2.10.3/pylode/templates/ontdoc → pyLODE-2.12.0/pylode/templates/nmpf}/metadata.html +0 -0
  245. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/metadata.md +0 -0
  246. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/named_individual.html +0 -0
  247. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/named_individual.md +0 -0
  248. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/named_individuals.html +0 -0
  249. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/named_individuals.md +0 -0
  250. {pyLODE-2.10.3/pylode/templates/ontdoc → pyLODE-2.12.0/pylode/templates/nmpf}/properties.html +0 -0
  251. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/properties.md +0 -0
  252. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/property.html +0 -0
  253. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/nmpf/property.md +0 -0
  254. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/class.adoc +0 -0
  255. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/class.md +0 -0
  256. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/classes.adoc +0 -0
  257. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/classes.md +0 -0
  258. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/document.adoc +0 -0
  259. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/document.md +0 -0
  260. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/metadata.adoc +0 -0
  261. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/metadata.md +0 -0
  262. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/named_individual.adoc +0 -0
  263. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/named_individual.md +0 -0
  264. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/named_individuals.adoc +0 -0
  265. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/named_individuals.md +0 -0
  266. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/properties.adoc +0 -0
  267. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/properties.md +0 -0
  268. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/property.adoc +0 -0
  269. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/ontdoc/property.md +0 -0
  270. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/orcid.adoc +0 -0
  271. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/orcid.html +0 -0
  272. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/orcid.md +0 -0
  273. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/prof/prof.html +0 -0
  274. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/prof/prof.md +0 -0
  275. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/prof/profile.html +0 -0
  276. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/prof/profile.md +0 -0
  277. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/prof/resource_descriptor.html +0 -0
  278. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/prof/resource_descriptor.md +0 -0
  279. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/collection.html +0 -0
  280. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/collection.md +0 -0
  281. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/collections.html +0 -0
  282. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/collections.md +0 -0
  283. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/concept.html +0 -0
  284. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/concept.md +0 -0
  285. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/concept_hierarchy.html +0 -0
  286. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/concept_scheme.html +0 -0
  287. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/concept_scheme.md +0 -0
  288. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/concepts.html +0 -0
  289. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/concepts.md +0 -0
  290. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/taxonomy.html +0 -0
  291. {pyLODE-2.10.3 → pyLODE-2.12.0}/pylode/templates/vocpub/taxonomy.md +0 -0
  292. {pyLODE-2.10.3 → pyLODE-2.12.0}/requirements-pyinstaller.txt +0 -0
  293. {pyLODE-2.10.3 → pyLODE-2.12.0}/requirements.dev.txt +0 -0
  294. {pyLODE-2.10.3 → pyLODE-2.12.0}/requirements.server.txt +0 -0
  295. {pyLODE-2.10.3 → pyLODE-2.12.0}/setup.cfg +0 -0
  296. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/agrif.html +0 -0
  297. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/agrif.ttl +0 -0
  298. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/decprov.ttl +0 -0
  299. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/simpleont.ttl +0 -0
  300. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/test_adoc.py +0 -0
  301. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/test_baseprofile.py +0 -0
  302. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/test_class.py +0 -0
  303. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/test_issue_110.py +0 -0
  304. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/test_issue_110_input.ttl +0 -0
  305. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/test_metadata.py +0 -0
  306. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/test_ontdoc.py +0 -0
  307. {pyLODE-2.10.3 → pyLODE-2.12.0}/tests/test_property.py +0 -0
pyLODE-2.12.0/LICENSE ADDED
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2019-2021, Nicholas J. Car
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyLODE
3
- Version: 2.10.3
3
+ Version: 2.12.0
4
4
  Summary: An OWL ontology documentation tool using Python and templating, based on LODE.
5
5
  Home-page: https://github.com/rdflib/pyLODE
6
6
  Author: Nicholas J. Car
7
7
  Author-email: nicholas.car@surroundaustralia.com
8
8
  License: LICENSE
9
- Download-URL: https://github.com/rdflib/pyLODE/archive/v2.10.0.tar.gz
9
+ Download-URL: https://github.com/rdflib/pyLODE/archive/v2.12.0.tar.gz
10
10
  Project-URL: Bug Reports, https://github.com/rdflib/pyLODE/issues
11
11
  Project-URL: Source, https://github.com/rdflib/pyLODE/
12
12
  Description: .. image:: https://rawcdn.githack.com/RDFLib/pyLODE/b1ff1b1e19262cdc21ee28c7362b1690ca18e30b/img/pyLODE-250.png
@@ -774,7 +774,7 @@ Description: .. image:: https://rawcdn.githack.com/RDFLib/pyLODE/b1ff1b1e19262cd
774
774
  Current Release
775
775
  ---------------
776
776
 
777
- The current release, as of May, 2021, is **2.10.0**.
777
+ The current release, as of August, 2021, is **2.12.0**.
778
778
 
779
779
  Release Schedule
780
780
  ----------------
@@ -784,7 +784,9 @@ Description: .. image:: https://rawcdn.githack.com/RDFLib/pyLODE/b1ff1b1e19262cd
784
784
  :widths: 15, 10, 30
785
785
 
786
786
  3.0, *?*, "Will include pre-testing inputs with SHACL"
787
- **2.10.0**, 24 May 2021, "Update Windows EXE build process, simplified versioning"
787
+ **2.12.0**, 12 Aug 2021, "Changed license to BSD 3-clause (like RDFlib)"
788
+ 2.11.0, 11 Aug 2021, "Updates to work with rdflib 6.0.0"
789
+ 2.10.0, 24 May 2021, "Update Windows EXE build process, simplified versioning"
788
790
  2.9.1, 28 Apr 2021, "Support for ASCIIDOC format (OntDoc profile only)"
789
791
  2.8.11, 28 Apr 2021, "Further changes for PyPI only"
790
792
  2.8.10, 27 Apr 2021, "Further changes for PyPI only"
@@ -812,6 +814,7 @@ Description: .. image:: https://rawcdn.githack.com/RDFLib/pyLODE/b1ff1b1e19262cd
812
814
 
813
815
  2.0 - current
814
816
  ~~~~~~~~~~~~~~
817
+ - works with rdflib 6.0.0
815
818
  - handles complex Examples (``skos:example``)
816
819
  - can export to ASCIIDOC format
817
820
  - includes 3rd-party-created profile: NMPF
@@ -866,7 +869,6 @@ Classifier: Intended Audience :: Developers
866
869
  Classifier: Natural Language :: English
867
870
  Classifier: Programming Language :: Python :: 3
868
871
  Classifier: Programming Language :: Python :: 3 :: Only
869
- Classifier: Programming Language :: Python :: 3.6
870
872
  Classifier: Programming Language :: Python :: 3.7
871
873
  Classifier: Programming Language :: Python :: 3.8
872
874
  Classifier: Programming Language :: Python :: 3.9
@@ -763,7 +763,7 @@ and change/add development priorities.
763
763
  Current Release
764
764
  ---------------
765
765
 
766
- The current release, as of May, 2021, is **2.10.0**.
766
+ The current release, as of August, 2021, is **2.12.0**.
767
767
 
768
768
  Release Schedule
769
769
  ----------------
@@ -773,7 +773,9 @@ Release Schedule
773
773
  :widths: 15, 10, 30
774
774
 
775
775
  3.0, *?*, "Will include pre-testing inputs with SHACL"
776
- **2.10.0**, 24 May 2021, "Update Windows EXE build process, simplified versioning"
776
+ **2.12.0**, 12 Aug 2021, "Changed license to BSD 3-clause (like RDFlib)"
777
+ 2.11.0, 11 Aug 2021, "Updates to work with rdflib 6.0.0"
778
+ 2.10.0, 24 May 2021, "Update Windows EXE build process, simplified versioning"
777
779
  2.9.1, 28 Apr 2021, "Support for ASCIIDOC format (OntDoc profile only)"
778
780
  2.8.11, 28 Apr 2021, "Further changes for PyPI only"
779
781
  2.8.10, 27 Apr 2021, "Further changes for PyPI only"
@@ -801,6 +803,7 @@ Expected to handle
801
803
 
802
804
  2.0 - current
803
805
  ~~~~~~~~~~~~~~
806
+ - works with rdflib 6.0.0
804
807
  - handles complex Examples (``skos:example``)
805
808
  - can export to ASCIIDOC format
806
809
  - includes 3rd-party-created profile: NMPF
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyLODE
3
- Version: 2.10.3
3
+ Version: 2.12.0
4
4
  Summary: An OWL ontology documentation tool using Python and templating, based on LODE.
5
5
  Home-page: https://github.com/rdflib/pyLODE
6
6
  Author: Nicholas J. Car
7
7
  Author-email: nicholas.car@surroundaustralia.com
8
8
  License: LICENSE
9
- Download-URL: https://github.com/rdflib/pyLODE/archive/v2.10.0.tar.gz
9
+ Download-URL: https://github.com/rdflib/pyLODE/archive/v2.12.0.tar.gz
10
10
  Project-URL: Bug Reports, https://github.com/rdflib/pyLODE/issues
11
11
  Project-URL: Source, https://github.com/rdflib/pyLODE/
12
12
  Description: .. image:: https://rawcdn.githack.com/RDFLib/pyLODE/b1ff1b1e19262cdc21ee28c7362b1690ca18e30b/img/pyLODE-250.png
@@ -774,7 +774,7 @@ Description: .. image:: https://rawcdn.githack.com/RDFLib/pyLODE/b1ff1b1e19262cd
774
774
  Current Release
775
775
  ---------------
776
776
 
777
- The current release, as of May, 2021, is **2.10.0**.
777
+ The current release, as of August, 2021, is **2.12.0**.
778
778
 
779
779
  Release Schedule
780
780
  ----------------
@@ -784,7 +784,9 @@ Description: .. image:: https://rawcdn.githack.com/RDFLib/pyLODE/b1ff1b1e19262cd
784
784
  :widths: 15, 10, 30
785
785
 
786
786
  3.0, *?*, "Will include pre-testing inputs with SHACL"
787
- **2.10.0**, 24 May 2021, "Update Windows EXE build process, simplified versioning"
787
+ **2.12.0**, 12 Aug 2021, "Changed license to BSD 3-clause (like RDFlib)"
788
+ 2.11.0, 11 Aug 2021, "Updates to work with rdflib 6.0.0"
789
+ 2.10.0, 24 May 2021, "Update Windows EXE build process, simplified versioning"
788
790
  2.9.1, 28 Apr 2021, "Support for ASCIIDOC format (OntDoc profile only)"
789
791
  2.8.11, 28 Apr 2021, "Further changes for PyPI only"
790
792
  2.8.10, 27 Apr 2021, "Further changes for PyPI only"
@@ -812,6 +814,7 @@ Description: .. image:: https://rawcdn.githack.com/RDFLib/pyLODE/b1ff1b1e19262cd
812
814
 
813
815
  2.0 - current
814
816
  ~~~~~~~~~~~~~~
817
+ - works with rdflib 6.0.0
815
818
  - handles complex Examples (``skos:example``)
816
819
  - can export to ASCIIDOC format
817
820
  - includes 3rd-party-created profile: NMPF
@@ -866,7 +869,6 @@ Classifier: Intended Audience :: Developers
866
869
  Classifier: Natural Language :: English
867
870
  Classifier: Programming Language :: Python :: 3
868
871
  Classifier: Programming Language :: Python :: 3 :: Only
869
- Classifier: Programming Language :: Python :: 3.6
870
872
  Classifier: Programming Language :: Python :: 3.7
871
873
  Classifier: Programming Language :: Python :: 3.8
872
874
  Classifier: Programming Language :: Python :: 3.9
@@ -20,7 +20,6 @@ pyLODE.egg-info/entry_points.txt
20
20
  pyLODE.egg-info/requires.txt
21
21
  pyLODE.egg-info/top_level.txt
22
22
  pylode/__init__.py
23
- pylode/_version.py
24
23
  pylode/cli.py
25
24
  pylode/common.py
26
25
  pylode/curies.py
@@ -203,6 +202,7 @@ pylode/examples/void/void.md
203
202
  pylode/examples/void/void.ttl
204
203
  pylode/profiles/__init__.py
205
204
  pylode/profiles/base.py
205
+ pylode/profiles/mod.py
206
206
  pylode/profiles/nmpf.py
207
207
  pylode/profiles/ontdoc.py
208
208
  pylode/profiles/prof.py
@@ -218,6 +218,14 @@ pylode/templates/namespaces.md
218
218
  pylode/templates/orcid.adoc
219
219
  pylode/templates/orcid.html
220
220
  pylode/templates/orcid.md
221
+ pylode/templates/mod/class.html
222
+ pylode/templates/mod/classes.html
223
+ pylode/templates/mod/document.html
224
+ pylode/templates/mod/metadata.html
225
+ pylode/templates/mod/named_individual.html
226
+ pylode/templates/mod/named_individuals.html
227
+ pylode/templates/mod/properties.html
228
+ pylode/templates/mod/property.html
221
229
  pylode/templates/nmpf/class.html
222
230
  pylode/templates/nmpf/class.md
223
231
  pylode/templates/nmpf/classes.html
@@ -0,0 +1,4 @@
1
+ jinja2
2
+ markdown
3
+ rdflib==6.0.0
4
+ requests
@@ -1,6 +1,4 @@
1
- from rdflib.plugin import register, Serializer
2
- register("json-ld", Serializer, "rdflib_jsonld.serializer", "JsonLDSerializer")
3
- __version__ = "2.10.0"
1
+ __version__ = "2.12.0"
4
2
 
5
3
  from .common import *
6
4
  from .profiles import OntDoc, Prof, VocPub, NMPF, PROFILES, RDF_MEDIA_TYPES
@@ -1,7 +1,7 @@
1
1
  import collections
2
2
  from itertools import chain
3
3
  from jinja2 import Environment, FileSystemLoader
4
- from rdflib import SDO, SKOS, OWL, URIRef, RDF, PROF, Literal, XSD, Graph, Namespace, FOAF, Graph
4
+ from rdflib import SDO, SKOS, OWL, URIRef, RDF, PROF, Literal, XSD, Namespace, FOAF, Graph
5
5
 
6
6
  from pylode.common import TEMPLATES_DIR
7
7
 
@@ -460,11 +460,7 @@ class BaseProfile:
460
460
  if self.METADATA.get("repository") is not None:
461
461
  g.add((uri, SDO.codeRepository, repository))
462
462
 
463
- # make sure the json-ld serializer is registered
464
- from rdflib.plugin import register, Serializer
465
- register('json-ld', Serializer, 'rdflib_jsonld.serializer', 'JsonLDSerializer')
466
-
467
- return g.serialize(format="json-ld").decode("utf-8")
463
+ return g.serialize(format="json-ld")
468
464
 
469
465
  def _make_agent_link(self, name, url=None, email=None, affiliation=None):
470
466
  if self.outputformat == "md":
@@ -534,7 +530,7 @@ class BaseProfile:
534
530
  email = str(o).split("/")[-1].split("#")[-1] # remove base URI leaving only email address
535
531
  elif p in [SDO.memberOf, SDO.affiliation]:
536
532
  for p2, o2 in self.G.predicate_objects(subject=o):
537
- if p2 in [FOAF.homepage, SDO.identifier, SDO.url]: # TODO: split homepage form IDs, cater for rdfs:seeAlso
533
+ if p2 in [FOAF.homepage, SDO.identifier, SDO.url]: # TODO: split homepage from IDs, cater for rdfs:seeAlso
538
534
  org_url = str(o2)
539
535
  elif p2 in [FOAF.name, SDO.name]:
540
536
  org_name = str(o2)