Twill

Latest version: v3.3

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

Scan your dependencies

Page 2 of 3

3.2

-------------------------
* The supported Python versions are now 3.8 to 3.12.
* A new method 'find_links' was added to the twill browser (17).
* Twill now uses httpx_ instead of requests_.
* WSGI apps are now supported via httpx, wsgi_intercept is not needed anymore.
* We now use 'pyproject.toml' instead of 'setup.py'.
* Type hints and code style have been improved and are checked with ruff.
* Internal code was reformatted using ruff format (compatible with black).

3.1

-------------------------
* The submit command now takes an additional parameter to specify a form
that can be used in rare cases when there are no form fields (7).
* Most commands do not return values any more, they are just commands.
If you are using twill from Python, you should check browser properties
like 'forms' or 'url' instead of using the return values of commands
like 'show_forms' or 'back' (see 13, 14).
* Two-word commands now consistently have underscores in their names,
(e.g. 'form_action', 'get_input', 'show_links'). However, for convenience
and backward compatibility, you can still use the names without underscores
(e.g. 'formaction', 'getinput', 'showlinks'), and the old two-letter
abbreviations (e.g. 'fa' for 'form_action') (13, 14).
* Instead of 'showforms' or 'show_forms' you can now also write 'show forms',
and similarly for 'cookies', 'links', 'history' and 'html'. The command
'show html' does the same as 'show' without any arguments.
* Renamed shortcuts for user agent strings, and added some more existing ones.
* Added type hints (15).
* Support Python 3.11.
* Many minor fixes and improvements.

3.0.3

---------------------------
* Form numbers are now printed correctly with 'showforms' (12).

3.0.2

---------------------------
* Save HTML file with browser encoding or as UTF-8 (9).
* Do not modify root logger any more (10).

3.0.1

---------------------------
* This version now also supports Python 3.10.
* The twill language now allows 8-bit letters to appear in strings unquoted.

3.0

-------------------------
* In this version we require Python 3.6 to 3.9.
If you still need support for Python 2 or Python 3.5,
then please use the latest version from the 2.x branch.
* The code has been optimized for Python 3 now.
* Some minor fixes.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.