pycldf 2.0.1__tar.gz → 2.0.2__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 (92) hide show
  1. {pycldf-2.0.1 → pycldf-2.0.2}/CHANGELOG.md +6 -0
  2. {pycldf-2.0.1 → pycldf-2.0.2}/PKG-INFO +1 -1
  3. {pycldf-2.0.1 → pycldf-2.0.2}/setup.cfg +1 -1
  4. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/__init__.py +1 -1
  5. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/markdown.py +2 -1
  6. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf.egg-info/PKG-INFO +1 -1
  7. {pycldf-2.0.1 → pycldf-2.0.2}/CONTRIBUTING.md +0 -0
  8. {pycldf-2.0.1 → pycldf-2.0.2}/LICENSE +0 -0
  9. {pycldf-2.0.1 → pycldf-2.0.2}/MANIFEST.in +0 -0
  10. {pycldf-2.0.1 → pycldf-2.0.2}/README.md +0 -0
  11. {pycldf-2.0.1 → pycldf-2.0.2}/RELEASING.md +0 -0
  12. {pycldf-2.0.1 → pycldf-2.0.2}/pyproject.toml +0 -0
  13. {pycldf-2.0.1 → pycldf-2.0.2}/setup.py +0 -0
  14. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/__main__.py +0 -0
  15. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/_compat.py +0 -0
  16. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/cli_util.py +0 -0
  17. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/commands/__init__.py +0 -0
  18. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/commands/catmedia.py +0 -0
  19. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/commands/check.py +0 -0
  20. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/commands/createdb.py +0 -0
  21. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/commands/downloadmedia.py +0 -0
  22. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/commands/dumpdb.py +0 -0
  23. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/commands/markdown.py +0 -0
  24. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/commands/splitmedia.py +0 -0
  25. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/commands/stats.py +0 -0
  26. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/commands/validate.py +0 -0
  27. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/BorrowingTable-metadata.json +0 -0
  28. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/CodeTable-metadata.json +0 -0
  29. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/CognateTable-metadata.json +0 -0
  30. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/CognatesetTable-metadata.json +0 -0
  31. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/ContributionTable-metadata.json +0 -0
  32. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/EntryTable-metadata.json +0 -0
  33. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/ExampleTable-metadata.json +0 -0
  34. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/FormTable-metadata.json +0 -0
  35. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/FunctionalEquivalentTable-metadata.json +0 -0
  36. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/FunctionalEquivalentsetTable-metadata.json +0 -0
  37. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/LanguageTable-metadata.json +0 -0
  38. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/MediaTable-metadata.json +0 -0
  39. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/ParameterNetwork-metadata.json +0 -0
  40. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/ParameterTable-metadata.json +0 -0
  41. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/SenseTable-metadata.json +0 -0
  42. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/TreeTable-metadata.json +0 -0
  43. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/components/ValueTable-metadata.json +0 -0
  44. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/constraints.py +0 -0
  45. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/dataset.py +0 -0
  46. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/db.py +0 -0
  47. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/ext/__init__.py +0 -0
  48. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/ext/discovery.py +0 -0
  49. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/ext/markdown.py +0 -0
  50. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/ext/sql.py +0 -0
  51. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/fileutil.py +0 -0
  52. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/media.py +0 -0
  53. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/module.py +0 -0
  54. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/modules/Dictionary-metadata.json +0 -0
  55. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/modules/Generic-metadata.json +0 -0
  56. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/modules/ParallelText-metadata.json +0 -0
  57. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/modules/StructureDataset-metadata.json +0 -0
  58. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/modules/TextCorpus-metadata.json +0 -0
  59. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/modules/Wordlist-metadata.json +0 -0
  60. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/orm.py +0 -0
  61. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/schemautil.py +0 -0
  62. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/sliceutil.py +0 -0
  63. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/sources.py +0 -0
  64. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/stats.py +0 -0
  65. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/terms.py +0 -0
  66. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/terms.rdf +0 -0
  67. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/trees.py +0 -0
  68. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/urlutil.py +0 -0
  69. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/util.py +0 -0
  70. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf/validators.py +0 -0
  71. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf.egg-info/SOURCES.txt +0 -0
  72. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf.egg-info/dependency_links.txt +0 -0
  73. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf.egg-info/entry_points.txt +0 -0
  74. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf.egg-info/not-zip-safe +0 -0
  75. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf.egg-info/requires.txt +0 -0
  76. {pycldf-2.0.1 → pycldf-2.0.2}/src/pycldf.egg-info/top_level.txt +0 -0
  77. {pycldf-2.0.1 → pycldf-2.0.2}/test.md +0 -0
  78. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_cli.py +0 -0
  79. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_cli_util.py +0 -0
  80. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_dataset.py +0 -0
  81. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_db.py +0 -0
  82. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_ext_discovery.py +0 -0
  83. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_ext_markdown.py +0 -0
  84. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_ext_sql.py +0 -0
  85. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_media.py +0 -0
  86. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_misc.py +0 -0
  87. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_orm.py +0 -0
  88. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_paralleltext.py +0 -0
  89. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_sources.py +0 -0
  90. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_terms.py +0 -0
  91. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_trees.py +0 -0
  92. {pycldf-2.0.1 → pycldf-2.0.2}/tests/test_util.py +0 -0
@@ -3,6 +3,12 @@
3
3
  The `pycldf` package adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
4
 
5
5
 
6
+ ## [2.0.2] - 2026-05-14
7
+
8
+ - Fix bug whereby pipes in regular expression patterns would screw up table
9
+ formatting when inserted in markdown.
10
+
11
+
6
12
  ## [2.0.1] - 2026-05-05
7
13
 
8
14
  - Remove dependency on `tabulate`.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycldf
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: A python library to read and write CLDF datasets
5
5
  Home-page: https://github.com/cldf/pycldf
6
6
  Author: Robert Forkel
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = pycldf
3
- version = 2.0.1
3
+ version = 2.0.2
4
4
  author = Robert Forkel
5
5
  author_email = robert_forkel@eva.mpg.de
6
6
  description = A python library to read and write CLDF datasets
@@ -9,4 +9,4 @@ from pycldf.sources import *
9
9
  from pycldf.terms import *
10
10
 
11
11
  # flake8: noqa
12
- __version__ = "2.0.1"
12
+ __version__ = "2.0.2"
@@ -100,7 +100,8 @@ def _colrow(col, fks, pk, ds, rel_path):
100
100
  dt += '<br>Valid choices:<br>'
101
101
  dt += ''.join(f' `{w}`' for w in col.datatype.format.split('|'))
102
102
  elif col.datatype.base == 'string':
103
- dt += f'<br>Regex: `{col.datatype.format}`'
103
+ regex = col.datatype.format.replace("|", "\\|")
104
+ dt += f'<br>Regex: `{regex}`'
104
105
  if col.datatype.minimum:
105
106
  dt += f'<br>&ge; {col.datatype.minimum}'
106
107
  if col.datatype.maximum:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycldf
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: A python library to read and write CLDF datasets
5
5
  Home-page: https://github.com/cldf/pycldf
6
6
  Author: Robert Forkel
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes