Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Follow the Google Python Style Guide from https://google.github.io/styleguide/pyguide.html.
Before you commit your code, please check that it is "clean".
To do so, first run black
from the projects root directory:
$ black .
Next, check if flake8
shows any errors:
$ flake8
Fix any shown errors before you commit.
Mac Users: Install brew
brew install python
and brew install graphviz
etc.Generate and activate a virtual environment, see venv, e.g.,
cd ~; python3 -m venv .venv
source ~/.venv/bin/activate
python -m pip install mkdocs mkdocs-gen-files mkdocs-literate-nav mkdocs-section-index mkdocs-material
mkdocs build
mkdocs serve
http://127.0.0.1:8000/
https://scipy-lectures.org/advanced/optimizing/index.html
pyproject.toml
(setup.py
is not used anymore.)src
folder is used for the package sources.pyproject.toml
: see pyproject.toml.MANIFEST
file:
MANIFEST
: see MANIFEST. It describes the data files to be included, e.g.:
include src/spotriver/data/*.rst
LICENSE
: see LICENSEpython3 -m pip install --upgrade build
python3 -m build
dist
directory.spotriver*.tar.gz
file from the dist
folder for your package installation with pip
, e.g.;python3 -m pip install ./dist/spotriver-*.tar.gz
FAQs
spotriver - Sequential Parameter Optimization Interface to River
We found that spotriver 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.