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 功能:排序

static.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.3.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.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mypytool-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 51c92398f06c40bbd0a683a64e8c3768b1501ce2fedbe52b6ba2dc997060ceab
MD5 46350d2e68d4339115697597197bbedf
BLAKE2b-256 5dbbbfa47401d28eac968b178dff00ca2ada62fbaba10180fbfe5e4dc6ef2869

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mypytool-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 31f54645fb371cb4a6c02c687dc62533871279193eacafdd3b083a84f3400441
MD5 779c376f586e194fc3e770a11aa84348
BLAKE2b-256 8fbd4bb0a46262c17c2e81200fa35d410b2bdf84c9bc4f564911cf10e5345e5e

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