Webcode-tk

Latest version: v0.7.10

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

Scan your dependencies

Page 1 of 5

0.7.10

This is a bug-fix to fix css_tools' function: `get_project_color_contrast()` so it does not crash if there is only a single html file in a project folder.

0.7.9

Adding some functionality to get all permutations of selectors based on tag name, id, and class selectors.

- `get_possible_selectors_by_tag(file_path: str, tag: str)`
- `add_if_not_in(my_list: list, item: str)`

TODO:
* add potential descendant and other advanced selectors (that will be a different function)

0.7.7

Enhancing link selectors and applying inheritance to determine colors applied when appropriate.

TODO: enhance all CSS styles to examine inheritance when possible.

0.7.6

We can now get link color data for projects.

0.7.5

We can now search for properties to see if a property has been set on a selector, and we can get the value of a selector from a declaration block.

0.7.4

Adding two functions to html_tools:

- `get_style_attribute_data()` - gets data on whether an html document uses the style attribute or not - including the value set by the style attribute for each tag that uses it.
- `has_style_attribute_data()` - let's us know if there is a style attribute or not.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.