Skip to main content

Add your description here

Project description

mypytool

一个有许多功能的python库 (由于本人十一岁能力有限,代码水平不高请谅解)

安装方法

pip install mypytool

功能介绍

main.py

perfect_square_plus_gs 功能:完全平方和公式

perfect_square_plus_z 功能:完全平方和值

perfect_square_sub_gs 功能:完全平方差公式

perfect_square_sub_z 功能:完全平方差值

glm 功能:十进制转格雷码

glm2bin 功能:格雷码转二进制

glm2dex 功能:格雷码转十进制

fast_pow 功能:快速幂

base_conversion 功能:进制转换将十进制x转换成y进制

base_conversion 功能:进制转换将二进制str x转换成十进制

swap 功能:交换a和b

swap1 功能:交换a和b

swap2 功能:交换a和b

factorial_recursion 功能:阶乘

fibonacci_recursion 功能:求斐波那契的第n项值

pow 功能:求a的b次方

date.py

month_first_day 功能:求当前月第一天的星期

leap_year 功能:判断是不是闰年

month_day 功能:求月份天数

sort.py

bubble_sort 功能:冒泡排序

bucket_sort 功能:桶排序

selection_sort 功能:选择排序

insertion_sort 功能:插入排序

shell_sort 功能:希尔排序

merge_sort 功能:归并排序

quick_sort 功能:快速排序

sort 功能:排序

stack.py

class static 功能:栈

queue.py

class queue 功能:队列

linked_list.py

class General_Linked_list 功能:单向链表

class Cycle_Linked_list 功能:循环链表

graghic.py

class Circle 功能:圆

class Square 功能:正方形

class Rectangle 功能:长方形

class Triangle 功能:三角形

class Parallelogram 功能:平行四边形

class Trapezoid 功能:梯形

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mypytool-0.1.4.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypytool-0.1.4-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file mypytool-0.1.4.tar.gz.

File metadata

  • Download URL: mypytool-0.1.4.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for mypytool-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3db46909ac01a352768b81fe4437cc07b26ce23b29b77360e98388b4ed6b376e
MD5 36b105a3a6c7e5c85159118132471f82
BLAKE2b-256 bce810fa385b2fe03de89063d7b210aba717a565f357cd3ffc2d8173458faa05

See more details on using hashes here.

File details

Details for the file mypytool-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: mypytool-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for mypytool-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 817c2ad70023154692f90f8532603dd490a8a3be22503ccfb509059cb00efe31
MD5 a6cb803d9a6dfb3b41494e2404454af8
BLAKE2b-256 0941f8c800723b81142bd0872a540056fa4bc177e741edbc2107139fb4d64265

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page