ftmq 4.3.1__tar.gz → 4.3.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 (37) hide show
  1. {ftmq-4.3.1 → ftmq-4.3.2}/PKG-INFO +2 -2
  2. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/__init__.py +1 -1
  3. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/model/dataset.py +1 -0
  4. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/util.py +2 -2
  5. {ftmq-4.3.1 → ftmq-4.3.2}/pyproject.toml +2 -2
  6. {ftmq-4.3.1 → ftmq-4.3.2}/LICENSE +0 -0
  7. {ftmq-4.3.1 → ftmq-4.3.2}/NOTICE +0 -0
  8. {ftmq-4.3.1 → ftmq-4.3.2}/README.md +0 -0
  9. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/aggregate.py +0 -0
  10. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/aggregations.py +0 -0
  11. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/cli.py +0 -0
  12. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/enums.py +0 -0
  13. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/filters.py +0 -0
  14. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/io.py +0 -0
  15. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/logging.py +0 -0
  16. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/model/__init__.py +0 -0
  17. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/model/entity.py +0 -0
  18. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/model/mixins.py +0 -0
  19. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/model/stats.py +0 -0
  20. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/query.py +0 -0
  21. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/similar.py +0 -0
  22. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/sql.py +0 -0
  23. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/__init__.py +0 -0
  24. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/aleph.py +0 -0
  25. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/base.py +0 -0
  26. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/fragments/__init__.py +0 -0
  27. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/fragments/dataset.py +0 -0
  28. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/fragments/loader.py +0 -0
  29. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/fragments/settings.py +0 -0
  30. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/fragments/store.py +0 -0
  31. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/fragments/utils.py +0 -0
  32. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/lake.py +0 -0
  33. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/level.py +0 -0
  34. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/memory.py +0 -0
  35. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/redis.py +0 -0
  36. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/store/sql.py +0 -0
  37. {ftmq-4.3.1 → ftmq-4.3.2}/ftmq/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ftmq
3
- Version: 4.3.1
3
+ Version: 4.3.2
4
4
  Summary: followthemoney query dsl and io helpers
5
5
  License: AGPLv3+
6
6
  License-File: LICENSE
@@ -39,7 +39,7 @@ Requires-Dist: pycountry (>=24.6.1,<25.0.0)
39
39
  Requires-Dist: pydantic (>=2.11.3,<3.0.0)
40
40
  Requires-Dist: pyicu (>=2.15.2,<3.0.0)
41
41
  Requires-Dist: redis (>=5.2.1,<6.0.0) ; extra == "redis"
42
- Requires-Dist: rigour (>=1.4.0,<2.0.0)
42
+ Requires-Dist: rigour (>=1.4.1,<2.0.0)
43
43
  Requires-Dist: sqlalchemy (>=2.0.36,<3.0.0) ; extra == "postgres"
44
44
  Requires-Dist: sqlalchemy (>=2.0.36,<3.0.0) ; extra == "sql"
45
45
  Project-URL: Documentation, https://docs.investigraph.dev/lib/ftmq
@@ -2,7 +2,7 @@ from ftmq.io import smart_read_proxies, smart_write_proxies
2
2
  from ftmq.query import Query
3
3
  from ftmq.util import make_entity
4
4
 
5
- __version__ = "4.3.1"
5
+ __version__ = "4.3.2"
6
6
  __all__ = [
7
7
  "smart_read_proxies",
8
8
  "smart_write_proxies",
@@ -16,6 +16,7 @@ ContentType = Literal["documents", "structured", "mixed"]
16
16
 
17
17
 
18
18
  class Dataset(BaseModel, _DatasetModel):
19
+ prefix: str | None = None
19
20
  maintainer: DataPublisher | None = None
20
21
  stats: DatasetStats = DatasetStats()
21
22
  git_repo: AnyUrl | None = None
@@ -13,7 +13,7 @@ from followthemoney.proxy import EntityProxy
13
13
  from followthemoney.schema import Schema
14
14
  from followthemoney.types import registry
15
15
  from followthemoney.util import make_entity_id, sanitize_text
16
- from normality import collapse_spaces, latinize_text, slugify
16
+ from normality import latinize_text, slugify, squash_spaces
17
17
  from rigour.names import Name, Symbol, tag_org_name, tag_person_name
18
18
  from rigour.names.tokenize import normalize_name
19
19
  from rigour.text.scripts import can_latinize
@@ -321,7 +321,7 @@ def clean_string(value: Any) -> str | None:
321
321
  value = sanitize_text(value)
322
322
  if value is None:
323
323
  return
324
- return collapse_spaces(value)
324
+ return squash_spaces(value)
325
325
 
326
326
 
327
327
  def clean_name(value: Any) -> str | None:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ftmq"
3
- version = "4.3.1"
3
+ version = "4.3.2"
4
4
  description = "followthemoney query dsl and io helpers"
5
5
  authors = [{ name = "Simon Wörpel", email = "simon.woerpel@pm.me" }]
6
6
  license = "AGPLv3+"
@@ -18,7 +18,7 @@ dependencies = [
18
18
  "anystore (>=0.4.0,<0.5.0)",
19
19
  "followthemoney (>=4.3.2,<5.0.0)",
20
20
  "nomenklatura (>=4.1.10,<5.0.0)",
21
- "rigour (>=1.4.0,<2.0.0)",
21
+ "rigour (>=1.4.1,<2.0.0)",
22
22
  "click (>=8.2.1,<9.0.0)",
23
23
  "click-default-group (>=1.2.4,<2.0.0)",
24
24
  "orjson (>=3.10.18,<4.0.0)",
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