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

freight-calculator

Latest version: v0.1.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: Dreamerjun
1 Versions

Scan summary

freight-calculator was last scanned on 27 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 27 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 27 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.

freight-calculator

快递运费计算器:按重量、距离、加急与会员状态计算运费,提供 Python API 与命令行两种用法。

安装

pip install freight-calculator

计费规则

项目 规则
首重 1kg 以内 10 元
续重 每 1kg 加 2 元(不足 1kg 按 1kg 计)
里程 1000km 内免费,超出部分每 500km 加 3 元
加急 附加 8 元
会员 总额 9 折

作为库使用

from freight_calculator import calc_freight

calc_freight(2, 1200, urgent=True)["total"]   # 23.0
calc_freight(5.6, 3000, urgent=True, member=True)["total"]   # 36.0

calc_freight(weight, distance, urgent=False, member=False) 返回明细字典:

键 含义
billing 计费重量(kg,整数)
first 首重费
step 续重费
extra 超出免费里程的公里数
km 里程费
urgent 加急费
discount 会员折扣
total 应付运费

命令行交互

freight-calc
# 或
python -m freight_calculator

测试

python tests/test_core.py

许可证

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 freight-calculator

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229