You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

mpmathbyyhu

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mpmathbyyhu

A comprehensive mathematics utility library

0.1.1
pipPyPI
Maintainers
1

math_utils - 多功能数学工具库

Python Version License

math_utils 是一个提供基础数学运算、统计计算、几何计算和随机数生成的Python库。

功能特性

  • 基础四则运算
  • 统计计算(均值、中位数、众数等)
  • 几何图形面积计算
  • 随机数生成工具

安装

pip install math_utils

快速开始

from math_utils import add, mean, circle_area

print(add(2, 3))  # 输出: 5
print(mean([1, 2, 3, 4]))  # 输出: 2.5
print(circle_area(2))  # 输出: 12.566370614359172

关于这个库的信息

因为我看见有些,不支持,所以我自己手搓一个

许可证

MIT License

FAQs

Did you know?

Socket

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.

Install

Related posts