commiefetch 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.
- commiefetch-1.0.0/PKG-INFO +156 -0
- commiefetch-1.0.0/README.md +137 -0
- commiefetch-1.0.0/pyproject.toml +37 -0
- commiefetch-1.0.0/setup.cfg +4 -0
- commiefetch-1.0.0/setup.py +3 -0
- commiefetch-1.0.0/src/commiefetch/__init__.py +2 -0
- commiefetch-1.0.0/src/commiefetch/__main__.py +5 -0
- commiefetch-1.0.0/src/commiefetch/cli.py +394 -0
- commiefetch-1.0.0/src/commiefetch/colors.py +115 -0
- commiefetch-1.0.0/src/commiefetch/config.py +238 -0
- commiefetch-1.0.0/src/commiefetch/logos.py +199 -0
- commiefetch-1.0.0/src/commiefetch/modules.py +742 -0
- commiefetch-1.0.0/src/commiefetch.egg-info/PKG-INFO +156 -0
- commiefetch-1.0.0/src/commiefetch.egg-info/SOURCES.txt +15 -0
- commiefetch-1.0.0/src/commiefetch.egg-info/dependency_links.txt +1 -0
- commiefetch-1.0.0/src/commiefetch.egg-info/entry_points.txt +2 -0
- commiefetch-1.0.0/src/commiefetch.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: commiefetch
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Communist-themed system information tool — like neofetch, but red
|
|
5
|
+
Author: commiefetch contributors
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Source, https://github.com/amalxloop/commiefetch
|
|
8
|
+
Project-URL: Tracker, https://github.com/amalxloop/commiefetch/issues
|
|
9
|
+
Keywords: system-info,neofetch,communist,fastfetch,cli
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Environment :: Console
|
|
12
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Topic :: System :: Systems Administration
|
|
16
|
+
Classifier: Topic :: Utilities
|
|
17
|
+
Requires-Python: >=3.8
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
|
|
20
|
+
# commiefetch ☭
|
|
21
|
+
|
|
22
|
+
> communist-themed system information tool — like neofetch, but red.
|
|
23
|
+
|
|
24
|
+
**commiefetch** displays your system info with communist iconography, red color
|
|
25
|
+
schemes, and configurable output. Works on **Linux**, **macOS**, **Windows**,
|
|
26
|
+
**FreeBSD**, **OpenBSD**, and **NetBSD**.
|
|
27
|
+
|
|
28
|
+
## Quick start
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# run directly
|
|
32
|
+
python3 commiefetch
|
|
33
|
+
|
|
34
|
+
# install globally (Linux/macOS/BSD)
|
|
35
|
+
make install
|
|
36
|
+
|
|
37
|
+
# or install for current user
|
|
38
|
+
make install-user
|
|
39
|
+
|
|
40
|
+
# or via pip
|
|
41
|
+
pip install -e .
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Usage
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
commiefetch # default (USSR logo, soviet theme)
|
|
48
|
+
commiefetch -l prc -t china # PRC logo + China theme
|
|
49
|
+
commiefetch -l random # random logo
|
|
50
|
+
commiefetch --list-logos # show all available logos
|
|
51
|
+
commiefetch --list-themes # show all color themes
|
|
52
|
+
commiefetch --no-color # plain output
|
|
53
|
+
commiefetch -m os kernel cpu memory # pick specific modules
|
|
54
|
+
commiefetch --gen-config # create ~/.config/commiefetch/config.json
|
|
55
|
+
commiefetch -c my-config.json # use custom config
|
|
56
|
+
commiefetch --show-colors # display color palette
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Logos
|
|
60
|
+
|
|
61
|
+
| Flag | Description |
|
|
62
|
+
|---------------|--------------------------------------|
|
|
63
|
+
| `ussr` | Hammer & sickle CCCP |
|
|
64
|
+
| `soviet_star` | Red star with hammer & sickle |
|
|
65
|
+
| `cccp_shield` | Shield-style CCCP logo |
|
|
66
|
+
| `hammer_sickle` | Minimal hammer & sickle |
|
|
67
|
+
| `red_flag` | Soviet red flag |
|
|
68
|
+
| `prc` | People's Republic of China |
|
|
69
|
+
| `prc_flag` | PRC flag with stars |
|
|
70
|
+
| `cuba` | Republic of Cuba |
|
|
71
|
+
| `dprk` | Democratic People's Republic of Korea|
|
|
72
|
+
| `vietnam` | Socialist Republic of Vietnam |
|
|
73
|
+
| `east_germany`| German Democratic Republic (DDR) |
|
|
74
|
+
| `laos` | Lao PDR |
|
|
75
|
+
| `mao` | Mao Zedong themed |
|
|
76
|
+
| `anarcho` | Anarcho-communist A-in-circle |
|
|
77
|
+
| `tankie` | T-34 tank |
|
|
78
|
+
| `simple_commie` | Minimal communist text |
|
|
79
|
+
| `small_hammer` | Compact hammer & sickle |
|
|
80
|
+
| `random` | Pick one at random |
|
|
81
|
+
|
|
82
|
+
## Themes
|
|
83
|
+
|
|
84
|
+
| Theme | Description |
|
|
85
|
+
|-------------|--------------------------|
|
|
86
|
+
| `soviet` | Red & yellow, USSR style |
|
|
87
|
+
| `china` | Red & gold, PRC style |
|
|
88
|
+
| `cuba` | Blue, red & white |
|
|
89
|
+
| `vietnam` | Yellow & red |
|
|
90
|
+
| `dprk` | Red, white & blue |
|
|
91
|
+
| `anarcho` | Red & black |
|
|
92
|
+
| `retro` | Yellow & red retro |
|
|
93
|
+
| `minimal` | Monochrome, no colors |
|
|
94
|
+
|
|
95
|
+
## Modules
|
|
96
|
+
|
|
97
|
+
`title`, `os`, `host`, `kernel`, `uptime`, `packages`, `shell`, `de`, `wm`,
|
|
98
|
+
`terminal`, `cpu`, `gpu`, `memory`, `disk`, `disks`, `swap`, `battery`,
|
|
99
|
+
`processes`, `local_ip`, `public_ip`, `resolution`, `locale`, `cpu_temp`,
|
|
100
|
+
`user_at_host`
|
|
101
|
+
|
|
102
|
+
## Configuration
|
|
103
|
+
|
|
104
|
+
Config files are loaded from (in order):
|
|
105
|
+
1. `~/.config/commiefetch/config.json` (or `.toml`, `.ini`)
|
|
106
|
+
2. `./configs/config.*`
|
|
107
|
+
3. `/etc/commiefetch/config.*`
|
|
108
|
+
|
|
109
|
+
Generate a config:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
commiefetch --gen-config
|
|
113
|
+
# writes to ~/.config/commiefetch/config.json
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### JSON config
|
|
117
|
+
|
|
118
|
+
```json
|
|
119
|
+
{
|
|
120
|
+
"logo": "ussr",
|
|
121
|
+
"theme": "soviet",
|
|
122
|
+
"separator": " -> ",
|
|
123
|
+
"color_separator": true,
|
|
124
|
+
"bold_labels": true,
|
|
125
|
+
"padding": 2,
|
|
126
|
+
"modules": ["title", "os", "cpu", "memory"]
|
|
127
|
+
}
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### TOML config
|
|
131
|
+
|
|
132
|
+
```toml
|
|
133
|
+
logo = "prc"
|
|
134
|
+
theme = "china"
|
|
135
|
+
separator = " :: "
|
|
136
|
+
modules = ["title", "os", "host", "kernel", "cpu", "memory"]
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## Cross-platform
|
|
140
|
+
|
|
141
|
+
| Feature | Linux | macOS | Windows | BSDs |
|
|
142
|
+
|--------------|-------|-------|---------|------|
|
|
143
|
+
| OS info | ✓ | ✓ | ✓ | ✓ |
|
|
144
|
+
| Kernel | ✓ | ✓ | ✓ | ✓ |
|
|
145
|
+
| CPU | ✓ | ✓ | ✓ | ✓ |
|
|
146
|
+
| GPU | ✓ | ✓ | ✓ | ✓ |
|
|
147
|
+
| Memory | ✓ | ✓ | ✓ | ✓ |
|
|
148
|
+
| Disk | ✓ | ✓ | partial | ✓ |
|
|
149
|
+
| Uptime | ✓ | ✓ | ✓ | ✓ |
|
|
150
|
+
| Packages | ✓ | ✓ | ✗ | ✓ |
|
|
151
|
+
| Battery | ✓ | ✓ | ✓ | ✗ |
|
|
152
|
+
| Resolution | ✓ | ✓ | ✓ | ✗ |
|
|
153
|
+
|
|
154
|
+
## License
|
|
155
|
+
|
|
156
|
+
MIT — use it, share it, comrade.
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# commiefetch ☭
|
|
2
|
+
|
|
3
|
+
> communist-themed system information tool — like neofetch, but red.
|
|
4
|
+
|
|
5
|
+
**commiefetch** displays your system info with communist iconography, red color
|
|
6
|
+
schemes, and configurable output. Works on **Linux**, **macOS**, **Windows**,
|
|
7
|
+
**FreeBSD**, **OpenBSD**, and **NetBSD**.
|
|
8
|
+
|
|
9
|
+
## Quick start
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
# run directly
|
|
13
|
+
python3 commiefetch
|
|
14
|
+
|
|
15
|
+
# install globally (Linux/macOS/BSD)
|
|
16
|
+
make install
|
|
17
|
+
|
|
18
|
+
# or install for current user
|
|
19
|
+
make install-user
|
|
20
|
+
|
|
21
|
+
# or via pip
|
|
22
|
+
pip install -e .
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
commiefetch # default (USSR logo, soviet theme)
|
|
29
|
+
commiefetch -l prc -t china # PRC logo + China theme
|
|
30
|
+
commiefetch -l random # random logo
|
|
31
|
+
commiefetch --list-logos # show all available logos
|
|
32
|
+
commiefetch --list-themes # show all color themes
|
|
33
|
+
commiefetch --no-color # plain output
|
|
34
|
+
commiefetch -m os kernel cpu memory # pick specific modules
|
|
35
|
+
commiefetch --gen-config # create ~/.config/commiefetch/config.json
|
|
36
|
+
commiefetch -c my-config.json # use custom config
|
|
37
|
+
commiefetch --show-colors # display color palette
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Logos
|
|
41
|
+
|
|
42
|
+
| Flag | Description |
|
|
43
|
+
|---------------|--------------------------------------|
|
|
44
|
+
| `ussr` | Hammer & sickle CCCP |
|
|
45
|
+
| `soviet_star` | Red star with hammer & sickle |
|
|
46
|
+
| `cccp_shield` | Shield-style CCCP logo |
|
|
47
|
+
| `hammer_sickle` | Minimal hammer & sickle |
|
|
48
|
+
| `red_flag` | Soviet red flag |
|
|
49
|
+
| `prc` | People's Republic of China |
|
|
50
|
+
| `prc_flag` | PRC flag with stars |
|
|
51
|
+
| `cuba` | Republic of Cuba |
|
|
52
|
+
| `dprk` | Democratic People's Republic of Korea|
|
|
53
|
+
| `vietnam` | Socialist Republic of Vietnam |
|
|
54
|
+
| `east_germany`| German Democratic Republic (DDR) |
|
|
55
|
+
| `laos` | Lao PDR |
|
|
56
|
+
| `mao` | Mao Zedong themed |
|
|
57
|
+
| `anarcho` | Anarcho-communist A-in-circle |
|
|
58
|
+
| `tankie` | T-34 tank |
|
|
59
|
+
| `simple_commie` | Minimal communist text |
|
|
60
|
+
| `small_hammer` | Compact hammer & sickle |
|
|
61
|
+
| `random` | Pick one at random |
|
|
62
|
+
|
|
63
|
+
## Themes
|
|
64
|
+
|
|
65
|
+
| Theme | Description |
|
|
66
|
+
|-------------|--------------------------|
|
|
67
|
+
| `soviet` | Red & yellow, USSR style |
|
|
68
|
+
| `china` | Red & gold, PRC style |
|
|
69
|
+
| `cuba` | Blue, red & white |
|
|
70
|
+
| `vietnam` | Yellow & red |
|
|
71
|
+
| `dprk` | Red, white & blue |
|
|
72
|
+
| `anarcho` | Red & black |
|
|
73
|
+
| `retro` | Yellow & red retro |
|
|
74
|
+
| `minimal` | Monochrome, no colors |
|
|
75
|
+
|
|
76
|
+
## Modules
|
|
77
|
+
|
|
78
|
+
`title`, `os`, `host`, `kernel`, `uptime`, `packages`, `shell`, `de`, `wm`,
|
|
79
|
+
`terminal`, `cpu`, `gpu`, `memory`, `disk`, `disks`, `swap`, `battery`,
|
|
80
|
+
`processes`, `local_ip`, `public_ip`, `resolution`, `locale`, `cpu_temp`,
|
|
81
|
+
`user_at_host`
|
|
82
|
+
|
|
83
|
+
## Configuration
|
|
84
|
+
|
|
85
|
+
Config files are loaded from (in order):
|
|
86
|
+
1. `~/.config/commiefetch/config.json` (or `.toml`, `.ini`)
|
|
87
|
+
2. `./configs/config.*`
|
|
88
|
+
3. `/etc/commiefetch/config.*`
|
|
89
|
+
|
|
90
|
+
Generate a config:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
commiefetch --gen-config
|
|
94
|
+
# writes to ~/.config/commiefetch/config.json
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### JSON config
|
|
98
|
+
|
|
99
|
+
```json
|
|
100
|
+
{
|
|
101
|
+
"logo": "ussr",
|
|
102
|
+
"theme": "soviet",
|
|
103
|
+
"separator": " -> ",
|
|
104
|
+
"color_separator": true,
|
|
105
|
+
"bold_labels": true,
|
|
106
|
+
"padding": 2,
|
|
107
|
+
"modules": ["title", "os", "cpu", "memory"]
|
|
108
|
+
}
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### TOML config
|
|
112
|
+
|
|
113
|
+
```toml
|
|
114
|
+
logo = "prc"
|
|
115
|
+
theme = "china"
|
|
116
|
+
separator = " :: "
|
|
117
|
+
modules = ["title", "os", "host", "kernel", "cpu", "memory"]
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Cross-platform
|
|
121
|
+
|
|
122
|
+
| Feature | Linux | macOS | Windows | BSDs |
|
|
123
|
+
|--------------|-------|-------|---------|------|
|
|
124
|
+
| OS info | ✓ | ✓ | ✓ | ✓ |
|
|
125
|
+
| Kernel | ✓ | ✓ | ✓ | ✓ |
|
|
126
|
+
| CPU | ✓ | ✓ | ✓ | ✓ |
|
|
127
|
+
| GPU | ✓ | ✓ | ✓ | ✓ |
|
|
128
|
+
| Memory | ✓ | ✓ | ✓ | ✓ |
|
|
129
|
+
| Disk | ✓ | ✓ | partial | ✓ |
|
|
130
|
+
| Uptime | ✓ | ✓ | ✓ | ✓ |
|
|
131
|
+
| Packages | ✓ | ✓ | ✗ | ✓ |
|
|
132
|
+
| Battery | ✓ | ✓ | ✓ | ✗ |
|
|
133
|
+
| Resolution | ✓ | ✓ | ✓ | ✗ |
|
|
134
|
+
|
|
135
|
+
## License
|
|
136
|
+
|
|
137
|
+
MIT — use it, share it, comrade.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "commiefetch"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "Communist-themed system information tool — like neofetch, but red"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
authors = [
|
|
11
|
+
{name = "commiefetch contributors"},
|
|
12
|
+
]
|
|
13
|
+
license = "MIT"
|
|
14
|
+
requires-python = ">=3.8"
|
|
15
|
+
keywords = ["system-info", "neofetch", "communist", "fastfetch", "cli"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 4 - Beta",
|
|
18
|
+
"Environment :: Console",
|
|
19
|
+
"Intended Audience :: End Users/Desktop",
|
|
20
|
+
"Operating System :: OS Independent",
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"Topic :: System :: Systems Administration",
|
|
23
|
+
"Topic :: Utilities",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
[project.scripts]
|
|
27
|
+
commiefetch = "commiefetch.cli:main"
|
|
28
|
+
|
|
29
|
+
[project.urls]
|
|
30
|
+
Source = "https://github.com/amalxloop/commiefetch"
|
|
31
|
+
Tracker = "https://github.com/amalxloop/commiefetch/issues"
|
|
32
|
+
|
|
33
|
+
[tool.setuptools.packages.find]
|
|
34
|
+
where = ["src"]
|
|
35
|
+
|
|
36
|
+
[tool.setuptools.package-data]
|
|
37
|
+
commiefetch = ["py.typed"]
|