Metadata-Version: 2.4
Name: byteprints
Version: 1.3.0rc6
Summary: 字节跳动风格延迟逐元素打印库，支持字符串/容器，毫秒/秒模式切换 | ByteDance-style delayed element-wise printing library
Author: nousername2
Author-email: 3839784270@qq.com
License: MIT
Keywords: print,delay,byte dance,延迟打印,容器打印,打印
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 欢迎使用BytePrint库 / Welcome to the BytePrint library

**备注：英文版在后面 / Note: English version is at the back**

## 中文版 / Chinese version

这是一个BytepPrint库，一个建立在Python之上的BytePrint库。
它比较轻便，但功能齐全，
支持的类型很多，比如字符串(str)，列表(list)，元组(tuple)，字典(dict)等类型，非常丰富！
并且存在别名内置简写函数，
支持毫秒或秒的延迟模式，
完善的参数检测以及双语提示，
还不需要其他依赖！
支持help()文档模式

BytePrint库，缩写bp，中文名“字节打印”，
推荐的导入方式是：
```python
import byteprints as bp
```
采用双语制作：中文，英文，
支持版本：Python >= 3.6

### 重要提示：
byteprints不建议与byteprint库在一起，容易冲突！
（byteprints注册为byteprints，byteprint注册为byteprint）

*备注：byteprint在2025年发布的，本库继承原byteprint库，延续证书年份（2025）*
### 使用方法：
1. 初步使用
    ```python
    import byteprints as bp
    bp.bd("Hello, BytePrint")
    ```
    显然，使用方法非常的简单，
    毕竟这只是初步，没有那么的复杂，

2. 分类的使用
    最早的时候，sbd是最先出现的
    sbd全名是string\_byte\_dance，字符串打印。
    没错，最初本来打算命名为**字节跳动(ByteDance)**，
    但是已经有人抢了，因此起名**字节打印(BytePrint)**，
    sbd本质就是把任何输入转换为字符串类型进行打印，
    cbd就是container\_byte\_dance，容器打印，不过有错误的地方，就是：
    - 这个类型不支持不可迭代的数
    
    所以容易被嫌弃，不过可能在某些地方会用到吧...

3. REPL环境
    这个库配备了REPL环境
    还有类似exec的执行
    这就是execute函数
    支持执行字符串，比如
    ```python
    import byteprints as bp
    bp.execute("bd('Hello, BytePrint')")
    ```
    当然，如果输入是这样的话，是进入REPL
    有三种方式：
    ```python
    import byteprints as bp
    
    # 1. 空输入
    bp.execute()
    
    # 2. 输入空白
    bp.execute(None)
    
    # 3. 输入布尔值
    bp.execute(False)
    bp.execute(True)
    ```
    至于有啥用？实践就知道！

4. 如何反馈
    你想反馈的话，邮件已经给了。
    如果你不想用，BytePrint内置了feedback，
    不过，需要的参数让你直呼无语！
    你可以通过：
    ```python
    import byteprints as bp
    help(bp.feedback)
    ```
    查看参数，肯定会让你懵逼的！
    并且bp内置helps，可以试试！

5. 内置的检测系统
    REPL是内置了自动更新系统，
    如果你想阻止，可以通过CTRL+C打断，来直接进行REPL
    你可以：
    - 通过again函数重新安装
    - 通过upgrade函数进行升级
    - 通过versions进行查看版本
    - 通过install进行安装指定版本
    这都是可以的

6. 参数
    看过帮助文档的都知道，
    BytePrint库有参数
    参数主要是
    - c (content) 内容
    - s (speed) 速度
    - e (end) 结尾
    - m (ms_mode) 毫秒模式
    - p (separated) 分隔 （仅限 容器打印）
    没错，如此离谱，真的很离谱！

暂时没有其他的了，后面的你们继续探索！
___
---
***
## English version / 英文版

This is a BytePrint library, a BytePrint library built on top of Python.
It's relatively light, but fully functional,
There are many supported types, such as string (str), list (list), tuple (tuple), dictionary (dictionary) and other types, which are very rich!
And there are alias built-in shorthand functions,
Supports milliseconds or seconds delay mode,
Complete parameter testing and bilingual prompts,
No other dependence is needed yet!
Support help() document mode

BytePrint library, abbreviated as bp, and its Chinese name is "Byte Print",
The recommended import methods are:
```python
import byteprints as bp
```
Produced in bilingual: Chinese, English,
Supported versions: Python >= 3.6

### Important Tips:
Byteprint is not recommended with the byteprint library, it is easy to conflict!
(Byteprints are registered as byteprints, byteprint is registered as byteprint

*Note: byteprint was released in 2025. This library inherits the original byteprint library and continues the certificate year (2025)*
### Usage method:
1. preliminary use
    ```python
    import byteprints as bp
    bp.bd("Hello, BytePrint")
    ```
    Obviously, the method of use is very simple,
    After all, this is only preliminary and not that complicated

2. classified utilization
    At the earliest time, sbd was the first to appear
    The full name of sbd is string\_byte\_dance, and the string is printed.
    Yes, originally intended to be ** ByteDance **,
    But someone had already robbed it, so they named it ** BytePrint **.
    The essence of sbd is to convert any input into a string type for printing,
    cbd is container\_byte\_dance, container printing, but there is an error:
    - This type does not support non-iterable numbers
    
    So it is easy to be disliked, but it may be used in some places..

3. REPL Environment
    This library is equipped with a REPL environment
    There are also exec-like implementations
    This is the execute function
    Supports execution strings, such as
    ```python
    import byteprints as bp
    bp.execute("bd('Hello, BytePrint')")
    ```
    Of course, if the input is like this, it is to enter REPL
    There are three ways:
    ```python
    import byteprints as bp
    
    # 1. empty input
    bp.execute()
    
    # 2. Enter blank
    bp.execute(None)
    
    # 3. Enter Boolean value
    bp.execute(False)
    bp.execute(True)
    ```
    As for what is the use? Practice will know!

4. How to give feedback
    If you want feedback, you have already sent it an email.
    If you t want to use it, Print has built-in feedback,
    However, the required parameters make you speechless!
    You can:
    ```python
    import byteprints as bp
    help(bp.feedback)
    ```
    Check the parameters and you will definitely be confused!
    And bp has built-in helps, you can try it

5. Built-in detection system
    REPL has a built-in automatic update system,
    If you want to stop it, you can interrupt directly by CTRL+C to perform REPL.
    You can:
    - Reinstall through the again function
    - Upgrade through the upgrade function
    - View version via versions
    - Install via install Specify version
    This is all possible

6. parameters
    Anyone who has read the help document knows that
    BytePrint library has parameters
    The parameters are mainly
    - c (content) content
    - s (speed)
    - e (end) ends
    - m (ms_mode) milliseconds mode
    - p (separated)(container printing only)
    That's right, it's so outrageous, it's really outrageous!

There is nothing else for the time being. Continue to explore later!
