Skip to main content

BurtTRAVER —— 中文编程语言库 BurtTRAVER 是一个专为中文用户设计的 Python 库,让不会英文的人也能轻松写代码! ✨功能亮点

  • 🀄 中文语法:用「针对」「在」「打印」等中文关键字写代码
  • 🎨 中文画图:封装了 turtle 库,用「苏醒乌龟」「前进」「左转」画画
  • 🎮 游戏开发:封装了 pygame 库,用「苏醒玩家」快速初始化游戏窗口
  • 🔒 自定义加密:自带一套带密钥的加密/解密算法,保护你的文字
  • 🧮 数学工具:内置阶乘、次方、开根号等常用数学函数 🚀 快速开始
  1. 安装 bash pip install burt_traver 2.初探一下! from burt_traver import 打印, 针对, 在, 重复数字 针对 i 在 重复数字(1, 6): 打印("BurtTRAVER 第", i, "次输出!")
    3.进行实践,做一个小正方形吧! from burt_traver import 苏醒乌龟 苏醒乌龟() 乌龟.前进(100) 乌龟.右转(90) 乌龟.前进(100) 乌龟.右转(90) 乌龟.前进(100) 乌龟.右转(90) 乌龟.前进(100) 4.加密你的小秘密! from burt_traver import 加密, 解密 原文 = "这是一门中文编程语言!" 密文 = 加密(原文) 打印("加密后:", 密文) 打印("解密后:", 解密(密文)) 📖 全部功能
  • 打印(内容,结尾符='\n',开始符='',间隔符=' ')
  • 重复输出(断开重复条件=1==0,内容='',限制次数=1,结尾符='\n',开始符='',间隔符=' ')
  • 阶乘(数字)
  • 次方算法(数字,次方数)
  • 开根号(次方根,数字)
  • 苏醒玩家(大小=(800,800),颜色=(0,0,0),名称='') --->import pygame,自动初始化,但是没有while True。
  • 苏醒乌龟(别名='乌龟',颜色='白'): --->import turtle as 别名 这里自动建了一个库。
  • 转换形态(函数,转换的形态)
  • 加密(字符串)
  • 解码(密码)
  • 显示功能() --->显示所有功能
  • 篱笆 = '╳'
  • 链条 = '┇'
  • 左上角 = '╭'
  • 右上角 = '╮'
  • 横线 = '━'
  • 左下角 = '╰'
  • 右下角 = '╯'
  • 竖线 = '┃'
  • 苹果图标-t = ''
  • 上 = '⬆'
  • 下 = '⬇'
  • 左 = '⬅'
  • 右 = '➡'
  • 综合(*args)
  • 重复数字(开始,结束,间隔=1)
  • 关键字库:'针对':'for','在':'in','定义函数':'def', '返回':'return','如果':'if', '否则':'else','要不然':'elif', '试一试':'try','报错':'except', '没报错':'else','无论如何':'finally' 📌 作者
  • Name:Burt
  • Age:10
  • 介绍:我是一名喜欢创造的小学生,用 347 行代码造出了 BurtTRAVER! 📄 许可证 MIT License plaintext

Metadata

Release files for BurtTRAVER 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for BurtTRAVER 0.3.0
File Size Uploaded Provenance Actions
burttraver-0.3.0.tar.gz 7.3 kB Without provenance Details for burttraver-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for BurtTRAVER 0.3.0
File Interpreter ABI Platform Actions
burttraver-0.3.0-py3-none-any.whl Python 3 none any Details for burttraver-0.3.0-py3-none-any.whl

Total release size: 14.8 kB

Release files / burttraver-0.3.0.tar.gz

Download URL burttraver-0.3.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d9bbe78d6c64945da280b48dc7dc7262469efbfbd569dbdb6f87f9480c175ddc
BLAKE2b-256 checksum
How to use checksums
eb730c97b4abe683aa17fdeb7b0e74ab7ac7c2ee868978b0902955134f6b94ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / burttraver-0.3.0-py3-none-any.whl

Download URL burttraver-0.3.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
783838b043ddef48c68f657fd50a1a5bb863b9322d6ebb4d3e328250f4b8beae
BLAKE2b-256 checksum
How to use checksums
7293fe86629c04efa1d8c8576f6a1c339e90797f261e18da4e3534d08ba07efa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Security for BurtTRAVER 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page