Skip to main content

Windows alternative of pexpect rebuild by uv

Project description

wexpect

I fork it from : raczben/wexpect

And it is rebuild by uv, for branch dev.

Description

Wexpect is a Windows variant of pexpect.

  • v0.0.1: fix the Always Timeout && failed in uv
  • v0.0.2: fix cannot read console if endwith '\r' print("",end="\r"). .
  • v0.0.3: change the catch logic(catch all even cursor not change) and catch ascii colors.
  • v0.0.4: fix bugs in v0.0.3: remove extra \x1b[0m, catch all process-bar protect between \r.

Installation

pip install wexpect-uv

Usage

import wexpect as pexpect

# You can use it like pexpect

For more information see examples folder.

How to test and develop locally

You need uv, see installation.

Then,

git clone https://github.com/XnneHangLab/wexpect-uv.git
uv lock
uv sync

Then you can use uv run wexpect to use it in command line or import wexpect in python. You can modify the code and test then PR to me if you want.

Download files

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

Source Distribution

wexpect_uv-0.0.4.tar.gz (104.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wexpect_uv-0.0.4-py3-none-any.whl (51.9 kB view details)

Uploaded Python 3

File details

Details for the file wexpect_uv-0.0.4.tar.gz.

File metadata

  • Download URL: wexpect_uv-0.0.4.tar.gz
  • Upload date:
  • Size: 104.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.17

File hashes

Hashes for wexpect_uv-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d52261cbc00571898a2ad2db71631eb59fb72b58ff2ee075e8bf77eed63e9bd0
MD5 dec688bbfd430150e86fc2840aaf4d91
BLAKE2b-256 2867bc37333ddcda5f0ece07fa5d4995c5f1e79ff4228dda6c4a031b32c25eef

See more details on using hashes here.

File details

Details for the file wexpect_uv-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: wexpect_uv-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 51.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.17

File hashes

Hashes for wexpect_uv-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 84cd525e2be613928abd32aa987d728afdc740ca9f3e7df388b0d29ddcb78e83
MD5 e14742ed8b66eda56da8192973b0787e
BLAKE2b-256 1a09a5d4c40c35e76da1323bdbab101a01255a862d3a1f5c2ba83d76ad903da1

See more details on using hashes here.

Supported by

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