sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.36k stars 462 forks source link

Provide an SCSCP interface #19971

Open slel opened 8 years ago

slel commented 8 years ago

The Symbolic computation software composability protocol (SCSCP) is a generic open protocol for communication between math software systems.

To use in Sage:

sage --pip install scscp

See also:

CC: @alex-konovalov @JohnCremona @defeo @dimpase @slel @sagetrac-markuspf @mezzarobba @sagetrac-mkohlhase @nthiery @sagetrac-twiesing

Component: interfaces: optional

Keywords: OpenMath, SCSCP, interface, interoperabilty

Issue created by migration from https://trac.sagemath.org/ticket/19971

slel commented 8 years ago

Description changed:

--- 
+++ 
@@ -2,4 +2,4 @@

 http://www.symbolic-computing.org/science/index.php/SCSCP

-See also #19970.
+See also #19970 "Provide an OpenMath interface".
slel commented 8 years ago

Description changed:

--- 
+++ 
@@ -3,3 +3,7 @@
 http://www.symbolic-computing.org/science/index.php/SCSCP

 See also #19970 "Provide an OpenMath interface".
+
+Both tickets would improve interoperability of [SageMath](../wiki/SageMath)
+and other mathematics software (both ways: accessing other
+software from Sage, and accessing Sage from other software).
slel commented 8 years ago
comment:4

Add link to SCSCP specification.

slel commented 8 years ago

Description changed:

--- 
+++ 
@@ -1,6 +1,11 @@
-SCSCP is a generic open protocol for communication between math software systems. Of course Sage should support this protocol.
+SCSCP is a generic open protocol for communication between math software systems.
+It would be good for Sage to support this protocol.

+Home page:
 http://www.symbolic-computing.org/science/index.php/SCSCP
+
+Specification:
+http://www.symbolic-computing.org/science/images/7/74/SCSCP_1_3.pdf

 See also #19970 "Provide an OpenMath interface".
slel commented 8 years ago

Description changed:

--- 
+++ 
@@ -7,8 +7,11 @@
 Specification:
 http://www.symbolic-computing.org/science/images/7/74/SCSCP_1_3.pdf

-See also #19970 "Provide an OpenMath interface".
+See also:
+- #19970 "Provide an OpenMath interface".

-Both tickets would improve interoperability of [SageMath](../wiki/SageMath)
-and other mathematics software (both ways: accessing other
-software from Sage, and accessing Sage from other software).
+  Both tickets would improve interoperability of [SageMath](../wiki/SageMath)
+  and other mathematics software (both ways: accessing other
+  software from Sage, and accessing Sage from other software).
+
+- [OpenDreamKit issue 62: SCSCP interfaces](github.com/OpenDreamKit/OpenDreamKit/issues/62)
slel commented 8 years ago

Changed keywords from none to OpenMath, SCSCP, interface, interoperabilty

slel commented 8 years ago

Description changed:

slel commented 8 years ago

Description changed:

--- 
+++ 
@@ -14,4 +14,5 @@
   and other mathematics software (both ways: accessing other
   software from Sage, and accessing Sage from other software).

-- [OpenDreamKit issue 62: SCSCP interfaces](github.com/OpenDreamKit/OpenDreamKit/issues/62)
+- OpenDreamKit issue 62: SCSCP interfaces:
+  https://github.com/OpenDreamKit/OpenDreamKit/issues/62
slel commented 8 years ago

Description changed:

--- 
+++ 
@@ -1,5 +1,4 @@
 SCSCP is a generic open protocol for communication between math software systems.
-It would be good for Sage to support this protocol.

 Home page:
 http://www.symbolic-computing.org/science/index.php/SCSCP
85fcaa2c-87f3-400b-ae82-fec879b3adb4 commented 8 years ago
comment:9

There is an effort under way to implement SCSCP interface for python at https://github.com/OpenMath/py-scscp This seems to be making progress. This should be a good basis.

defeo commented 7 years ago
comment:10

A pip-installable package is available here: https://github.com/OpenMath/py-scscp.

It contains a command-line synchronous client, base classes to implement a server, and a (pure-python) demo server exposing a very limited content dictionary.

At this point, client support for SCSCP can be considered done for Sage (modulo bugs). We may have to decide whether to make an spkg or not, but sage -pip scscp is probably good enough.

True server support requires #19970, and this is a long way coming.

slel commented 6 years ago

Description changed:

--- 
+++ 
@@ -1,10 +1,14 @@
-SCSCP is a generic open protocol for communication between math software systems.
+The **Symbolic computation software composability protocol** (SCSCP) is a
+generic open protocol for communication between math software systems.

-Home page:
-http://www.symbolic-computing.org/science/index.php/SCSCP
+- Home page:
+  http://www.openmath.org/standard/scscp/

-Specification:
-http://www.symbolic-computing.org/science/images/7/74/SCSCP_1_3.pdf
+- Specification:
+  https://github.com/OpenMath/scscp/tree/master/revisions
+
+- C/C++ library interface **libscscp**:
+  https://www.imcce.fr/trip/scscp/

 See also:
 - #19970 "Provide an OpenMath interface".
slel commented 6 years ago

Description changed:

--- 
+++ 
@@ -10,10 +10,20 @@
 - C/C++ library interface **libscscp**:
   https://www.imcce.fr/trip/scscp/

+- Python package py-scscp:
+  - on PyPI: https://pypi.org/project/scscp/  
+  - on GitHub: https://github.com/OpenMath/py-scscp
+
+To use in Sage:
+
+```
+sage --pip install scscp
+```
+
 See also:
 - #19970 "Provide an OpenMath interface".

-  Both tickets would improve interoperability of [SageMath](../wiki/SageMath)
+  Both tickets would improve interoperability of SageMath
   and other mathematics software (both ways: accessing other
   software from Sage, and accessing Sage from other software).