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.
  • v0.0.5: fix default front-color in windows 10.

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.6.tar.gz (104.1 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.6-py3-none-any.whl (50.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wexpect_uv-0.0.6.tar.gz
Algorithm Hash digest
SHA256 2089ea0920ae47b6bd3a7ce258dddd3385232a21c897a93923b72bb282e28728
MD5 041f3ad04c360935cb5ded3b0be41ead
BLAKE2b-256 30ecf33fcfef18f095516b25af23d4a34a7223508081580a7ca9d44b60be83c7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wexpect_uv-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5b0af8969d686c7d49d00cff396d3914ec445b7f10d85bed8f719c9c9d30341e
MD5 688f516c1784e56a0cb617fbfee420ee
BLAKE2b-256 f63b3f4e4c60c1351db6b4749ceac5a5be0b5bc81250bb360c69a8c3ff24dd78

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