hyprconf2lua 1.2.0__tar.gz → 1.2.1__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.
Files changed (21) hide show
  1. {hyprconf2lua-1.2.0/src/hyprconf2lua.egg-info → hyprconf2lua-1.2.1}/PKG-INFO +18 -17
  2. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/README.md +17 -16
  3. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/pyproject.toml +1 -1
  4. hyprconf2lua-1.2.1/src/hyprconf2lua/__init__.py +1 -0
  5. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua/codegen.py +1 -1
  6. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1/src/hyprconf2lua.egg-info}/PKG-INFO +18 -17
  7. hyprconf2lua-1.2.0/src/hyprconf2lua/__init__.py +0 -1
  8. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/LICENSE +0 -0
  9. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/setup.cfg +0 -0
  10. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua/__main__.py +0 -0
  11. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua/ast.py +0 -0
  12. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua/cli.py +0 -0
  13. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua/converter.py +0 -0
  14. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua/lexer.py +0 -0
  15. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua/mappings.py +0 -0
  16. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua/parser.py +0 -0
  17. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua.egg-info/SOURCES.txt +0 -0
  18. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua.egg-info/dependency_links.txt +0 -0
  19. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua.egg-info/entry_points.txt +0 -0
  20. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/src/hyprconf2lua.egg-info/top_level.txt +0 -0
  21. {hyprconf2lua-1.2.0 → hyprconf2lua-1.2.1}/tests/test_converter.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyprconf2lua
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: Convert Hyprland hyprlang .conf files to Lua .lua config format (v0.55+)
5
5
  Author: hyprconf2lua contributors
6
6
  License: MIT
@@ -26,15 +26,14 @@ Dynamic: license-file
26
26
  Hyprland 0.55+ replaced the old hyprlang config with Lua. The old format will be dropped in a future release. **hyprconf2lua** converts your existing config automatically — no manual rewrite needed.
27
27
 
28
28
  ```bash
29
- git clone https://github.com/Prateek-squadron/hyprconf2lua.git
30
- cd hyprconf2lua
31
- ./install.sh
29
+ pip install hyprconf2lua
32
30
  hyprconf2lua ~/.config/hypr/hyprland.conf -o hyprland.lua
33
31
  ```
34
32
 
35
33
  That's it. ~97% of your config converts cleanly. The rest gets flagged with `-- TODO` comments telling you exactly what to touch up.
36
34
 
37
- > **Not on PyPI yet** — the `pip install hyprconf2lua` command you might see in older posts doesn't work because the package hasn't been published there. Use the clone+install method above. It's zero-dependency, works on every distro, and sidesteps PEP 668 ("externally managed environment") completely. If your distro blocks pip, this is the way.
35
+ > **PEP 668 ("externally managed environment")?** Use the clone method instead zero pip needed:
36
+ > `git clone https://github.com/Prateek-squadron/hyprconf2lua.git && cd hyprconf2lua && ./install.sh`
38
37
 
39
38
  ---
40
39
 
@@ -88,33 +87,35 @@ end)
88
87
 
89
88
  ## Installation
90
89
 
91
- ### Quick install (recommended)
90
+ ### pip install (recommended)
92
91
 
93
92
  ```bash
94
- git clone https://github.com/Prateek-squadron/hyprconf2lua.git
95
- cd hyprconf2lua
96
- ./install.sh # symlinks hyprconf2lua -> ~/.local/bin
93
+ pip install hyprconf2lua # or: pip install --user hyprconf2lua
97
94
  hyprconf2lua ~/.config/hypr/hyprland.conf -o hyprland.lua
98
95
  ```
99
96
 
100
- ### One-shot (no install)
97
+ ### pipx install
98
+
99
+ ```bash
100
+ pipx install hyprconf2lua # isolated, no PEP 668 issues
101
+ ```
102
+
103
+ ### Clone + install (no pip, works everywhere)
101
104
 
102
105
  ```bash
103
106
  git clone https://github.com/Prateek-squadron/hyprconf2lua.git
104
107
  cd hyprconf2lua
105
- PYTHONPATH=src python3 -m hyprconf2lua ~/.config/hypr/hyprland.conf > hyprland.lua
108
+ ./install.sh # symlinks to ~/.local/bin
106
109
  ```
107
110
 
108
- ### pip install (if your distro allows it)
111
+ ### One-shot (no install at all)
109
112
 
110
113
  ```bash
111
- pip install --user .
112
- # or
113
- pip install --break-system-packages .
114
+ git clone https://github.com/Prateek-squadron/hyprconf2lua.git
115
+ cd hyprconf2lua
116
+ PYTHONPATH=src python3 -m hyprconf2lua ~/.config/hypr/hyprland.conf > hyprland.lua
114
117
  ```
115
118
 
116
- > **"externally managed environment" error?** That's PEP 668 — modern distros protect the system Python from pip. Use the clone+install method above instead — zero pip required.
117
-
118
119
  ---
119
120
 
120
121
  ## Full migration guide
@@ -5,15 +5,14 @@
5
5
  Hyprland 0.55+ replaced the old hyprlang config with Lua. The old format will be dropped in a future release. **hyprconf2lua** converts your existing config automatically — no manual rewrite needed.
6
6
 
7
7
  ```bash
8
- git clone https://github.com/Prateek-squadron/hyprconf2lua.git
9
- cd hyprconf2lua
10
- ./install.sh
8
+ pip install hyprconf2lua
11
9
  hyprconf2lua ~/.config/hypr/hyprland.conf -o hyprland.lua
12
10
  ```
13
11
 
14
12
  That's it. ~97% of your config converts cleanly. The rest gets flagged with `-- TODO` comments telling you exactly what to touch up.
15
13
 
16
- > **Not on PyPI yet** — the `pip install hyprconf2lua` command you might see in older posts doesn't work because the package hasn't been published there. Use the clone+install method above. It's zero-dependency, works on every distro, and sidesteps PEP 668 ("externally managed environment") completely. If your distro blocks pip, this is the way.
14
+ > **PEP 668 ("externally managed environment")?** Use the clone method instead zero pip needed:
15
+ > `git clone https://github.com/Prateek-squadron/hyprconf2lua.git && cd hyprconf2lua && ./install.sh`
17
16
 
18
17
  ---
19
18
 
@@ -67,33 +66,35 @@ end)
67
66
 
68
67
  ## Installation
69
68
 
70
- ### Quick install (recommended)
69
+ ### pip install (recommended)
71
70
 
72
71
  ```bash
73
- git clone https://github.com/Prateek-squadron/hyprconf2lua.git
74
- cd hyprconf2lua
75
- ./install.sh # symlinks hyprconf2lua -> ~/.local/bin
72
+ pip install hyprconf2lua # or: pip install --user hyprconf2lua
76
73
  hyprconf2lua ~/.config/hypr/hyprland.conf -o hyprland.lua
77
74
  ```
78
75
 
79
- ### One-shot (no install)
76
+ ### pipx install
77
+
78
+ ```bash
79
+ pipx install hyprconf2lua # isolated, no PEP 668 issues
80
+ ```
81
+
82
+ ### Clone + install (no pip, works everywhere)
80
83
 
81
84
  ```bash
82
85
  git clone https://github.com/Prateek-squadron/hyprconf2lua.git
83
86
  cd hyprconf2lua
84
- PYTHONPATH=src python3 -m hyprconf2lua ~/.config/hypr/hyprland.conf > hyprland.lua
87
+ ./install.sh # symlinks to ~/.local/bin
85
88
  ```
86
89
 
87
- ### pip install (if your distro allows it)
90
+ ### One-shot (no install at all)
88
91
 
89
92
  ```bash
90
- pip install --user .
91
- # or
92
- pip install --break-system-packages .
93
+ git clone https://github.com/Prateek-squadron/hyprconf2lua.git
94
+ cd hyprconf2lua
95
+ PYTHONPATH=src python3 -m hyprconf2lua ~/.config/hypr/hyprland.conf > hyprland.lua
93
96
  ```
94
97
 
95
- > **"externally managed environment" error?** That's PEP 668 — modern distros protect the system Python from pip. Use the clone+install method above instead — zero pip required.
96
-
97
98
  ---
98
99
 
99
100
  ## Full migration guide
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "hyprconf2lua"
7
- version = "1.2.0"
7
+ version = "1.2.1"
8
8
  description = "Convert Hyprland hyprlang .conf files to Lua .lua config format (v0.55+)"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -0,0 +1 @@
1
+ __version__ = "1.2.1"
@@ -51,7 +51,7 @@ class Codegen:
51
51
 
52
52
  def generate(self, config: ConfigFile) -> str:
53
53
  self.lines = []
54
- self.emit("-- Generated by hyprconf2lua v1.2.0")
54
+ self.emit("-- Generated by hyprconf2lua v1.2.1")
55
55
  self.emit("-- https://github.com/yourusername/hyprconf2lua")
56
56
  self.emit("-- Manual review may be needed for complex directives")
57
57
  self.emit("")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyprconf2lua
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: Convert Hyprland hyprlang .conf files to Lua .lua config format (v0.55+)
5
5
  Author: hyprconf2lua contributors
6
6
  License: MIT
@@ -26,15 +26,14 @@ Dynamic: license-file
26
26
  Hyprland 0.55+ replaced the old hyprlang config with Lua. The old format will be dropped in a future release. **hyprconf2lua** converts your existing config automatically — no manual rewrite needed.
27
27
 
28
28
  ```bash
29
- git clone https://github.com/Prateek-squadron/hyprconf2lua.git
30
- cd hyprconf2lua
31
- ./install.sh
29
+ pip install hyprconf2lua
32
30
  hyprconf2lua ~/.config/hypr/hyprland.conf -o hyprland.lua
33
31
  ```
34
32
 
35
33
  That's it. ~97% of your config converts cleanly. The rest gets flagged with `-- TODO` comments telling you exactly what to touch up.
36
34
 
37
- > **Not on PyPI yet** — the `pip install hyprconf2lua` command you might see in older posts doesn't work because the package hasn't been published there. Use the clone+install method above. It's zero-dependency, works on every distro, and sidesteps PEP 668 ("externally managed environment") completely. If your distro blocks pip, this is the way.
35
+ > **PEP 668 ("externally managed environment")?** Use the clone method instead zero pip needed:
36
+ > `git clone https://github.com/Prateek-squadron/hyprconf2lua.git && cd hyprconf2lua && ./install.sh`
38
37
 
39
38
  ---
40
39
 
@@ -88,33 +87,35 @@ end)
88
87
 
89
88
  ## Installation
90
89
 
91
- ### Quick install (recommended)
90
+ ### pip install (recommended)
92
91
 
93
92
  ```bash
94
- git clone https://github.com/Prateek-squadron/hyprconf2lua.git
95
- cd hyprconf2lua
96
- ./install.sh # symlinks hyprconf2lua -> ~/.local/bin
93
+ pip install hyprconf2lua # or: pip install --user hyprconf2lua
97
94
  hyprconf2lua ~/.config/hypr/hyprland.conf -o hyprland.lua
98
95
  ```
99
96
 
100
- ### One-shot (no install)
97
+ ### pipx install
98
+
99
+ ```bash
100
+ pipx install hyprconf2lua # isolated, no PEP 668 issues
101
+ ```
102
+
103
+ ### Clone + install (no pip, works everywhere)
101
104
 
102
105
  ```bash
103
106
  git clone https://github.com/Prateek-squadron/hyprconf2lua.git
104
107
  cd hyprconf2lua
105
- PYTHONPATH=src python3 -m hyprconf2lua ~/.config/hypr/hyprland.conf > hyprland.lua
108
+ ./install.sh # symlinks to ~/.local/bin
106
109
  ```
107
110
 
108
- ### pip install (if your distro allows it)
111
+ ### One-shot (no install at all)
109
112
 
110
113
  ```bash
111
- pip install --user .
112
- # or
113
- pip install --break-system-packages .
114
+ git clone https://github.com/Prateek-squadron/hyprconf2lua.git
115
+ cd hyprconf2lua
116
+ PYTHONPATH=src python3 -m hyprconf2lua ~/.config/hypr/hyprland.conf > hyprland.lua
114
117
  ```
115
118
 
116
- > **"externally managed environment" error?** That's PEP 668 — modern distros protect the system Python from pip. Use the clone+install method above instead — zero pip required.
117
-
118
119
  ---
119
120
 
120
121
  ## Full migration guide
@@ -1 +0,0 @@
1
- __version__ = "1.0.0"
File without changes
File without changes