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.5.tar.gz (103.8 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.5-py3-none-any.whl (51.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wexpect_uv-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ce91021d828bdd826a649a5b1087087c16494a5dfe274290a79926f8945dc82b
MD5 d321ccead6c8feb478a0dd7a5e8306a6
BLAKE2b-256 90a8355b009afec52f7b78071d95bf1e20324b665c3f726066b5ff999fdcf784

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wexpect_uv-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 67ea2b7ccf819f993a63c28d96e1d78561a6479f0e0f437f1c7fca7588c38898
MD5 26c29669c6ebe5879c43430033d7c9ad
BLAKE2b-256 41608ece12ba2839900112006b9f6070a4b0220632e811ca90c76c9321d00ae7

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