polypheny-prism-api 1.6__tar.gz → 2.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 (32) hide show
  1. polypheny-prism-api-2.0/MANIFEST.in +1 -0
  2. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/PKG-INFO +1 -1
  3. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/graph_frame_pb2.py +6 -3
  4. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/value_pb2.py +25 -9
  5. polypheny-prism-api-2.0/org/polypheny/prism/version.py +2 -0
  6. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/polypheny_prism_api.egg-info/PKG-INFO +1 -1
  7. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/polypheny_prism_api.egg-info/SOURCES.txt +2 -0
  8. polypheny-prism-api-2.0/polypheny_prism_api.egg-info/requires.txt +1 -0
  9. polypheny-prism-api-2.0/prism-api-version.txt +1 -0
  10. polypheny-prism-api-2.0/setup.py +48 -0
  11. polypheny-prism-api-1.6/org/polypheny/prism/version.py +0 -2
  12. polypheny-prism-api-1.6/polypheny_prism_api.egg-info/requires.txt +0 -1
  13. polypheny-prism-api-1.6/setup.py +0 -46
  14. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/LICENSE +0 -0
  15. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/README.md +0 -0
  16. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/connection_requests_pb2.py +0 -0
  17. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/connection_responses_pb2.py +0 -0
  18. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/document_frame_pb2.py +0 -0
  19. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/error_pb2.py +0 -0
  20. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/meta_requests_pb2.py +0 -0
  21. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/meta_responses_pb2.py +0 -0
  22. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/namespace_meta_requests_pb2.py +0 -0
  23. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/namespace_meta_responses_pb2.py +0 -0
  24. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/protointerface_pb2.py +0 -0
  25. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/relational_frame_pb2.py +0 -0
  26. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/statement_requests_pb2.py +0 -0
  27. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/statement_responses_pb2.py +0 -0
  28. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/transaction_requests_pb2.py +0 -0
  29. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/org/polypheny/prism/transaction_responses_pb2.py +0 -0
  30. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/polypheny_prism_api.egg-info/dependency_links.txt +0 -0
  31. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/polypheny_prism_api.egg-info/top_level.txt +0 -0
  32. {polypheny-prism-api-1.6 → polypheny-prism-api-2.0}/setup.cfg +0 -0
@@ -0,0 +1 @@
1
+ include prism-api-version.txt
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: polypheny-prism-api
3
- Version: 1.6
3
+ Version: 2.0
4
4
  Summary: Polypheny Prism API files for Python
5
5
  Home-page: https://polypheny.com/
6
6
  Author: The Polypheny Project
@@ -12,9 +12,10 @@ from google.protobuf.internal import builder as _builder
12
12
  _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
+ from org.polypheny.prism import value_pb2 as org_dot_polypheny_dot_prism_dot_value__pb2
15
16
 
16
17
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%org/polypheny/prism/graph_frame.proto\x12\x13org.polypheny.prism\"\x0c\n\nGraphFrameBV\n\x13org.polypheny.prismB\x10GraphResultProtoP\x01Z\x19org/polypheny/prism;prism\xaa\x02\x0fPolypheny.Prismb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%org/polypheny/prism/graph_frame.proto\x12\x13org.polypheny.prism\x1a\x1forg/polypheny/prism/value.proto\"@\n\nGraphFrame\x12\x32\n\x07\x65lement\x18\x01 \x03(\x0b\x32!.org.polypheny.prism.GraphElement\"y\n\x0cGraphElement\x12.\n\x04node\x18\x01 \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoNodeH\x00\x12.\n\x04\x65\x64ge\x18\x02 \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoEdgeH\x00\x42\t\n\x07\x65lementBV\n\x13org.polypheny.prismB\x10GraphResultProtoP\x01Z\x19org/polypheny/prism;prism\xaa\x02\x0fPolypheny.Prismb\x06proto3')
18
19
 
19
20
  _globals = globals()
20
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -22,6 +23,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'org.polypheny.prism.graph_f
22
23
  if not _descriptor._USE_C_DESCRIPTORS:
23
24
  _globals['DESCRIPTOR']._loaded_options = None
24
25
  _globals['DESCRIPTOR']._serialized_options = b'\n\023org.polypheny.prismB\020GraphResultProtoP\001Z\031org/polypheny/prism;prism\252\002\017Polypheny.Prism'
25
- _globals['_GRAPHFRAME']._serialized_start=62
26
- _globals['_GRAPHFRAME']._serialized_end=74
26
+ _globals['_GRAPHFRAME']._serialized_start=95
27
+ _globals['_GRAPHFRAME']._serialized_end=159
28
+ _globals['_GRAPHELEMENT']._serialized_start=161
29
+ _globals['_GRAPHELEMENT']._serialized_end=282
27
30
  # @@protoc_insertion_point(module_scope)
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1forg/polypheny/prism/value.proto\x12\x13org.polypheny.prism\"\xd6\x06\n\nProtoValue\x12\x34\n\x07\x62oolean\x18\x01 \x01(\x0b\x32!.org.polypheny.prism.ProtoBooleanH\x00\x12\x34\n\x07integer\x18\x02 \x01(\x0b\x32!.org.polypheny.prism.ProtoIntegerH\x00\x12.\n\x04long\x18\x03 \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoLongH\x00\x12;\n\x0b\x62ig_decimal\x18\x0c \x01(\x0b\x32$.org.polypheny.prism.ProtoBigDecimalH\x00\x12\x30\n\x05\x66loat\x18\x07 \x01(\x0b\x32\x1f.org.polypheny.prism.ProtoFloatH\x00\x12\x32\n\x06\x64ouble\x18\x06 \x01(\x0b\x32 .org.polypheny.prism.ProtoDoubleH\x00\x12.\n\x04\x64\x61te\x18\x05 \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoDateH\x00\x12.\n\x04time\x18\t \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoTimeH\x00\x12\x38\n\ttimestamp\x18\n \x01(\x0b\x32#.org.polypheny.prism.ProtoTimestampH\x00\x12\x36\n\x08interval\x18\r \x01(\x0b\x32\".org.polypheny.prism.ProtoIntervalH\x00\x12\x32\n\x06string\x18\x08 \x01(\x0b\x32 .org.polypheny.prism.ProtoStringH\x00\x12\x32\n\x06\x62inary\x18\x04 \x01(\x0b\x32 .org.polypheny.prism.ProtoBinaryH\x00\x12.\n\x04null\x18\x0b \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoNullH\x00\x12.\n\x04list\x18\x10 \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoListH\x00\x12\x36\n\x08\x64ocument\x18\x12 \x01(\x0b\x32\".org.polypheny.prism.ProtoDocumentH\x00\x12.\n\x04\x66ile\x18\x13 \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoFileH\x00\x42\x07\n\x05value\"\x1f\n\x0cProtoBoolean\x12\x0f\n\x07\x62oolean\x18\x01 \x01(\x08\"\x1f\n\x0cProtoInteger\x12\x0f\n\x07integer\x18\x01 \x01(\x05\"\x19\n\tProtoLong\x12\x0c\n\x04long\x18\x01 \x01(\x03\"8\n\x0fProtoBigDecimal\x12\r\n\x05scale\x18\x01 \x01(\x05\x12\x16\n\x0eunscaled_value\x18\x03 \x01(\x0c\"\x1b\n\nProtoFloat\x12\r\n\x05\x66loat\x18\x01 \x01(\x02\"\x1d\n\x0bProtoDouble\x12\x0e\n\x06\x64ouble\x18\x01 \x01(\x01\"\x19\n\tProtoDate\x12\x0c\n\x04\x64\x61te\x18\x01 \x01(\x03\"\x19\n\tProtoTime\x12\x0c\n\x04time\x18\x01 \x01(\x05\"#\n\x0eProtoTimestamp\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\"5\n\rProtoInterval\x12\x14\n\x0cmilliseconds\x18\x01 \x01(\x03\x12\x0e\n\x06months\x18\x02 \x01(\x03\"\x1d\n\x0bProtoString\x12\x0e\n\x06string\x18\x01 \x01(\t\"\x1d\n\x0bProtoBinary\x12\x0e\n\x06\x62inary\x18\x01 \x01(\x0c\"\x0b\n\tProtoNull\"<\n\tProtoList\x12/\n\x06values\x18\x01 \x03(\x0b\x32\x1f.org.polypheny.prism.ProtoValue\"j\n\nProtoEntry\x12,\n\x03key\x18\x01 \x01(\x0b\x32\x1f.org.polypheny.prism.ProtoValue\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.org.polypheny.prism.ProtoValue\"A\n\rProtoDocument\x12\x30\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1f.org.polypheny.prism.ProtoEntry\"\x1b\n\tProtoFile\x12\x0e\n\x06\x62inary\x18\x01 \x01(\x0c*\xbb\x04\n\rProtoPolyType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07\x42OOLEAN\x10\x01\x12\x0b\n\x07TINYINT\x10\x02\x12\x0c\n\x08SMALLINT\x10\x03\x12\x0b\n\x07INTEGER\x10\x04\x12\n\n\x06\x42IGINT\x10\x05\x12\x0b\n\x07\x44\x45\x43IMAL\x10\x06\x12\x08\n\x04REAL\x10\x07\x12\t\n\x05\x46LOAT\x10\x08\x12\n\n\x06\x44OUBLE\x10\t\x12\x08\n\x04\x44\x41TE\x10\n\x12\x08\n\x04TIME\x10\x0b\x12\r\n\tTIMESTAMP\x10\r\x12\x0c\n\x08INTERVAL\x10\x0f\x12\x08\n\x04\x43HAR\x10\x1c\x12\x0b\n\x07VARCHAR\x10\x1d\x12\x08\n\x04TEXT\x10:\x12\n\n\x06\x42INARY\x10\x1e\x12\r\n\tVARBINARY\x10\x1f\x12\x08\n\x04NULL\x10 \x12\t\n\x05\x41RRAY\x10!\x12\x07\n\x03MAP\x10\"\x12\x0c\n\x08\x44OCUMENT\x10#\x12\t\n\x05GRAPH\x10$\x12\x08\n\x04NODE\x10%\x12\x08\n\x04\x45\x44GE\x10&\x12\x08\n\x04PATH\x10\'\x12\t\n\x05IMAGE\x10(\x12\t\n\x05VIDEO\x10)\x12\t\n\x05\x41UDIO\x10*\x12\x08\n\x04\x46ILE\x10+\x12\x0c\n\x08\x44ISTINCT\x10,\x12\x0e\n\nSTRUCTURED\x10-\x12\x07\n\x03ROW\x10.\x12\t\n\x05OTHER\x10/\x12\n\n\x06\x43URSOR\x10\x30\x12\x0f\n\x0b\x43OLUMN_LIST\x10\x31\x12\x10\n\x0c\x44YNAMIC_STAR\x10\x32\x12\x0c\n\x08GEOMETRY\x10\x33\x12\n\n\x06SYMBOL\x10\x34\x12\x08\n\x04JSON\x10\x35\x12\x0c\n\x08MULTISET\x10\x36\x12\x07\n\x03\x41NY\x10\x37\x12\x15\n\x11USER_DEFINED_TYPE\x10\x38\x12\n\n\x06ROW_ID\x10\x39\x42U\n\x13org.polypheny.prismB\x0fProtoValueProtoP\x01Z\x19org/polypheny/prism;prism\xaa\x02\x0fPolypheny.Prismb\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1forg/polypheny/prism/value.proto\x12\x13org.polypheny.prism\"\xd6\x06\n\nProtoValue\x12\x34\n\x07\x62oolean\x18\x01 \x01(\x0b\x32!.org.polypheny.prism.ProtoBooleanH\x00\x12\x34\n\x07integer\x18\x02 \x01(\x0b\x32!.org.polypheny.prism.ProtoIntegerH\x00\x12.\n\x04long\x18\x03 \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoLongH\x00\x12;\n\x0b\x62ig_decimal\x18\x0c \x01(\x0b\x32$.org.polypheny.prism.ProtoBigDecimalH\x00\x12\x30\n\x05\x66loat\x18\x07 \x01(\x0b\x32\x1f.org.polypheny.prism.ProtoFloatH\x00\x12\x32\n\x06\x64ouble\x18\x06 \x01(\x0b\x32 .org.polypheny.prism.ProtoDoubleH\x00\x12.\n\x04\x64\x61te\x18\x05 \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoDateH\x00\x12.\n\x04time\x18\t \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoTimeH\x00\x12\x38\n\ttimestamp\x18\n \x01(\x0b\x32#.org.polypheny.prism.ProtoTimestampH\x00\x12\x36\n\x08interval\x18\r \x01(\x0b\x32\".org.polypheny.prism.ProtoIntervalH\x00\x12\x32\n\x06string\x18\x08 \x01(\x0b\x32 .org.polypheny.prism.ProtoStringH\x00\x12\x32\n\x06\x62inary\x18\x04 \x01(\x0b\x32 .org.polypheny.prism.ProtoBinaryH\x00\x12.\n\x04null\x18\x0b \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoNullH\x00\x12.\n\x04list\x18\x10 \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoListH\x00\x12\x36\n\x08\x64ocument\x18\x12 \x01(\x0b\x32\".org.polypheny.prism.ProtoDocumentH\x00\x12.\n\x04\x66ile\x18\x13 \x01(\x0b\x32\x1e.org.polypheny.prism.ProtoFileH\x00\x42\x07\n\x05value\"\x1f\n\x0cProtoBoolean\x12\x0f\n\x07\x62oolean\x18\x01 \x01(\x08\"\x1f\n\x0cProtoInteger\x12\x0f\n\x07integer\x18\x01 \x01(\x05\"\x19\n\tProtoLong\x12\x0c\n\x04long\x18\x01 \x01(\x03\"8\n\x0fProtoBigDecimal\x12\r\n\x05scale\x18\x01 \x01(\x05\x12\x16\n\x0eunscaled_value\x18\x03 \x01(\x0c\"\x1b\n\nProtoFloat\x12\r\n\x05\x66loat\x18\x01 \x01(\x02\"\x1d\n\x0bProtoDouble\x12\x0e\n\x06\x64ouble\x18\x01 \x01(\x01\"\x19\n\tProtoDate\x12\x0c\n\x04\x64\x61te\x18\x01 \x01(\x03\"\x19\n\tProtoTime\x12\x0c\n\x04time\x18\x01 \x01(\x05\"#\n\x0eProtoTimestamp\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\"5\n\rProtoInterval\x12\x14\n\x0cmilliseconds\x18\x01 \x01(\x03\x12\x0e\n\x06months\x18\x02 \x01(\x03\"\x1d\n\x0bProtoString\x12\x0e\n\x06string\x18\x01 \x01(\t\"\x1d\n\x0bProtoBinary\x12\x0e\n\x06\x62inary\x18\x01 \x01(\x0c\"\x0b\n\tProtoNull\"<\n\tProtoList\x12/\n\x06values\x18\x01 \x03(\x0b\x32\x1f.org.polypheny.prism.ProtoValue\"\xa2\x01\n\rProtoDocument\x12@\n\x07\x65ntries\x18\x01 \x03(\x0b\x32/.org.polypheny.prism.ProtoDocument.EntriesEntry\x1aO\n\x0c\x45ntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.org.polypheny.prism.ProtoValue:\x02\x38\x01\"\x1b\n\tProtoFile\x12\x0e\n\x06\x62inary\x18\x01 \x01(\x0c\"\xcd\x01\n\tProtoNode\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x42\n\nproperties\x18\x03 \x03(\x0b\x32..org.polypheny.prism.ProtoNode.PropertiesEntry\x12\x0e\n\x06labels\x18\x04 \x03(\t\x1aR\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.org.polypheny.prism.ProtoValue:\x02\x38\x01\"\xf5\x02\n\tProtoEdge\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x42\n\nproperties\x18\x03 \x03(\x0b\x32..org.polypheny.prism.ProtoEdge.PropertiesEntry\x12\x0e\n\x06labels\x18\x04 \x03(\t\x12\x0c\n\x04left\x18\x05 \x01(\t\x12\r\n\x05right\x18\x06 \x01(\t\x12;\n\tdirection\x18\x07 \x01(\x0e\x32(.org.polypheny.prism.ProtoEdge.Direction\x1aR\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.org.polypheny.prism.ProtoValue:\x02\x38\x01\"L\n\tDirection\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x11\n\rLEFT_TO_RIGHT\x10\x01\x12\x11\n\rRIGHT_TO_LEFT\x10\x02\x12\x08\n\x04NONE\x10\x03*\xbb\x04\n\rProtoPolyType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07\x42OOLEAN\x10\x01\x12\x0b\n\x07TINYINT\x10\x02\x12\x0c\n\x08SMALLINT\x10\x03\x12\x0b\n\x07INTEGER\x10\x04\x12\n\n\x06\x42IGINT\x10\x05\x12\x0b\n\x07\x44\x45\x43IMAL\x10\x06\x12\x08\n\x04REAL\x10\x07\x12\t\n\x05\x46LOAT\x10\x08\x12\n\n\x06\x44OUBLE\x10\t\x12\x08\n\x04\x44\x41TE\x10\n\x12\x08\n\x04TIME\x10\x0b\x12\r\n\tTIMESTAMP\x10\r\x12\x0c\n\x08INTERVAL\x10\x0f\x12\x08\n\x04\x43HAR\x10\x1c\x12\x0b\n\x07VARCHAR\x10\x1d\x12\x08\n\x04TEXT\x10:\x12\n\n\x06\x42INARY\x10\x1e\x12\r\n\tVARBINARY\x10\x1f\x12\x08\n\x04NULL\x10 \x12\t\n\x05\x41RRAY\x10!\x12\x07\n\x03MAP\x10\"\x12\x0c\n\x08\x44OCUMENT\x10#\x12\t\n\x05GRAPH\x10$\x12\x08\n\x04NODE\x10%\x12\x08\n\x04\x45\x44GE\x10&\x12\x08\n\x04PATH\x10\'\x12\t\n\x05IMAGE\x10(\x12\t\n\x05VIDEO\x10)\x12\t\n\x05\x41UDIO\x10*\x12\x08\n\x04\x46ILE\x10+\x12\x0c\n\x08\x44ISTINCT\x10,\x12\x0e\n\nSTRUCTURED\x10-\x12\x07\n\x03ROW\x10.\x12\t\n\x05OTHER\x10/\x12\n\n\x06\x43URSOR\x10\x30\x12\x0f\n\x0b\x43OLUMN_LIST\x10\x31\x12\x10\n\x0c\x44YNAMIC_STAR\x10\x32\x12\x0c\n\x08GEOMETRY\x10\x33\x12\n\n\x06SYMBOL\x10\x34\x12\x08\n\x04JSON\x10\x35\x12\x0c\n\x08MULTISET\x10\x36\x12\x07\n\x03\x41NY\x10\x37\x12\x15\n\x11USER_DEFINED_TYPE\x10\x38\x12\n\n\x06ROW_ID\x10\x39\x42U\n\x13org.polypheny.prismB\x0fProtoValueProtoP\x01Z\x19org/polypheny/prism;prism\xaa\x02\x0fPolypheny.Prismb\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -22,8 +22,14 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'org.polypheny.prism.value_p
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
23
  _globals['DESCRIPTOR']._loaded_options = None
24
24
  _globals['DESCRIPTOR']._serialized_options = b'\n\023org.polypheny.prismB\017ProtoValueProtoP\001Z\031org/polypheny/prism;prism\252\002\017Polypheny.Prism'
25
- _globals['_PROTOPOLYTYPE']._serialized_start=1612
26
- _globals['_PROTOPOLYTYPE']._serialized_end=2183
25
+ _globals['_PROTODOCUMENT_ENTRIESENTRY']._loaded_options = None
26
+ _globals['_PROTODOCUMENT_ENTRIESENTRY']._serialized_options = b'8\001'
27
+ _globals['_PROTONODE_PROPERTIESENTRY']._loaded_options = None
28
+ _globals['_PROTONODE_PROPERTIESENTRY']._serialized_options = b'8\001'
29
+ _globals['_PROTOEDGE_PROPERTIESENTRY']._loaded_options = None
30
+ _globals['_PROTOEDGE_PROPERTIESENTRY']._serialized_options = b'8\001'
31
+ _globals['_PROTOPOLYTYPE']._serialized_start=2186
32
+ _globals['_PROTOPOLYTYPE']._serialized_end=2757
27
33
  _globals['_PROTOVALUE']._serialized_start=57
28
34
  _globals['_PROTOVALUE']._serialized_end=911
29
35
  _globals['_PROTOBOOLEAN']._serialized_start=913
@@ -54,10 +60,20 @@ if not _descriptor._USE_C_DESCRIPTORS:
54
60
  _globals['_PROTONULL']._serialized_end=1343
55
61
  _globals['_PROTOLIST']._serialized_start=1345
56
62
  _globals['_PROTOLIST']._serialized_end=1405
57
- _globals['_PROTOENTRY']._serialized_start=1407
58
- _globals['_PROTOENTRY']._serialized_end=1513
59
- _globals['_PROTODOCUMENT']._serialized_start=1515
60
- _globals['_PROTODOCUMENT']._serialized_end=1580
61
- _globals['_PROTOFILE']._serialized_start=1582
62
- _globals['_PROTOFILE']._serialized_end=1609
63
+ _globals['_PROTODOCUMENT']._serialized_start=1408
64
+ _globals['_PROTODOCUMENT']._serialized_end=1570
65
+ _globals['_PROTODOCUMENT_ENTRIESENTRY']._serialized_start=1491
66
+ _globals['_PROTODOCUMENT_ENTRIESENTRY']._serialized_end=1570
67
+ _globals['_PROTOFILE']._serialized_start=1572
68
+ _globals['_PROTOFILE']._serialized_end=1599
69
+ _globals['_PROTONODE']._serialized_start=1602
70
+ _globals['_PROTONODE']._serialized_end=1807
71
+ _globals['_PROTONODE_PROPERTIESENTRY']._serialized_start=1725
72
+ _globals['_PROTONODE_PROPERTIESENTRY']._serialized_end=1807
73
+ _globals['_PROTOEDGE']._serialized_start=1810
74
+ _globals['_PROTOEDGE']._serialized_end=2183
75
+ _globals['_PROTOEDGE_PROPERTIESENTRY']._serialized_start=1725
76
+ _globals['_PROTOEDGE_PROPERTIESENTRY']._serialized_end=1807
77
+ _globals['_PROTOEDGE_DIRECTION']._serialized_start=2107
78
+ _globals['_PROTOEDGE_DIRECTION']._serialized_end=2183
63
79
  # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,2 @@
1
+ MAJOR_VERSION = 2
2
+ MINOR_VERSION = 0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: polypheny-prism-api
3
- Version: 1.6
3
+ Version: 2.0
4
4
  Summary: Polypheny Prism API files for Python
5
5
  Home-page: https://polypheny.com/
6
6
  Author: The Polypheny Project
@@ -1,5 +1,7 @@
1
1
  LICENSE
2
+ MANIFEST.in
2
3
  README.md
4
+ prism-api-version.txt
3
5
  setup.py
4
6
  org/polypheny/prism/connection_requests_pb2.py
5
7
  org/polypheny/prism/connection_responses_pb2.py
@@ -0,0 +1 @@
1
+ protobuf==5.27.2
@@ -0,0 +1 @@
1
+ 2.0
@@ -0,0 +1,48 @@
1
+ import os
2
+ from setuptools import setup
3
+
4
+ version_file = 'prism-api-version.txt'
5
+
6
+ if not os.path.exists(version_file):
7
+ raise ValueError(f"Version file '{version_file}' not found. Please create the file with the version number.")
8
+
9
+ with open(version_file, 'r') as f:
10
+ version = f.read().strip()
11
+
12
+ print(f"Building version: {version}")
13
+
14
+ if version == '0.0':
15
+ raise ValueError("Version is set to '0.0'. Please set a valid version number in the version file.")
16
+
17
+ # Attempt to split the version number, default to '0' for both if it fails
18
+ try:
19
+ major, minor = version.split('.')
20
+ except ValueError:
21
+ raise ValueError(f"Invalid version format: {version}. Expected 'major.minor' format.")
22
+
23
+ with open('org/polypheny/prism/version.py', 'w') as f:
24
+ f.write(f'MAJOR_VERSION = {major}\n')
25
+ f.write(f'MINOR_VERSION = {minor}\n')
26
+
27
+ with open('README.md', 'r', encoding='utf-8') as f:
28
+ long_description = f.read()
29
+
30
+ setup(
31
+ name='polypheny-prism-api',
32
+ version=version,
33
+ description='Polypheny Prism API files for Python',
34
+ long_description=long_description,
35
+ long_description_content_type='text/markdown',
36
+ author="The Polypheny Project",
37
+ author_email="mail@polypheny.org",
38
+ url="https://polypheny.com/",
39
+ project_urls={
40
+ "Documentation": "https://docs.polypheny.com/en/latest/query_interfaces/prism/protocol",
41
+ "Code": "https://github.com/polypheny/Polypheny-Prism-API"
42
+ },
43
+ license="Apache License, Version 2.0",
44
+ packages=['org/polypheny/prism'],
45
+ install_requires=[
46
+ "protobuf==5.27.2",
47
+ ],
48
+ )
@@ -1,2 +0,0 @@
1
- MAJOR_VERSION = 1
2
- MINOR_VERSION = 6
@@ -1 +0,0 @@
1
- protobuf==4.24.3
@@ -1,46 +0,0 @@
1
- import os
2
- import sys
3
-
4
- from setuptools import setup
5
-
6
- # Retrieve 'VERSION' environment variable, default to '0.0' if not found.
7
- version = os.getenv('VERSION', '0.0')
8
-
9
- print(f"Building version: {version}")
10
-
11
- if version == '0.0':
12
- raise ValueError("Version not set or defaulting to '0.0'. Please set the VERSION environment variable.")
13
-
14
- # Attempt to split the version number, default to '0' for both if it fails
15
- try:
16
- major, minor = version.split('.')
17
- except ValueError:
18
- raise ValueError(f"Invalid version format: {version}. Expected 'major.minor' format.")
19
-
20
-
21
- with open('org/polypheny/prism/version.py', 'w') as f:
22
- f.write(f'MAJOR_VERSION = {major}\n')
23
- f.write(f'MINOR_VERSION = {minor}\n')
24
-
25
-
26
- with open('README.md', 'r', encoding='utf-8') as f:
27
- long_description = f.read()
28
-
29
- setup(name='polypheny-prism-api',
30
- version=version,
31
- description='Polypheny Prism API files for Python',
32
- long_description=long_description,
33
- long_description_content_type='text/markdown',
34
- author="The Polypheny Project",
35
- author_email="mail@polypheny.org",
36
- url="https://polypheny.com/",
37
- project_urls={
38
- "Documentation": "https://docs.polypheny.com/en/latest/query_interfaces/prism/protocol",
39
- "Code": "https://github.com/polypheny/Polypheny-Prism-API"
40
- },
41
- license="Apache License, Version 2.0",
42
- packages=['org/polypheny/prism'],
43
- install_requires=[
44
- "protobuf==4.24.3",
45
- ],
46
- )