concrete.util.summarization_wrapper module

class concrete.util.summarization_wrapper.HTTPSummarizationClientWrapper(uri)

Bases: concrete.util.service_wrapper.HTTPConcreteServiceClientWrapper

Parameters:uri (str) –
concrete_service_class = <module 'concrete.summarization.SummarizationService' from '/home/docs/checkouts/readthedocs.org/user_builds/concrete-python/envs/stable/lib/python3.7/site-packages/concrete-4.18.2-py3.7.egg/concrete/summarization/SummarizationService.py'>
class concrete.util.summarization_wrapper.SubprocessSummarizationServiceWrapper(implementation, host, port, timeout=None)

Bases: concrete.util.service_wrapper.SubprocessConcreteServiceWrapper

Parameters:
  • implementation (object) – handler of specified concrete service
  • host (str) – hostname that will be served on when context is entered
  • port (int) – port number that will be served on when context is entered
  • timeout (int) – number of seconds to wait for server to start in subprocess, when context is entered (if None, wait forever)
concrete_service_wrapper_class

alias of SummarizationServiceWrapper

class concrete.util.summarization_wrapper.SummarizationClientWrapper(host, port)

Bases: concrete.util.service_wrapper.ConcreteServiceClientWrapper

Parameters:
  • host (str) – hostname to connect to
  • port (int) – port number to connect to
concrete_service_class = <module 'concrete.summarization.SummarizationService' from '/home/docs/checkouts/readthedocs.org/user_builds/concrete-python/envs/stable/lib/python3.7/site-packages/concrete-4.18.2-py3.7.egg/concrete/summarization/SummarizationService.py'>
class concrete.util.summarization_wrapper.SummarizationServiceWrapper(implementation)

Bases: concrete.util.service_wrapper.ConcreteServiceWrapper

Parameters:implementation (object) – handler of specified concrete service
concrete_service_class = <module 'concrete.summarization.SummarizationService' from '/home/docs/checkouts/readthedocs.org/user_builds/concrete-python/envs/stable/lib/python3.7/site-packages/concrete-4.18.2-py3.7.egg/concrete/summarization/SummarizationService.py'>