Skip to main content
Build Status

About

Adding tee like functionally to subprocess.Popen.

Installation

$ python -m pip install teetime

Documentation

Documentation is available via GitHub.

Basic Usage

Common usage is:

import sys
import teetime

with open('log.txt', 'wb') as f:
   process = teetime.popen_call(
      ['python', 'test.py'],
      stdout=(sys.stdout.buffered, f),
      stderr=(sys.stderr.buffered, f),
   )
   process.wait()

Note: popen_call blocks until IO is complete. If you have no IO, stdout=(), then it will not block. This is why you still need process.wait().

Testing

To run all tests run nox. No venv is needed; nox makes all of them for us.

$ python -m pip install --user nox
$ git clone https://peilonrayz.github.io/teetime/
$ cd teetime
teetime $ nox

License

TeeTime is available under the MIT license.

Metadata

Release files for teetime 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for teetime 0.0.3
File Size Uploaded Provenance
teetime-0.0.3.tar.gz 5.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for teetime 0.0.3
File Interpreter ABI Platform
teetime-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / teetime-0.0.3.tar.gz

Download URL teetime-0.0.3.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4afbb5c1bc5f83dc47e7ee14604185ea176eed9ca1db3749d34e62c08d48f873
BLAKE2b-256 checksum
How to use checksums
a7f73d24ea94ca3b5c41c9d4aaf3809cb364206fc8176239d3d78a675199541c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

Release files / teetime-0.0.3-py3-none-any.whl

Download URL teetime-0.0.3-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89437d786fb97b716d434998302e73b85967d83770e238d4d27fbdd8245f8b0c
BLAKE2b-256 checksum
How to use checksums
7ab5ee8feac3b01ce65ba460e5895cdc69ec4371bd467ab627019110f3fd8b3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

Security for teetime 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page