
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
lighthousedataextract
Advanced tools

This tool parses the google lighthouse json data, accepts a csv file for categories of the URLs and returns 4 pandas DataFrames for metrics, opportunities, diagnostics and resources.
pip install lighthousedataextract
from lighthousedataextract import LightHouseDataExtract
If json files are in directory ./repprt/lighthouse/ and you don't want to give an input file for categories of URLs
report = LightHouseDataExtract()
If your json files are in another directory
report = LightHouseDataExtract(
path_to_json="./data/lighthouse/report/lighthouse/"
)
If you want to seperate URLs in categories
Your CSV of URLs should have two columns, without headers. Below you can see an example:
| https://www.example.com/ | Home Page |
| https://www.example.com/categories/category-1 | Middle Tail |
| https://www.example.com/products/product-1234 | Long Tail |
report = LightHouseDataExtract(url_category_file="./data/lighthouse/category.csv")
from lighthousedataextract import LightHouseDataExtract
report = LightHouseDataExtract(
path_to_json="./data/lighthouse/report/lighthouse/",
url_category_file="./data/lighthouse/category.csv",
)
df_report = report.df_report()
df_report.set_index("url").T
df_opportunities = report.df_opportunities()
display(df_opportunities)
df_diagnostics = report.df_diagnostics()
display(df_diagnostics)
df_resources = report.df_resources()
display(df_resources)
api_report = LightHouseDataExtract(from_api=True)
FAQs
Google LightHouse Data Extractor
We found that lighthousedataextract demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.