
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
carbonfootprint
Advanced tools
carbon footprint of the power consumption by fuel mix. Calculates carbon footprint based on fuel mix and discharge profile at the utility selected. Can create graphs and tabular output for fuel mix based on input file of series of power drawn over a period of time.
~/anaconda3/bin/conda install anaconda-client conda-build
~/anaconda3/bin/conda config --set anaconda_upload no
~/anaconda3/bin/conda build . --output
~/anaconda3/bin/anaconda login
~/anaconda3/bin/anaconda upload dist/carbonfootprint-1.1.5.tar.gz
Referneces
1. Generating distribution archives
First install latest version of PyPA’s build then build . This should generate dist directory:
python3 -m pip install --upgrade build
python3 -m build
2. Uploading the distribution archives
python3 -m pip install --upgrade twine
twine check dist/*
Checking dist/carbon_footprint_calculator-1.1.1-py3-none-any.whl: PASSED
Checking dist/carbon_footprint_calculator-1.1.1.tar.gz: PASSED
Install twine and upload all of the archives under dist to pypi’s test server
python3 -m twine upload --repository testpypi dist/*
or to pyapi
python3 -m twine upload dist/*
3.Installing the package
From pytest
python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps carbonfootprint
From pyapi
pip3 install carbonfootprint
References :
Install and Setup Conda
export PATH=$PATH:/home/altanai/anaconda3/bin
Activate virtual env
source energycarbon_env/bin/activate
Run unit tests
python tests/unittests.py
Issue1 Adding csv for the datasets
solution refer to https://python-packaging.readthedocs.io/en/latest/non-code-files.html Add the following to dynamic setup.py
include_package_data=True
package_data={'': ['dataset/*']},
FAQs
carbon footprint of the power consumption by fuel mix. Calculates carbon footprint based on fuel mix and discharge profile at the utility selected. Can create graphs and tabular output for fuel mix based on input file of series of power drawn over a period of time.
We found that carbonfootprint 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.