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

checkcases

Latest version: v0.1.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: frankdevv
1 Versions

Scan summary

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

  • Releases: First and only release on 26 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 26 Nov 2026 No rules fired

No rules fired in 0.1.0

Findings

Findings for v0.1.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.1.0; other versions have their own rules, not their own score.

README

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

checkcases

Check a Python function against a few example inputs and see clearly what passes and what fails.

It's made for practice: you write a function, list some inputs with the answers you expect, and run check. No test framework, no setup, no dependencies.

pip install checkcases

Example

from checkcases import check, raises

def fizzbuzz(n):
    if n % 15 == 0:
        return "FizzBuzz"
    if n % 3 == 0:
        return "Fizz"
    if n % 5 == 0:
        return "Buzz"
    return str(n)

check(fizzbuzz, [
    (3, "Fizz"),
    (5, "Buzz"),
    (15, "FizzBuzz"),
    (7, "7"),
])
PASS fizzbuzz(3) == 'Fizz'
PASS fizzbuzz(5) == 'Buzz'
PASS fizzbuzz(15) == 'FizzBuzz'
PASS fizzbuzz(7) == '7'
------------------------------
4/4 passed

When something is wrong, you see the call, what came back and what you expected:

FAIL add(1, 2) returned 4, expected 3

Writing cases

Case Means
(5, 25) f(5) should return 25
((2, 3), 5) f(2, 3) should return 5
{"args": (2,), "kwargs": {"b": 3}, "expected": 5} f(2, b=3) should return 5
((1, 0), raises(ZeroDivisionError)) f(1, 0) should raise ZeroDivisionError

Floats are compared with a small tolerance, so 0.1 + 0.2 counts as 0.3. Change it with check(f, cases, tol=1e-6).

Using the result

check returns a result you can use in scripts:

result = check(add, cases, verbose=False)
if not result:
    print(result.failures)

result.passed, result.failed and result.failures hold the details, and the result is truthy when everything passed.

Looking for something to practice on?

PyChallenge has Python challenges to work through in your browser, from beginner to more advanced.

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 checkcases

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229