Skip to main content

A base class for wrapping text-processing tools

Project description

A Python module for interfacing with external text tools.

This module provides a single class toolwrapper.ToolWrapper. Objects of this class will launch subprocesses and communicate with them via stdin/stdout pipes.

Copyright ® 2015-2019 Luís Gomes <luismsgomes@gmail.com>.

Changelog

  • v1.0.0
    • version bump to reflect actual maturity and stability of this module

    • changed logger name to include the module of the class

  • v0.4.1
    • Fixed close()

  • v0.4.0
    • added LICENSE file

    • added tests

    • detect if stdbuf is available

  • v0.3.0
    • changed to MIT license

  • v0.2.0
    • moved sources into ./src/ and adjusted setup.py

    • bugfix setup.py

  • v0.1.0
    • first working version (unreleased)

TODO

  • Implement timeout option for read and write operations.

  • Implement restart.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toolwrapper-2.1.0.tar.gz (3.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page