sixamp 1.0.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.
sixamp-1.0.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 pez2001
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.
sixamp-1.0.0/PKG-INFO ADDED
@@ -0,0 +1,104 @@
1
+ Metadata-Version: 2.4
2
+ Name: sixamp
3
+ Version: 1.0.0
4
+ Summary: A 1990s-style MP3 player for the terminal, drawn in Sixel graphics, with spectrum analyser, equalizer and playlist
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/pez2001/sixamp
7
+ Project-URL: Issues, https://github.com/pez2001/sixamp/issues
8
+ Project-URL: Changelog, https://github.com/pez2001/sixamp/blob/main/CHANGELOG.md
9
+ Keywords: mp3,music player,sixel,terminal,tui,retro,equalizer
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: Console
12
+ Classifier: Intended Audience :: End Users/Desktop
13
+ Classifier: Operating System :: POSIX :: Linux
14
+ Classifier: Operating System :: MacOS
15
+ Classifier: Operating System :: Microsoft :: Windows
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Players
19
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Players :: MP3
20
+ Classifier: Topic :: Terminals
21
+ Requires-Python: >=3.9
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ License-File: THIRD_PARTY_NOTICES
25
+ Requires-Dist: numpy>=1.21
26
+ Requires-Dist: miniaudio>=1.59
27
+ Dynamic: license-file
28
+
29
+ # SIXAMP
30
+
31
+ A 1990s-style MP3 player for the terminal, drawn entirely in Sixel graphics: a
32
+ spectrum analyser, a ten-band equalizer, a playlist and a file browser, all driven
33
+ by the keyboard or the mouse.
34
+
35
+ ![SIXAMP in xterm](https://raw.githubusercontent.com/pez2001/sixamp/main/docs/screenshot.png)
36
+
37
+ ## Install
38
+
39
+ ```
40
+ pip install sixamp
41
+ sixamp ~/Music
42
+ ```
43
+
44
+ You can pass files, folders or `.m3u` playlists. Without arguments SIXAMP reopens your
45
+ last playlist. It plays MP3, FLAC, WAV and Ogg Vorbis on Linux, macOS and Windows.
46
+
47
+ `sixamp.py` is also a single self-contained file: with `numpy` and `miniaudio`
48
+ installed you can run `python sixamp.py` directly.
49
+
50
+ ## Terminals
51
+
52
+ SIXAMP needs a terminal that shows Sixel graphics, for example foot, WezTerm,
53
+ Konsole, mlterm, iTerm2, Contour, Windows Terminal 1.22 or newer, or
54
+ `xterm -ti vt340`. Kitty and Alacritty do not support Sixel.
55
+
56
+ To check a terminal, run `sixamp --probe`: you should see coloured stripes. If the
57
+ skin looks scrambled, the terminal could not report its cell size; pass it yourself
58
+ with `--cell WIDTHxHEIGHT`, for example `--cell 10x20`.
59
+
60
+ ## Keys
61
+
62
+ | Key | Action | Key | Action |
63
+ |---|---|---|---|
64
+ | `z` | previous track | `b` | next track |
65
+ | `x` | play | `c` / Space | pause |
66
+ | `v` | stop | `l` | open files |
67
+ | Left / Right | seek 5 seconds | `+` / `-` | volume |
68
+ | `[` / `]` | balance | Up / Down, Enter | choose and play a track |
69
+ | `j` | jump to a track | `i` | track info |
70
+ | `r` / `s` | repeat / shuffle | `e` / `p` | equalizer / playlist window |
71
+ | `o` / `n` | equalizer on / next preset | `f` | playlist format |
72
+ | `w` | visualizer mode | `t` | elapsed / remaining time |
73
+ | `d` | pixel scale | `?` / `q` | help / quit |
74
+
75
+ Everything on the skin also works with the mouse. The wheel scrolls the playlist,
76
+ moves the slider under the pointer, or changes the volume.
77
+
78
+ ## Options
79
+
80
+ ```
81
+ sixamp [--format TEXT] [--scale N] [--cell WxH] [--no-audio] [--probe] [--debug] [PATH ...]
82
+ ```
83
+
84
+ `--format` sets the playlist line, for example `--format "%n. %t (%a)"`. The codes
85
+ are `%n` number, `%a` artist, `%t` title, `%l` album, `%f` file name, `%d` folder
86
+ and `%%` a percent sign. Run `sixamp --help` for everything.
87
+
88
+ Settings are stored in `~/.config/sixamp/state.json` and the log in
89
+ `~/.cache/sixamp.log`.
90
+
91
+ ## pyterm
92
+
93
+ [pyterm](https://github.com/pez2001/pyterm) ships SIXAMP support built in, through its
94
+ `sixamp_support` plugin: a persistent Sixel layer, exact mouse positions and live cell
95
+ sizes across theme changes. Keep plugins enabled when you run SIXAMP there.
96
+
97
+ ## Licence
98
+
99
+ MIT, see [LICENSE](LICENSE). The bundled 5x7 font comes from the Adafruit GFX Library
100
+ under the BSD licence; see [THIRD_PARTY_NOTICES](THIRD_PARTY_NOTICES).
101
+
102
+ SIXAMP is an independent project inspired by the look of classic desktop music players.
103
+ It is not affiliated with, endorsed by or connected to Winamp, Nullsoft or Llama Group.
104
+ All graphics are original.
sixamp-1.0.0/README.md ADDED
@@ -0,0 +1,76 @@
1
+ # SIXAMP
2
+
3
+ A 1990s-style MP3 player for the terminal, drawn entirely in Sixel graphics: a
4
+ spectrum analyser, a ten-band equalizer, a playlist and a file browser, all driven
5
+ by the keyboard or the mouse.
6
+
7
+ ![SIXAMP in xterm](https://raw.githubusercontent.com/pez2001/sixamp/main/docs/screenshot.png)
8
+
9
+ ## Install
10
+
11
+ ```
12
+ pip install sixamp
13
+ sixamp ~/Music
14
+ ```
15
+
16
+ You can pass files, folders or `.m3u` playlists. Without arguments SIXAMP reopens your
17
+ last playlist. It plays MP3, FLAC, WAV and Ogg Vorbis on Linux, macOS and Windows.
18
+
19
+ `sixamp.py` is also a single self-contained file: with `numpy` and `miniaudio`
20
+ installed you can run `python sixamp.py` directly.
21
+
22
+ ## Terminals
23
+
24
+ SIXAMP needs a terminal that shows Sixel graphics, for example foot, WezTerm,
25
+ Konsole, mlterm, iTerm2, Contour, Windows Terminal 1.22 or newer, or
26
+ `xterm -ti vt340`. Kitty and Alacritty do not support Sixel.
27
+
28
+ To check a terminal, run `sixamp --probe`: you should see coloured stripes. If the
29
+ skin looks scrambled, the terminal could not report its cell size; pass it yourself
30
+ with `--cell WIDTHxHEIGHT`, for example `--cell 10x20`.
31
+
32
+ ## Keys
33
+
34
+ | Key | Action | Key | Action |
35
+ |---|---|---|---|
36
+ | `z` | previous track | `b` | next track |
37
+ | `x` | play | `c` / Space | pause |
38
+ | `v` | stop | `l` | open files |
39
+ | Left / Right | seek 5 seconds | `+` / `-` | volume |
40
+ | `[` / `]` | balance | Up / Down, Enter | choose and play a track |
41
+ | `j` | jump to a track | `i` | track info |
42
+ | `r` / `s` | repeat / shuffle | `e` / `p` | equalizer / playlist window |
43
+ | `o` / `n` | equalizer on / next preset | `f` | playlist format |
44
+ | `w` | visualizer mode | `t` | elapsed / remaining time |
45
+ | `d` | pixel scale | `?` / `q` | help / quit |
46
+
47
+ Everything on the skin also works with the mouse. The wheel scrolls the playlist,
48
+ moves the slider under the pointer, or changes the volume.
49
+
50
+ ## Options
51
+
52
+ ```
53
+ sixamp [--format TEXT] [--scale N] [--cell WxH] [--no-audio] [--probe] [--debug] [PATH ...]
54
+ ```
55
+
56
+ `--format` sets the playlist line, for example `--format "%n. %t (%a)"`. The codes
57
+ are `%n` number, `%a` artist, `%t` title, `%l` album, `%f` file name, `%d` folder
58
+ and `%%` a percent sign. Run `sixamp --help` for everything.
59
+
60
+ Settings are stored in `~/.config/sixamp/state.json` and the log in
61
+ `~/.cache/sixamp.log`.
62
+
63
+ ## pyterm
64
+
65
+ [pyterm](https://github.com/pez2001/pyterm) ships SIXAMP support built in, through its
66
+ `sixamp_support` plugin: a persistent Sixel layer, exact mouse positions and live cell
67
+ sizes across theme changes. Keep plugins enabled when you run SIXAMP there.
68
+
69
+ ## Licence
70
+
71
+ MIT, see [LICENSE](LICENSE). The bundled 5x7 font comes from the Adafruit GFX Library
72
+ under the BSD licence; see [THIRD_PARTY_NOTICES](THIRD_PARTY_NOTICES).
73
+
74
+ SIXAMP is an independent project inspired by the look of classic desktop music players.
75
+ It is not affiliated with, endorsed by or connected to Winamp, Nullsoft or Llama Group.
76
+ All graphics are original.
@@ -0,0 +1,39 @@
1
+ SIXAMP includes the following third-party material.
2
+
3
+ ------------------------------------------------------------------------------
4
+ 5x7 bitmap font (the _F57 table in sixamp.py)
5
+ From the Adafruit GFX Library, https://github.com/adafruit/Adafruit-GFX-Library
6
+ One glyph ("y") was modified.
7
+ ------------------------------------------------------------------------------
8
+
9
+ Software License Agreement (BSD License)
10
+
11
+ Copyright (c) 2012 Adafruit Industries. All rights reserved.
12
+
13
+ Redistribution and use in source and binary forms, with or without
14
+ modification, are permitted provided that the following conditions are met:
15
+
16
+ - Redistributions of source code must retain the above copyright notice,
17
+ this list of conditions and the following disclaimer.
18
+
19
+ - Redistributions in binary form must reproduce the above copyright notice,
20
+ this list of conditions and the following disclaimer in the documentation
21
+ and/or other materials provided with the distribution.
22
+
23
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
27
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33
+ POSSIBILITY OF SUCH DAMAGE.
34
+
35
+ ------------------------------------------------------------------------------
36
+ Runtime dependencies (installed separately with pip, not bundled)
37
+ ------------------------------------------------------------------------------
38
+ numpy BSD-3-Clause https://numpy.org
39
+ miniaudio MIT https://github.com/irmen/pyminiaudio
@@ -0,0 +1,41 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "sixamp"
7
+ dynamic = ["version"]
8
+ description = "A 1990s-style MP3 player for the terminal, drawn in Sixel graphics, with spectrum analyser, equalizer and playlist"
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ license = "MIT"
12
+ license-files = ["LICENSE", "THIRD_PARTY_NOTICES"]
13
+ dependencies = ["numpy>=1.21", "miniaudio>=1.59"]
14
+ keywords = ["mp3", "music player", "sixel", "terminal", "tui", "retro", "equalizer"]
15
+ classifiers = [
16
+ "Development Status :: 4 - Beta",
17
+ "Environment :: Console",
18
+ "Intended Audience :: End Users/Desktop",
19
+ "Operating System :: POSIX :: Linux",
20
+ "Operating System :: MacOS",
21
+ "Operating System :: Microsoft :: Windows",
22
+ "Programming Language :: Python :: 3",
23
+ "Programming Language :: Python :: 3 :: Only",
24
+ "Topic :: Multimedia :: Sound/Audio :: Players",
25
+ "Topic :: Multimedia :: Sound/Audio :: Players :: MP3",
26
+ "Topic :: Terminals",
27
+ ]
28
+
29
+ [project.urls]
30
+ Homepage = "https://github.com/pez2001/sixamp"
31
+ Issues = "https://github.com/pez2001/sixamp/issues"
32
+ Changelog = "https://github.com/pez2001/sixamp/blob/main/CHANGELOG.md"
33
+
34
+ [project.scripts]
35
+ sixamp = "sixamp:main"
36
+
37
+ [tool.setuptools]
38
+ py-modules = ["sixamp"]
39
+
40
+ [tool.setuptools.dynamic]
41
+ version = {attr = "sixamp.__version__"}
sixamp-1.0.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,104 @@
1
+ Metadata-Version: 2.4
2
+ Name: sixamp
3
+ Version: 1.0.0
4
+ Summary: A 1990s-style MP3 player for the terminal, drawn in Sixel graphics, with spectrum analyser, equalizer and playlist
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/pez2001/sixamp
7
+ Project-URL: Issues, https://github.com/pez2001/sixamp/issues
8
+ Project-URL: Changelog, https://github.com/pez2001/sixamp/blob/main/CHANGELOG.md
9
+ Keywords: mp3,music player,sixel,terminal,tui,retro,equalizer
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: Console
12
+ Classifier: Intended Audience :: End Users/Desktop
13
+ Classifier: Operating System :: POSIX :: Linux
14
+ Classifier: Operating System :: MacOS
15
+ Classifier: Operating System :: Microsoft :: Windows
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Players
19
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Players :: MP3
20
+ Classifier: Topic :: Terminals
21
+ Requires-Python: >=3.9
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ License-File: THIRD_PARTY_NOTICES
25
+ Requires-Dist: numpy>=1.21
26
+ Requires-Dist: miniaudio>=1.59
27
+ Dynamic: license-file
28
+
29
+ # SIXAMP
30
+
31
+ A 1990s-style MP3 player for the terminal, drawn entirely in Sixel graphics: a
32
+ spectrum analyser, a ten-band equalizer, a playlist and a file browser, all driven
33
+ by the keyboard or the mouse.
34
+
35
+ ![SIXAMP in xterm](https://raw.githubusercontent.com/pez2001/sixamp/main/docs/screenshot.png)
36
+
37
+ ## Install
38
+
39
+ ```
40
+ pip install sixamp
41
+ sixamp ~/Music
42
+ ```
43
+
44
+ You can pass files, folders or `.m3u` playlists. Without arguments SIXAMP reopens your
45
+ last playlist. It plays MP3, FLAC, WAV and Ogg Vorbis on Linux, macOS and Windows.
46
+
47
+ `sixamp.py` is also a single self-contained file: with `numpy` and `miniaudio`
48
+ installed you can run `python sixamp.py` directly.
49
+
50
+ ## Terminals
51
+
52
+ SIXAMP needs a terminal that shows Sixel graphics, for example foot, WezTerm,
53
+ Konsole, mlterm, iTerm2, Contour, Windows Terminal 1.22 or newer, or
54
+ `xterm -ti vt340`. Kitty and Alacritty do not support Sixel.
55
+
56
+ To check a terminal, run `sixamp --probe`: you should see coloured stripes. If the
57
+ skin looks scrambled, the terminal could not report its cell size; pass it yourself
58
+ with `--cell WIDTHxHEIGHT`, for example `--cell 10x20`.
59
+
60
+ ## Keys
61
+
62
+ | Key | Action | Key | Action |
63
+ |---|---|---|---|
64
+ | `z` | previous track | `b` | next track |
65
+ | `x` | play | `c` / Space | pause |
66
+ | `v` | stop | `l` | open files |
67
+ | Left / Right | seek 5 seconds | `+` / `-` | volume |
68
+ | `[` / `]` | balance | Up / Down, Enter | choose and play a track |
69
+ | `j` | jump to a track | `i` | track info |
70
+ | `r` / `s` | repeat / shuffle | `e` / `p` | equalizer / playlist window |
71
+ | `o` / `n` | equalizer on / next preset | `f` | playlist format |
72
+ | `w` | visualizer mode | `t` | elapsed / remaining time |
73
+ | `d` | pixel scale | `?` / `q` | help / quit |
74
+
75
+ Everything on the skin also works with the mouse. The wheel scrolls the playlist,
76
+ moves the slider under the pointer, or changes the volume.
77
+
78
+ ## Options
79
+
80
+ ```
81
+ sixamp [--format TEXT] [--scale N] [--cell WxH] [--no-audio] [--probe] [--debug] [PATH ...]
82
+ ```
83
+
84
+ `--format` sets the playlist line, for example `--format "%n. %t (%a)"`. The codes
85
+ are `%n` number, `%a` artist, `%t` title, `%l` album, `%f` file name, `%d` folder
86
+ and `%%` a percent sign. Run `sixamp --help` for everything.
87
+
88
+ Settings are stored in `~/.config/sixamp/state.json` and the log in
89
+ `~/.cache/sixamp.log`.
90
+
91
+ ## pyterm
92
+
93
+ [pyterm](https://github.com/pez2001/pyterm) ships SIXAMP support built in, through its
94
+ `sixamp_support` plugin: a persistent Sixel layer, exact mouse positions and live cell
95
+ sizes across theme changes. Keep plugins enabled when you run SIXAMP there.
96
+
97
+ ## Licence
98
+
99
+ MIT, see [LICENSE](LICENSE). The bundled 5x7 font comes from the Adafruit GFX Library
100
+ under the BSD licence; see [THIRD_PARTY_NOTICES](THIRD_PARTY_NOTICES).
101
+
102
+ SIXAMP is an independent project inspired by the look of classic desktop music players.
103
+ It is not affiliated with, endorsed by or connected to Winamp, Nullsoft or Llama Group.
104
+ All graphics are original.
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ README.md
3
+ THIRD_PARTY_NOTICES
4
+ pyproject.toml
5
+ sixamp.py
6
+ sixamp.egg-info/PKG-INFO
7
+ sixamp.egg-info/SOURCES.txt
8
+ sixamp.egg-info/dependency_links.txt
9
+ sixamp.egg-info/entry_points.txt
10
+ sixamp.egg-info/requires.txt
11
+ sixamp.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ sixamp = sixamp:main
@@ -0,0 +1,2 @@
1
+ numpy>=1.21
2
+ miniaudio>=1.59
@@ -0,0 +1 @@
1
+ sixamp