cof-cli 1.1.0__tar.gz → 1.1.1__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 (38) hide show
  1. {cof_cli-1.1.0 → cof_cli-1.1.1}/PKG-INFO +1 -1
  2. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/__init__.py +1 -1
  3. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/cli.py +2 -0
  4. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/validate.py +4 -0
  5. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli.egg-info/PKG-INFO +1 -1
  6. {cof_cli-1.1.0 → cof_cli-1.1.1}/pyproject.toml +1 -1
  7. {cof_cli-1.1.0 → cof_cli-1.1.1}/README.md +0 -0
  8. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/cast.py +0 -0
  9. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/completeness.py +0 -0
  10. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/container.py +0 -0
  11. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/convert.py +0 -0
  12. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/memories.py +0 -0
  13. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/migrate.py +0 -0
  14. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/model.py +0 -0
  15. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/ops.py +0 -0
  16. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/attitude.schema.json +0 -0
  17. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/body.schema.json +0 -0
  18. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/card.schema.json +0 -0
  19. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/consent.schema.json +0 -0
  20. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/garments-1.0.json +0 -0
  21. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/hair.schema.json +0 -0
  22. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/manifest.schema.json +0 -0
  23. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/memory.schema.json +0 -0
  24. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/pose.schema.json +0 -0
  25. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/psyche.schema.json +0 -0
  26. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/skeleton.schema.json +0 -0
  27. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/visemes.schema.json +0 -0
  28. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/voice-profile.schema.json +0 -0
  29. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/schemas/weights.schema.json +0 -0
  30. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/selfdesc.py +0 -0
  31. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli/tokens.py +0 -0
  32. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli.egg-info/SOURCES.txt +0 -0
  33. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli.egg-info/dependency_links.txt +0 -0
  34. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli.egg-info/entry_points.txt +0 -0
  35. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli.egg-info/requires.txt +0 -0
  36. {cof_cli-1.1.0 → cof_cli-1.1.1}/cof_cli.egg-info/top_level.txt +0 -0
  37. {cof_cli-1.1.0 → cof_cli-1.1.1}/setup.cfg +0 -0
  38. {cof_cli-1.1.0 → cof_cli-1.1.1}/tests/test_roundtrip.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cof-cli
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: COF — Character Open File: validate, pack, unpack and convert .cof character containers
5
5
  Author: Yann Souetre
6
6
  License-Expression: MIT
@@ -1,5 +1,5 @@
1
1
  """cof-cli — reference tooling for COF (Character Open File)."""
2
2
 
3
- __version__ = "1.1.0"
3
+ __version__ = "1.1.1"
4
4
  MIMETYPE = "application/vnd.cof.character+zip"
5
5
  SPEC_VERSION = "1.1"
@@ -29,6 +29,8 @@ def _print_report(rep: Report, as_json: bool) -> int:
29
29
  print(f"ERROR {e}")
30
30
  for w in rep.warnings:
31
31
  print(f"WARN {w}")
32
+ for n in rep.info.get("notes") or []:
33
+ print(f"INFO {n}")
32
34
  c = rep.info.get("completeness")
33
35
  if c:
34
36
  print(f"completeness: {c['score']}/100 (level {c['level']}) — " + ", ".join(f"{k} {v}" for k, v in c["layers"].items()))
@@ -1062,6 +1062,10 @@ def _memory_rules(manifest: dict, src: Path, rep: "Report") -> None:
1062
1062
  nodes[vid] = node
1063
1063
  if not nodes:
1064
1064
  return
1065
+ if len(nodes) >= 20000:
1066
+ rep.warnings.append(f"{len(nodes)} memories: beyond 20 000 the reference tools no longer guarantee fluid reading and search (no limit in the format)")
1067
+ elif len(nodes) >= 5000:
1068
+ rep.info.setdefault("notes", []).append(f"{len(nodes)} memories: the reference tools are tuned for up to about 5 000 (the explorer and the builder open such files in optimized views)")
1065
1069
  owner = lambda vid: variant_owner(manifest, "memories", vid)
1066
1070
 
1067
1071
  def primary_lang(iid):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cof-cli
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: COF — Character Open File: validate, pack, unpack and convert .cof character containers
5
5
  Author: Yann Souetre
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cof-cli"
7
- version = "1.1.0"
7
+ version = "1.1.1"
8
8
  description = "COF — Character Open File: validate, pack, unpack and convert .cof character containers"
9
9
  readme = "README.md"
10
10
  license = "MIT"
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