Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

ypea

Latest version: v0.5.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: smkalami
6 Versions
305 Downloads

Scan summary

ypea was last scanned on 26 Nov 2026 at version 0.5.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest 5 were published within 2 days (25 and 26 Nov 2026).
  • Findings: No rules fired in version 0.5.0.
  • Downloads: 305 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.5.0 LATEST 26 Nov 2026 No rules fired
0.4.0 26 Nov 2026 No rules fired
0.3.0 25 Nov 2026 No rules fired
0.2.0 25 Nov 2026 Not shown
0.1.1 25 Nov 2026 Not shown

No rules fired in 0.5.0

Findings

Findings for v0.5.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.5.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

YPEA for Python

Yarpiz Evolutionary Algorithms (YPEA) is a toolbox for defining an optimization problem once and solving it with any of its 21 metaheuristics. This is the Python version of YPEA for MATLAB, redesigned and with the known defects fixed.

Status: early development (0.5.0).

Install

pip install ypea              # core, needs only NumPy
pip install "ypea[plot]"      # with matplotlib for plots
pip install "ypea[stats]"     # with SciPy for the statistical tests of experiments

Python 3.12 or newer. To work on YPEA itself, clone the repository and run pip install -e ".[dev]".

Example

Find 20 real numbers in [-10, 10] that minimize the sphere function:

import ypea

problem = ypea.Problem(
    vars=ypea.Real("x", shape=20, lb=-10, ub=10),
    objective=lambda sol: ypea.benchmarks.sphere(sol.x),
)

pso = ypea.PSO(max_iter=100, pop_size=100, w=0.5, wdamp=1, c1=1, c2=2)
result = pso.solve(problem, seed=1)

print(result.best.solution.x)
print(result.best.obj_value)

Any other algorithm solves the same problem, for example ypea.LSHADE(max_nfe=20_000).solve(problem, seed=1).

Features

  • 21 algorithms: the 15 of YPEA for MATLAB (ABC, ACOR, BA, BBO, CA, CMA-ES, DE, FA, GA, HS, ICA, IWO, PSO, SA, TLBO), the modern baselines JADE, SHADE, L-SHADE and IPOP-CMA-ES, and the reference methods Random Search and Nelder-Mead.
  • Every variable type for every algorithm: real, integer, binary, permutation, selection, partition and fixed sum variables, all encoded in [0, 1]. GA and SA also have native operators for permutations, selections, integers and reals (space="native").
  • Constraints built in: the objective may return (f, g) with g <= 0. Deb's feasibility rules by default, or a penalty.
  • Reproducible and exact: the same seed gives the same result, the evaluation budget is never exceeded, and every improvement is recorded. seed=ypea.StudioRng(n) draws the same numbers as YPEA Studio.
  • Fast: vectorized objectives and parallel evaluation.
  • Benchmarks: 26 classic functions with optional shift and rotation, and CEC 2017 and CEC 2022, checked against the official C code.
  • Test problems: engineering design, TSP, knapsack, QAP, n-Queens, vehicle routing, generalized assignment, hub location and transportation, with readers for the standard instance libraries.
  • Experiments: many algorithms on many problems, in parallel and resumable, with Wilcoxon, Friedman and Holm tests, CSV, LaTeX, Markdown and HTML tables, figures and a one page HTML report.

Documentation

The documentation site is at smkalami.github.io/ypea-python, with the user guide, one page per algorithm and the API reference. Its sources are in the docs folder. The examples folder has complete scripts. If you know the MATLAB toolbox, start with the differences from YPEA for MATLAB.

Citing

For this Python version (see CITATION.cff):

Mostapha Kalami Heris, YPEA: Yarpiz Evolutionary Algorithms for Python, version 0.5.0, 2026. https://github.com/smkalami/ypea-python

For the original MATLAB toolbox:

Mostapha Kalami Heris, Yarpiz Evolutionary Algorithms Toolbox for MATLAB (YPEA), Yarpiz, 2020.

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases ypea

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229