Shellous

Latest version: v0.36.0

Safety actively analyzes 622229 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

0.36.0

------

- [LATERAL] Update development dependencies and fix pylint issues.

0.35.0

------

- [BUGFIX] Fix potential race condition in `DefaultChildWatcher`. (582)
- [LATERAL] Update development dependencies and fix pyright warnings.
- [LATERAL] Update to black 24.1.1 code formatter.

0.34.0

------

- [FEATURE] Add `error_limit` option to customize the number of bytes of `stderr` that is buffered.
- [BUGFIX] Catch `asyncio` deprecation warnings intended for Python 3.14.
- [LATERAL] Update CI action that publishes shellous package to PyPI to use trusted publishing.
- [LATERAL] Improve reliability of tests under code coverage.
- [LATERAL] Replace deprecated `event_loop` fixture in asyncio tests.

0.33.0

------

- [FEATURE] Add the `Pipeline.prompt()` method so the `Prompt` API works in pipelines.
- [FEATURE] Add the `Prompt.read_pending()` method to read and clear all data in the pending buffer.
- [API] When `Prompt.expect()` doesn't match anything and we reach EOF, raise EOFError. The previous version returned a `match` of None.
- [API] When `Prompt.command()` doesn't match, it will now raise EOFError. However, you can set the `allow_eof` argument to True to match EOF.
- [API] The Prompt `chunk_size` argument is now private.
- [API] Add `SHELLOUS_TRACE` environment variable for debug logging and tracing. This replaces the SHELLOUS_DEBUG and SHELLOUS_PROMPT environment variables.
- [API] The `Prompt.result` property no longer returns an Optional. It raises a RuntimeError if the co-process is still running.
- [API] The `Prompt.expect()` method no longer accepts an Ellipsis to match EOF. Use the `Prompt.read_all()` method to read until EOF.
- [API] In the `cooked`, `cbreak`, `raw` utility methods, using the Ellipsis to inherit the terminal size is no longer supported.

0.32.0

------

- [FEATURE] Add the `Command.prompt()` method to facilitate using the `Prompt` API.
- [FEATURE] Refactor the `Prompt` helper class to support regular expression matching.
- [FEATURE] The `Prompt.expect()` method can match on a regular expression in the output stream.
- [API] The `Prompt.send()` method no longer returns a response. If you want to send a string to a process and wait for the response, use the `Prompt.command()` method instead.
- [API] The `receive()` method has been removed. Use `expect()` instead.
- [BUGFIX] Fix a potential deadlock issue in `Prompt.send()` by continuing to read pending input from the subprocess concurrently.

0.31.1

------

- [LATERAL] Fix issue with CI action that publishes the shellous package to PyPI.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.