Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
This Python code parses an Energy Service Provider Interface (ESPI), or "Green Button", XML file into Python objects.
Run parse_feed()
from the parse.py
file to get a list of UsagePoint
objects. From there you should be able to explore all of the data in the
feed. Documentation is a little lacking at the moment, but the class
members mostly match the names from the ESPI standard (or at least the XML
entities).
There's a bit of documentation in the doc
directory about the ESPI
standard, mostly figured out from public sources and actual ESPI files.
Forked from the original repository greenbutton-objects and packaged to be published on PyPI.
Used by the Code for Boston Home Energy Analysis Tool.
Simple steps for development setup:
pip install -e .
builds the python egg for greenbutton_objects and then installs greenbutton_objectspip install -r requirements-dev.txt
which installs the libraries required to develop greenbutton_objectsThen, you should be able to run pytest
, also from any directory, and see the test run successfully.
FAQs
Parse Green Button XML files into Python objects.
We found that greenbutton-objects 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.