Kozea / Kozea/tinycss2

Streaming API

Open
#68 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
190
Forks
30
Avg merge
10h 19m
Merged PRs (30d)
2

Description

Right now, it appears that using tinycss2 requires feeding the entire CSS file into the parser.

A streaming API (similar to html.parser) would allow applications to avoid buffering and the efficiency/security issues that it brings.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading tinycss2's current parser entry points and compare them with Python's html.parser streaming model. Define how CSS input can be consumed incrementally without buffering the entire file, and consider the efficiency and security concerns described in the issue. Done means applications can use a documented streaming API for CSS parsing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.