ascii-art-python 1.2.0__tar.gz → 1.2.2__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.
- {ascii_art_python-1.2.0/ascii_art_python.egg-info → ascii_art_python-1.2.2}/PKG-INFO +37 -1
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/README.md +35 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python/__init__.py +1 -1
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2/ascii_art_python.egg-info}/PKG-INFO +37 -1
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/pyproject.toml +2 -1
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/LICENSE +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/MANIFEST.in +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python/ascii_base.py +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python/assets/fonts/GoogleSansCode-Regular.ttf +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python/assets/fonts/KreativeSquareSM.ttf +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python/cli.py +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python/full_mode.py +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python/new_skool.py +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python/old_skool.py +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python.egg-info/SOURCES.txt +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python.egg-info/dependency_links.txt +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python.egg-info/entry_points.txt +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python.egg-info/requires.txt +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python.egg-info/top_level.txt +0 -0
- {ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/setup.cfg +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ascii_art_python
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: A Python library and CLI tool for converting images and videos into ASCII art.
|
|
5
5
|
Author-email: Guillem Prieur <prieurguillem38@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://gitlab.pprriieeuurr.fr/guill_prieur/ascii-art-python
|
|
7
7
|
Project-URL: Bug Tracker, https://gitlab.pprriieeuurr.fr/guill_prieur/ascii-art-python/-/issues
|
|
8
8
|
Project-URL: Source Code, https://gitlab.pprriieeuurr.fr/guill_prieur/ascii-art-python
|
|
9
|
+
Project-URL: Documentation, https://guill_prieur.site-prieur.fr/ascii-art-python
|
|
9
10
|
Keywords: ascii,ascii-art,image-to-ascii,video-to-ascii,cli,terminal,terminal-graphics,generator,converter
|
|
10
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
@@ -88,6 +89,7 @@ This module provides advanced tools for converting classic images and videos int
|
|
|
88
89
|
- Video to ASCII animation with sound extraction.
|
|
89
90
|
- Play video directly in the terminal.
|
|
90
91
|
- Export to `.txt`, `.png`, `.mp4`, or `.avi`.
|
|
92
|
+
- A command-line interface that allows you to do everything listed above.
|
|
91
93
|
|
|
92
94
|
## 📦 Installation
|
|
93
95
|
|
|
@@ -112,6 +114,40 @@ import ascii_art_python as aap
|
|
|
112
114
|
- `aap.old_skool`: An edge-detection based ASCII style using Canny/Sobel filters to draw contours with line characters (`-`, `/`, `\`, `|`).
|
|
113
115
|
- `aap.full_mode`: A hybrid approach combining edge-detection for sharp contours and density-based characters for shading.
|
|
114
116
|
|
|
117
|
+
## >_ Command-Line Interface
|
|
118
|
+
|
|
119
|
+
### 1. Create and export an image or video as ASCII art
|
|
120
|
+
|
|
121
|
+
Here is the command and its parameters:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
aap-export [OPTIONS] SOURCE_PATH TARGET_FILENAME
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Here are the options:
|
|
128
|
+
|
|
129
|
+
| Option | Description |
|
|
130
|
+
|----------------------|----------------------------------------|
|
|
131
|
+
| -l, --length INTEGER | The number of characters in the output |
|
|
132
|
+
| -m, --mode TEXT | full_mode / old_skool / new_skool |
|
|
133
|
+
| --help | Show help message and exit. |
|
|
134
|
+
|
|
135
|
+
### 2. Create and print an image or video as ASCII art into the terminal
|
|
136
|
+
|
|
137
|
+
Here is the command and its parameters:
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
aap-echo [OPTIONS] SOURCE_PATH
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Here are the options:
|
|
144
|
+
|
|
145
|
+
| Option | Description |
|
|
146
|
+
|----------------------|----------------------------------------|
|
|
147
|
+
| -l, --length INTEGER | The number of characters in the output |
|
|
148
|
+
| -m, --mode TEXT | full_mode / old_skool / new_skool |
|
|
149
|
+
| --help | Show help message and exit. |
|
|
150
|
+
|
|
115
151
|
## 📚 API Reference
|
|
116
152
|
|
|
117
153
|
### 1. Enumerations (Enums)
|
|
@@ -51,6 +51,7 @@ This module provides advanced tools for converting classic images and videos int
|
|
|
51
51
|
- Video to ASCII animation with sound extraction.
|
|
52
52
|
- Play video directly in the terminal.
|
|
53
53
|
- Export to `.txt`, `.png`, `.mp4`, or `.avi`.
|
|
54
|
+
- A command-line interface that allows you to do everything listed above.
|
|
54
55
|
|
|
55
56
|
## 📦 Installation
|
|
56
57
|
|
|
@@ -75,6 +76,40 @@ import ascii_art_python as aap
|
|
|
75
76
|
- `aap.old_skool`: An edge-detection based ASCII style using Canny/Sobel filters to draw contours with line characters (`-`, `/`, `\`, `|`).
|
|
76
77
|
- `aap.full_mode`: A hybrid approach combining edge-detection for sharp contours and density-based characters for shading.
|
|
77
78
|
|
|
79
|
+
## >_ Command-Line Interface
|
|
80
|
+
|
|
81
|
+
### 1. Create and export an image or video as ASCII art
|
|
82
|
+
|
|
83
|
+
Here is the command and its parameters:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
aap-export [OPTIONS] SOURCE_PATH TARGET_FILENAME
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Here are the options:
|
|
90
|
+
|
|
91
|
+
| Option | Description |
|
|
92
|
+
|----------------------|----------------------------------------|
|
|
93
|
+
| -l, --length INTEGER | The number of characters in the output |
|
|
94
|
+
| -m, --mode TEXT | full_mode / old_skool / new_skool |
|
|
95
|
+
| --help | Show help message and exit. |
|
|
96
|
+
|
|
97
|
+
### 2. Create and print an image or video as ASCII art into the terminal
|
|
98
|
+
|
|
99
|
+
Here is the command and its parameters:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
aap-echo [OPTIONS] SOURCE_PATH
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Here are the options:
|
|
106
|
+
|
|
107
|
+
| Option | Description |
|
|
108
|
+
|----------------------|----------------------------------------|
|
|
109
|
+
| -l, --length INTEGER | The number of characters in the output |
|
|
110
|
+
| -m, --mode TEXT | full_mode / old_skool / new_skool |
|
|
111
|
+
| --help | Show help message and exit. |
|
|
112
|
+
|
|
78
113
|
## 📚 API Reference
|
|
79
114
|
|
|
80
115
|
### 1. Enumerations (Enums)
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ascii_art_python
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: A Python library and CLI tool for converting images and videos into ASCII art.
|
|
5
5
|
Author-email: Guillem Prieur <prieurguillem38@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://gitlab.pprriieeuurr.fr/guill_prieur/ascii-art-python
|
|
7
7
|
Project-URL: Bug Tracker, https://gitlab.pprriieeuurr.fr/guill_prieur/ascii-art-python/-/issues
|
|
8
8
|
Project-URL: Source Code, https://gitlab.pprriieeuurr.fr/guill_prieur/ascii-art-python
|
|
9
|
+
Project-URL: Documentation, https://guill_prieur.site-prieur.fr/ascii-art-python
|
|
9
10
|
Keywords: ascii,ascii-art,image-to-ascii,video-to-ascii,cli,terminal,terminal-graphics,generator,converter
|
|
10
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
@@ -88,6 +89,7 @@ This module provides advanced tools for converting classic images and videos int
|
|
|
88
89
|
- Video to ASCII animation with sound extraction.
|
|
89
90
|
- Play video directly in the terminal.
|
|
90
91
|
- Export to `.txt`, `.png`, `.mp4`, or `.avi`.
|
|
92
|
+
- A command-line interface that allows you to do everything listed above.
|
|
91
93
|
|
|
92
94
|
## 📦 Installation
|
|
93
95
|
|
|
@@ -112,6 +114,40 @@ import ascii_art_python as aap
|
|
|
112
114
|
- `aap.old_skool`: An edge-detection based ASCII style using Canny/Sobel filters to draw contours with line characters (`-`, `/`, `\`, `|`).
|
|
113
115
|
- `aap.full_mode`: A hybrid approach combining edge-detection for sharp contours and density-based characters for shading.
|
|
114
116
|
|
|
117
|
+
## >_ Command-Line Interface
|
|
118
|
+
|
|
119
|
+
### 1. Create and export an image or video as ASCII art
|
|
120
|
+
|
|
121
|
+
Here is the command and its parameters:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
aap-export [OPTIONS] SOURCE_PATH TARGET_FILENAME
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Here are the options:
|
|
128
|
+
|
|
129
|
+
| Option | Description |
|
|
130
|
+
|----------------------|----------------------------------------|
|
|
131
|
+
| -l, --length INTEGER | The number of characters in the output |
|
|
132
|
+
| -m, --mode TEXT | full_mode / old_skool / new_skool |
|
|
133
|
+
| --help | Show help message and exit. |
|
|
134
|
+
|
|
135
|
+
### 2. Create and print an image or video as ASCII art into the terminal
|
|
136
|
+
|
|
137
|
+
Here is the command and its parameters:
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
aap-echo [OPTIONS] SOURCE_PATH
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Here are the options:
|
|
144
|
+
|
|
145
|
+
| Option | Description |
|
|
146
|
+
|----------------------|----------------------------------------|
|
|
147
|
+
| -l, --length INTEGER | The number of characters in the output |
|
|
148
|
+
| -m, --mode TEXT | full_mode / old_skool / new_skool |
|
|
149
|
+
| --help | Show help message and exit. |
|
|
150
|
+
|
|
115
151
|
## 📚 API Reference
|
|
116
152
|
|
|
117
153
|
### 1. Enumerations (Enums)
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ascii_art_python"
|
|
7
|
-
version = "1.2.
|
|
7
|
+
version = "1.2.2"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name="Guillem Prieur", email="prieurguillem38@gmail.com" },
|
|
10
10
|
]
|
|
@@ -57,6 +57,7 @@ dependencies = [
|
|
|
57
57
|
"Homepage" = "https://gitlab.pprriieeuurr.fr/guill_prieur/ascii-art-python"
|
|
58
58
|
"Bug Tracker" = "https://gitlab.pprriieeuurr.fr/guill_prieur/ascii-art-python/-/issues"
|
|
59
59
|
"Source Code" = "https://gitlab.pprriieeuurr.fr/guill_prieur/ascii-art-python"
|
|
60
|
+
"Documentation" = "https://guill_prieur.site-prieur.fr/ascii-art-python"
|
|
60
61
|
|
|
61
62
|
[project.scripts]
|
|
62
63
|
aap-export = "ascii_art_python.cli:create_and_export"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python/assets/fonts/KreativeSquareSM.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{ascii_art_python-1.2.0 → ascii_art_python-1.2.2}/ascii_art_python.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|