About Emmetify Py
Emmetify is an open source Python library that compresses HTML into Emmet notation before it reaches a language model. Emmet is the shorthand syntax frontend developers have used for more than a decade to expand abbreviations into markup. The library runs that process in reverse, turning a nested HTML tree into a single compact expression that keeps the structure intact while dropping the characters a model does not need.
It is aimed at engineers building web automation and scraping agents, where the point is to cut token cost without losing the document structure. Because the structure survives, an agent can still produce XPath and CSS selectors and decide what to click, fill or follow, which is precisely what converting a page to Markdown throws away. Configuration options skip non essential tags, prioritize important attributes, simplify class names and shorten URLs. The documentation shows a nested example falling from 59 tokens to 22 by the OpenAI tokenizer, and states that advanced settings can reach reductions of up to 90% depending on the page. Installation is through pip, and the API is an Emmetifier class plus a shorthand function for compact HTML.
The library is free. It is published on PyPI under the Apache 2.0 license with no paid tier and no hosted service. The current published release is 0.1.0, classified by the author as beta.
The listed website carries only the tagline and a note that the page is under construction, pointing visitors to the GitHub repository. The repository and the package page are where the documentation, configuration reference and examples actually live.