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.
A simple Python API Wrapper for Bailo
Python 3.8.1 or higher is required
pip install bailo
from bailo import Client, Model
client = Client("http://localhost:8080")
# Create a model
yolo = Model.create(
client=client,
name="YoloV4",
description="You only look once!",
team_id="Uncategorised"
)
yolo.card_from_schema("minimal-general-v10-beta")
# Create a new release
my_release = yolo.create_release(version="0.1.0",
notes="Beta")
# Upload a file to the release
with open("yolo.onnx") as f:
my_release.upload("yolo", f)
Documenation is rendered with Sphinx and served here.
From the docs directory run either make html
or make.bat
on Windows. This will build it in the backend directory by
default.
If already working on Bailo you may be prompted to overwrite Husky. Follow the instructions given by Git CLI.
pip install pre-commit
pre-commit install
pip install -e .
The package uses Pytest to test packages. Tests can be ran accordingly from within this directory. Tests are split into categories sections for automation purposes.
In order to run integration tests make sure Bailo is running on https://localhost:8080
:
pytest -m integration
Run all other tests:
pytest
FAQs
Simplifies interacting with Bailo
We found that bailo 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.