Skip to content

jac32/PythonOpenMath

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

PythonOpenMath

Basic support for the OpenMath standard in Python

Documentation

Documentation is auto-generated using the Sphinx documentation tool.

Provided the style of docstring matches that below, the documentation for the currently indexed files can be generated via a Makefile in the Docs folder.

To build the html format of the docs simply run $ make html

Docstring Example

	def ParseOMI(node):
		""" Parses a basic OpenMath integer node

	    Translates between the OpenMath XML representation of an integer,
		i.e. an OMI node, and a Python integer

	    :param node: The OMI XML node object
		:returns: The integer value of the node
		:rtype: int
		"""
    return int(node.text)

About

Basic support for the OpenMath standard in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published