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 details)

Uploaded Source

File details

Details for the file toolwrapper-2.1.0.tar.gz.

File metadata

  • Download URL: toolwrapper-2.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for toolwrapper-2.1.0.tar.gz
Algorithm Hash digest
SHA256 128088c93cb02fcaa6701c488e62e027f45ca5597b5c9bcf28816ad70e830bf7
MD5 e1f3bf315d42e8a47ae69f1728049be6
BLAKE2b-256 417b34bf8fb69426d8a18bcc61081e9d126f4fcd41c3c832072bef39af1602cd

See more details on using hashes here.

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