Skip to main content

Low-level CSS parser for Python

Project description

tinycss2 is a low-level CSS parser and generator: it can parse strings, return Python objects representing tokens and blocks, and generate CSS strings corresponding to these objects.

Based on the CSS Syntax Level 3 specification, tinycss2 knows the grammar of CSS but doesn’t know specific rules, properties or values supported in various CSS modules.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinycss2-1.0.0.tar.gz (57.7 kB view details)

Uploaded Source

Built Distribution

tinycss2-1.0.0-py3-none-any.whl (61.5 kB view details)

Uploaded Python 3

File details

Details for the file tinycss2-1.0.0.tar.gz.

File metadata

  • Download URL: tinycss2-1.0.0.tar.gz
  • Upload date:
  • Size: 57.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for tinycss2-1.0.0.tar.gz
Algorithm Hash digest
SHA256 562d2e2b7ff191c0a9587ad5114dbf47d015d02f7449aa0ac41e7a725fbd77fc
MD5 01004174033c405d895c8ae91c339f56
BLAKE2b-256 2d47a581910f83feb6e52eeaf3d78590640c009d60963236ec8b74704e705a92

See more details on using hashes here.

File details

Details for the file tinycss2-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tinycss2-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 61.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for tinycss2-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a7c09ff9f3bd71772de87ba3984e216a18261b889f9b9b6f2942140f17c94fa
MD5 6d9c039cf24a9db3cbbaa7b1f09ec406
BLAKE2b-256 afaf19883a42f570332bdd09cb7134a4975d59b4a8d418d46dc0730267aa3efa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page