printplus-vn 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- printplus_vn-0.1.0/LICENSE +21 -0
- printplus_vn-0.1.0/PKG-INFO +79 -0
- printplus_vn-0.1.0/README.md +65 -0
- printplus_vn-0.1.0/pyproject.toml +21 -0
- printplus_vn-0.1.0/setup.cfg +4 -0
- printplus_vn-0.1.0/src/printplus_vn/__init__.py +11 -0
- printplus_vn-0.1.0/src/printplus_vn.egg-info/PKG-INFO +79 -0
- printplus_vn-0.1.0/src/printplus_vn.egg-info/SOURCES.txt +8 -0
- printplus_vn-0.1.0/src/printplus_vn.egg-info/dependency_links.txt +1 -0
- printplus_vn-0.1.0/src/printplus_vn.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nguyễn An Phước
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: printplus-vn
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Print text with a typewriter effect | In chữ theo hiệu ứng máy đánh chữ
|
|
5
|
+
Author: Nguyễn An Phước
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Keywords: print,terminal,typewriter
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Requires-Python: >=3.8
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Dynamic: license-file
|
|
14
|
+
|
|
15
|
+
# printplus-vn
|
|
16
|
+
|
|
17
|
+
**English** | [Tiếng Việt](#tiếng-việt)
|
|
18
|
+
|
|
19
|
+
Print text to the terminal with a typewriter effect. It pauses longer at punctuation (`. , ? !`) for a more natural feel.
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
pip install printplus-vn
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Usage
|
|
28
|
+
|
|
29
|
+
```python
|
|
30
|
+
from printplus_vn import typewriter
|
|
31
|
+
|
|
32
|
+
typewriter("Hello, world. How are you?")
|
|
33
|
+
typewriter("Hello, world.", 0.1) # slower
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The `delay` parameter is the pause between characters in seconds (default: 0.05). At punctuation marks, the pause is 5 times longer.
|
|
37
|
+
|
|
38
|
+
> **Note:** In PyCharm, run it in the Terminal or enable *Emulate terminal in output console* to see the smooth effect.
|
|
39
|
+
|
|
40
|
+
## Author
|
|
41
|
+
|
|
42
|
+
Nguyễn An Phước
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
MIT
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Tiếng Việt
|
|
51
|
+
|
|
52
|
+
In chữ ra màn hình theo hiệu ứng máy đánh chữ. Dừng lâu hơn ở dấu câu (`. , ? !`) để trông tự nhiên hơn.
|
|
53
|
+
|
|
54
|
+
### Cài đặt
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
pip install printplus-vn
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Cách dùng
|
|
61
|
+
|
|
62
|
+
```python
|
|
63
|
+
from printplus_vn import typewriter
|
|
64
|
+
|
|
65
|
+
typewriter("Xin chào, thế giới. Bạn khỏe không?")
|
|
66
|
+
typewriter("Xin chào, thế giới.", 0.1) # chậm hơn
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Tham số `delay` là thời gian chờ giữa các ký tự, tính bằng giây (mặc định: 0.05). Ở các dấu câu, thời gian chờ lâu gấp 5 lần.
|
|
70
|
+
|
|
71
|
+
> **Lưu ý:** Nếu dùng PyCharm, hãy chạy trong Terminal hoặc bật *Emulate terminal in output console* để thấy hiệu ứng mượt.
|
|
72
|
+
|
|
73
|
+
### Tác giả
|
|
74
|
+
|
|
75
|
+
Nguyễn An Phước
|
|
76
|
+
|
|
77
|
+
### Giấy phép
|
|
78
|
+
|
|
79
|
+
MIT
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# printplus-vn
|
|
2
|
+
|
|
3
|
+
**English** | [Tiếng Việt](#tiếng-việt)
|
|
4
|
+
|
|
5
|
+
Print text to the terminal with a typewriter effect. It pauses longer at punctuation (`. , ? !`) for a more natural feel.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
pip install printplus-vn
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from printplus_vn import typewriter
|
|
17
|
+
|
|
18
|
+
typewriter("Hello, world. How are you?")
|
|
19
|
+
typewriter("Hello, world.", 0.1) # slower
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
The `delay` parameter is the pause between characters in seconds (default: 0.05). At punctuation marks, the pause is 5 times longer.
|
|
23
|
+
|
|
24
|
+
> **Note:** In PyCharm, run it in the Terminal or enable *Emulate terminal in output console* to see the smooth effect.
|
|
25
|
+
|
|
26
|
+
## Author
|
|
27
|
+
|
|
28
|
+
Nguyễn An Phước
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
MIT
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Tiếng Việt
|
|
37
|
+
|
|
38
|
+
In chữ ra màn hình theo hiệu ứng máy đánh chữ. Dừng lâu hơn ở dấu câu (`. , ? !`) để trông tự nhiên hơn.
|
|
39
|
+
|
|
40
|
+
### Cài đặt
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
pip install printplus-vn
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Cách dùng
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
from printplus_vn import typewriter
|
|
50
|
+
|
|
51
|
+
typewriter("Xin chào, thế giới. Bạn khỏe không?")
|
|
52
|
+
typewriter("Xin chào, thế giới.", 0.1) # chậm hơn
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Tham số `delay` là thời gian chờ giữa các ký tự, tính bằng giây (mặc định: 0.05). Ở các dấu câu, thời gian chờ lâu gấp 5 lần.
|
|
56
|
+
|
|
57
|
+
> **Lưu ý:** Nếu dùng PyCharm, hãy chạy trong Terminal hoặc bật *Emulate terminal in output console* để thấy hiệu ứng mượt.
|
|
58
|
+
|
|
59
|
+
### Tác giả
|
|
60
|
+
|
|
61
|
+
Nguyễn An Phước
|
|
62
|
+
|
|
63
|
+
### Giấy phép
|
|
64
|
+
|
|
65
|
+
MIT
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=77"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "printplus-vn"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Print text with a typewriter effect | In chữ theo hiệu ứng máy đánh chữ"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
license-files = ["LICENSE"]
|
|
13
|
+
authors = [{name = "Nguyễn An Phước"}]
|
|
14
|
+
keywords = ["print", "terminal", "typewriter"]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Operating System :: OS Independent",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[tool.setuptools.packages.find]
|
|
21
|
+
where = ["src"]
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: printplus-vn
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Print text with a typewriter effect | In chữ theo hiệu ứng máy đánh chữ
|
|
5
|
+
Author: Nguyễn An Phước
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Keywords: print,terminal,typewriter
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Requires-Python: >=3.8
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Dynamic: license-file
|
|
14
|
+
|
|
15
|
+
# printplus-vn
|
|
16
|
+
|
|
17
|
+
**English** | [Tiếng Việt](#tiếng-việt)
|
|
18
|
+
|
|
19
|
+
Print text to the terminal with a typewriter effect. It pauses longer at punctuation (`. , ? !`) for a more natural feel.
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
pip install printplus-vn
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Usage
|
|
28
|
+
|
|
29
|
+
```python
|
|
30
|
+
from printplus_vn import typewriter
|
|
31
|
+
|
|
32
|
+
typewriter("Hello, world. How are you?")
|
|
33
|
+
typewriter("Hello, world.", 0.1) # slower
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The `delay` parameter is the pause between characters in seconds (default: 0.05). At punctuation marks, the pause is 5 times longer.
|
|
37
|
+
|
|
38
|
+
> **Note:** In PyCharm, run it in the Terminal or enable *Emulate terminal in output console* to see the smooth effect.
|
|
39
|
+
|
|
40
|
+
## Author
|
|
41
|
+
|
|
42
|
+
Nguyễn An Phước
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
MIT
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Tiếng Việt
|
|
51
|
+
|
|
52
|
+
In chữ ra màn hình theo hiệu ứng máy đánh chữ. Dừng lâu hơn ở dấu câu (`. , ? !`) để trông tự nhiên hơn.
|
|
53
|
+
|
|
54
|
+
### Cài đặt
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
pip install printplus-vn
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Cách dùng
|
|
61
|
+
|
|
62
|
+
```python
|
|
63
|
+
from printplus_vn import typewriter
|
|
64
|
+
|
|
65
|
+
typewriter("Xin chào, thế giới. Bạn khỏe không?")
|
|
66
|
+
typewriter("Xin chào, thế giới.", 0.1) # chậm hơn
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Tham số `delay` là thời gian chờ giữa các ký tự, tính bằng giây (mặc định: 0.05). Ở các dấu câu, thời gian chờ lâu gấp 5 lần.
|
|
70
|
+
|
|
71
|
+
> **Lưu ý:** Nếu dùng PyCharm, hãy chạy trong Terminal hoặc bật *Emulate terminal in output console* để thấy hiệu ứng mượt.
|
|
72
|
+
|
|
73
|
+
### Tác giả
|
|
74
|
+
|
|
75
|
+
Nguyễn An Phước
|
|
76
|
+
|
|
77
|
+
### Giấy phép
|
|
78
|
+
|
|
79
|
+
MIT
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
printplus_vn
|