Skip to main content

twill: a simple scripting language for web browsing

twill is a simple scripting language intended for programmatic or automated browsing of websites.

The current version 3.4 supports Python 3.10 to 3.15.

Take a look at the changelog to find a list of all changes and improvements made since version 2. For a brief overview of twill's history starting from its early days, see the acknowledgements and history section.

The full documentation is included in the distribution and provided online via GitHub and ReadTheDocs.

Using twill with AI coding agents

The documentation is also provided in a form suitable for LLMs and coding agents as llms.txt and llms-full.txt.

The repository contains an agent skill that teaches coding agents how to write, run and debug twill scripts. In Claude Code, you can install it as a plugin with:

/plugin marketplace add twill-tools/twill
/plugin install twill@twill-tools

For other coding agents, copy the directory skills/twill into their skills directory, or use a skill installer that supports GitHub repositories.

Copyright (c) 2005-2026 by C. Titus Brown, Ben R. Taylor, Christoph Zwerschke et al.

Newer versions have been created and are maintained by Christoph Zwerschke.

twill is available for use, modification, and distribution under the MIT license.

Metadata

Release files for twill 3.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for twill 3.4.0
File Size Uploaded Provenance Actions
twill-3.4.0.tar.gz 114.3 kB Without provenance Details for twill-3.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for twill 3.4.0
File Interpreter ABI Platform Actions
twill-3.4.0-py3-none-any.whl Python 3 none any Details for twill-3.4.0-py3-none-any.whl

Total release size: 168.3 kB

Release files / twill-3.4.0.tar.gz

Download URL twill-3.4.0.tar.gz
Size 114.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c06d69cbe368ece43c75f33ddc439a968b7a81d07d6cde03b0b8a77eaef875cb
BLAKE2b-256 checksum
How to use checksums
0b38cfcd7073acbb5102daf760a4050d531df9ade10032a97e0511bf87836c40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Release files / twill-3.4.0-py3-none-any.whl

Download URL twill-3.4.0-py3-none-any.whl
Size 54.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e51aa506ba411fa144883bf4702e90a2f686d704da9995eaa6886ce37ff19c9f
BLAKE2b-256 checksum
How to use checksums
f154f6cecf4a081679474b9aa688adacc934f1e7bd853d03f3be179d309ce095
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Security for twill 3.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page