numbers-parser 4.16.1__py3-none-any.whl → 4.16.3__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.
Binary file
numbers_parser/model.py CHANGED
@@ -790,9 +790,11 @@ class _NumbersModel(Cacheable):
790
790
  # Map table IDs to the base_owner_uids of the formula owners that match
791
791
  # the table model's haunted owner
792
792
  self._table_id_to_base_id = {
793
- table_id: formula_owner_to_base_owner_map[
794
- uuid_to_hex(self.objects[table_id].haunted_owner.owner_uid)
795
- ]
793
+ table_id: formula_owner_to_base_owner_map.get(
794
+ uuid_to_hex(self.objects[table_id].haunted_owner.owner_uid),
795
+ # Some older documents do not have this mapping
796
+ None,
797
+ )
796
798
  for table_id in self.table_ids()
797
799
  }
798
800
  self._table_base_id_to_formula_owner_id = {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: numbers-parser
3
- Version: 4.16.1
3
+ Version: 4.16.3
4
4
  Summary: Read and write Apple Numbers spreadsheets
5
5
  Author-email: Jon Connell <python@figsandfudge.com>
6
6
  License-Expression: MIT
@@ -13,8 +13,9 @@ Requires-Python: <4.0,>=3.9
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE.rst
15
15
  Requires-Dist: compact-json<2.0.0,>=1.1.3
16
- Requires-Dist: protobuf<6.0,>=4.0
17
- Requires-Dist: python-snappy<1.0,>=0.7
16
+ Requires-Dist: protobuf>=6.0
17
+ Requires-Dist: python-snappy>=0.7
18
+ Requires-Dist: cramjam>=2.11.0
18
19
  Requires-Dist: sigfig<2.0.0,>=1.3.3
19
20
  Requires-Dist: setuptools>=70.0.0
20
21
  Requires-Dist: importlib-resources>=6.1
@@ -484,6 +485,10 @@ The following limitations are expected to always remain:
484
485
  (introduced in `numbers-parser` version 4.16) is supported only for documents
485
486
  created by Numbers 12.0 and later. No warnings are issued for earlier
486
487
  Numbers documents.
488
+ - Only standard macOS fonts are not supported. If a document includes a non-standard
489
+ font, numbers-parser will issue a UnsupportedWarning and default styles to
490
+ Helvetica Neue. Reading font names from the system would add additional system-specific
491
+ dependencies to the package and so this is not planned to changed.
487
492
 
488
493
  ## License
489
494
 
@@ -13,12 +13,13 @@ numbers_parser/experimental.py,sha256=WARjTa-2ePb8Ga8Q6oDP6EJCs12ofLRF2YpwzUu66Z
13
13
  numbers_parser/formula.py,sha256=-OLT2D6uQF-JncXiHHm3jCVz7Y5keavTjZsGhQWuOjM,26466
14
14
  numbers_parser/iwafile.py,sha256=nVwCcXvx8TgX-DkYqSbcJQzKyXR1Z8_y547XeY7Y-fs,11948
15
15
  numbers_parser/iwork.py,sha256=Qx1Izf9cfQKnLTDiJyeCOsmL9PSsfV-XOf0Kkb2oPMo,9396
16
- numbers_parser/model.py,sha256=0FDT51SVk1CaKsRyCka-SHbVFMvDdATJ0YtJgBGUqRA,115589
16
+ numbers_parser/model.py,sha256=P4KGDpVsoBvjW-u3ToKv7Mbg8zGRkQJij2sWCyqNFIo,115680
17
17
  numbers_parser/numbers_cache.py,sha256=uGngtJmP_AEDGZphyJpOMJ1dq8VGEeDyPdyrVy1E7lU,1100
18
18
  numbers_parser/numbers_uuid.py,sha256=vVTgXgmtGx6PdbHfwyi82oRsZccmP7IW_o2q-6PGUNg,2880
19
19
  numbers_parser/roman.py,sha256=CErv1uRp8eE9Bsuh_QsrBAzKFsfHSEs8CHpfFW0Gd70,725
20
20
  numbers_parser/tokenizer.py,sha256=4pGdzX9zoxSYzaP7ywLwq8lOpVAm8hk96tMg9em7S6o,19804
21
21
  numbers_parser/xrefs.py,sha256=1krwlX64k_DqW0vn_CQ3WJE2-DpzsslNoYor9mBjSGs,29976
22
+ numbers_parser/data/empty.numbers,sha256=zQjVqcNGN-xNZh51_eAxD8Zxmxh88Sd7kpf4JygUA_E,90601
22
23
  numbers_parser/generated/TNArchives_pb2.py,sha256=Tq1UC2Ml1dzAQFIrz3Om-sGI903FBZmlN3GgYQNt4a8,15931
23
24
  numbers_parser/generated/TNArchives_sos_pb2.py,sha256=AYI1X5t5Gb4l941jXlHEY0v97ToIze0bSYBR7KQmS0A,1215
24
25
  numbers_parser/generated/TNCommandArchives_pb2.py,sha256=my5CgnWmqHa5p0NFf-aUC8aqEPz3-pXXlyz4UJmZKZE,18378
@@ -56,9 +57,9 @@ numbers_parser/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
56
57
  numbers_parser/generated/fontmap.py,sha256=ORrf3PtxG_gfT1t8R77yXjXBlIefRjvUCBUuG5RCTh8,23806
57
58
  numbers_parser/generated/functionmap.py,sha256=9OLSNlOVWxRO9xS8QZmK1HURpc11c1B5nIAAecUwA98,6082
58
59
  numbers_parser/generated/mapping.py,sha256=W6fEWqar3TFvx2wyWgK4NutIz9EYKtjChhSfho2FGQQ,32266
59
- numbers_parser-4.16.1.dist-info/licenses/LICENSE.rst,sha256=8vTa1-5KSdHrTpU9rlheO5005EWReEPMpjV7BjSaMc4,1050
60
- numbers_parser-4.16.1.dist-info/METADATA,sha256=xWxQs-7-3dVsXpfvQ0qAxGiZDehbesu1OQSsQDwR2FQ,22805
61
- numbers_parser-4.16.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
62
- numbers_parser-4.16.1.dist-info/entry_points.txt,sha256=_5biENfY3S-XG8BZL2AuE7Gvrw0zBwGjF6Un52u7FAk,165
63
- numbers_parser-4.16.1.dist-info/top_level.txt,sha256=EOag5_Q4xjG7gstnrNVeAF_CLUAJBR_HDvciqMQ9RQo,15
64
- numbers_parser-4.16.1.dist-info/RECORD,,
60
+ numbers_parser-4.16.3.dist-info/licenses/LICENSE.rst,sha256=8vTa1-5KSdHrTpU9rlheO5005EWReEPMpjV7BjSaMc4,1050
61
+ numbers_parser-4.16.3.dist-info/METADATA,sha256=GmeL2MD1qxLwRCVaKkjiH1AV9_iNZerbuR7YMGT9Ib4,23147
62
+ numbers_parser-4.16.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
63
+ numbers_parser-4.16.3.dist-info/entry_points.txt,sha256=_5biENfY3S-XG8BZL2AuE7Gvrw0zBwGjF6Un52u7FAk,165
64
+ numbers_parser-4.16.3.dist-info/top_level.txt,sha256=EOag5_Q4xjG7gstnrNVeAF_CLUAJBR_HDvciqMQ9RQo,15
65
+ numbers_parser-4.16.3.dist-info/RECORD,,