owlapy.static_funcs

Static functions for general purposes.

Functions

move(*args)

"Move" an imported class to the current module by setting the classes __module__ attribute.

download_external_files(ftp_link)

startJVM()

Start the JVM with jar dependencies. This method is called automatically on object initialization, if the

stopJVM(→ None)

Detaches the thread from Java packages and shuts down the java virtual machine hosted by jpype.

create_ontology(iri[, with_owlapi])

A convenient function

Module Contents

owlapy.static_funcs.move(*args)[source]

“Move” an imported class to the current module by setting the classes __module__ attribute.

This is useful for documentation purposes to hide internal packages in sphinx.

Parameters:

args – List of classes to move.

owlapy.static_funcs.download_external_files(ftp_link: str)[source]
owlapy.static_funcs.startJVM()[source]

Start the JVM with jar dependencies. This method is called automatically on object initialization, if the JVM is not started yet.

owlapy.static_funcs.stopJVM() None[source]

Detaches the thread from Java packages and shuts down the java virtual machine hosted by jpype.

owlapy.static_funcs.create_ontology(iri, with_owlapi=False)[source]

A convenient function