wrd 1.0.2__tar.gz → 1.0.3__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.
@@ -1,15 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wrd
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: WRD (Word) - Narzędzie workflow dla Claude Code na Fedorze
5
- Home-page: https://github.com/username/wrd
5
+ Home-page: https://github.com/wronai/wrd
6
6
  Author: Claude Code User
7
7
  Author-email: Tom Sapletta <info@softreck.dev>
8
8
  License: MIT
9
- Project-URL: homepage, https://github.com/username/wrd
10
- Project-URL: repository, https://github.com/username/wrd
11
- Project-URL: documentation, https://github.com/username/wrd#readme
12
- Project-URL: Bug Tracker, https://github.com/username/wrd/issues
9
+ Project-URL: homepage, https://github.com/wronai/wrd
10
+ Project-URL: repository, https://github.com/wronai/wrd
11
+ Project-URL: documentation, https://github.com/wronai/wrd#readme
12
+ Project-URL: Bug Tracker, https://github.com/wronai/wrd/issues
13
13
  Classifier: Development Status :: 4 - Beta
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: Topic :: Software Development :: Build Tools
@@ -28,11 +28,17 @@ Requires-Dist: rich>=12.0.0
28
28
  Requires-Dist: pydantic>=1.9.0
29
29
  Requires-Dist: python-dotenv>=0.19.0
30
30
  Requires-Dist: requests>=2.28.0
31
+ Provides-Extra: test
32
+ Requires-Dist: pytest>=7.0.0; extra == "test"
33
+ Requires-Dist: pytest-cov>=3.0.0; extra == "test"
34
+ Requires-Dist: pytest-mock>=3.0.0; extra == "test"
31
35
  Provides-Extra: dev
32
- Requires-Dist: pytest>=7.0.0; extra == "dev"
33
36
  Requires-Dist: black>=22.0.0; extra == "dev"
34
37
  Requires-Dist: flake8>=4.0.0; extra == "dev"
35
38
  Requires-Dist: mypy>=0.950; extra == "dev"
39
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
40
+ Requires-Dist: pytest-cov>=3.0.0; extra == "dev"
41
+ Requires-Dist: pytest-mock>=3.0.0; extra == "dev"
36
42
  Provides-Extra: data
37
43
  Requires-Dist: pandas>=1.5.0; extra == "data"
38
44
  Requires-Dist: numpy>=1.24.0; extra == "data"
@@ -45,42 +51,159 @@ Dynamic: home-page
45
51
  Dynamic: license-file
46
52
  Dynamic: requires-python
47
53
 
48
- # wrd
49
- WRD -> WRonai Develoment - (word)
54
+ ![img.png](img.png)
55
+ # WRD (WRonai Development)
56
+
57
+ WRD is a powerful workflow tool designed to streamline your development process, especially when working with AI tools like Claude Code. It provides project management, automatic documentation, and workflow automation.
58
+
59
+ ## 📦 Features
60
+
61
+ - **Project Management**: Create and manage projects with a single command
62
+ - **Automatic Documentation**: Generate and maintain project documentation
63
+ - **Workflow Automation**: Automate repetitive tasks
64
+ - **Session Monitoring**: Track your coding sessions
65
+ - **Backup System**: Keep your work safe with automated backups
66
+
67
+ ## 🚀 Installation
68
+
69
+ ### Prerequisites
70
+
71
+ - Python 3.8 or higher
72
+ - Git
73
+ - pip (Python package manager)
74
+
75
+ ### Quick Start
76
+
77
+ 1. **Clone the repository**:
78
+ ```bash
79
+ git clone https://github.com/wronai/wrd.git
80
+ cd wrd
81
+ ```
82
+
83
+ 2. **Set up a virtual environment (recommended)**:
84
+ ```bash
85
+ python -m venv venv
86
+ source venv/bin/activate # On Windows: venv\Scripts\activate
87
+ ```
88
+
89
+ 3. **Install in development mode**:
90
+ ```bash
91
+ pip install -e .
92
+ ```
93
+
94
+ 4. **Verify installation**:
95
+ ```bash
96
+ wrd --help
97
+ ```
50
98
 
51
- # 🚀 Kompletna instrukcja instalacji WRD na Fedorze
99
+ ## 🛠 Usage
52
100
 
53
- ## Krok 1: Przygotowanie środowiska Fedora
101
+ ### Basic Commands
54
102
 
55
103
  ```bash
56
- # Uruchom skrypt konfiguracji środowiska
57
- curl -fsSL https://raw.githubusercontent.com/username/wrd/main/setup-fedora.sh | bash
104
+ # Show help
105
+ wrd --help
58
106
 
59
- # LUB pobierz i uruchom manualnie:
60
- wget https://raw.githubusercontent.com/username/wrd/main/setup-fedora.sh
61
- chmod +x setup-fedora.sh
62
- ./setup-fedora.sh
107
+ # Create a new project
108
+ wrd create my-project --description "My awesome project"
109
+
110
+ # List all projects
111
+ wrd list
112
+
113
+ # Show project status
114
+ wrd status
115
+
116
+ # Update project progress
117
+ wrd progress my-project "Initial setup complete"
118
+
119
+ # Create a backup
120
+ wrd backup
63
121
  ```
64
122
 
65
- Po zakończeniu skryptu:
123
+ ### Creating a New Project
124
+
66
125
  ```bash
67
- # Zaloguj się ponownie lub odśwież bashrc
68
- source ~/.bashrc
126
+ # Create a new Python project
127
+ wrd create my-python-project --type python --description "My Python project"
69
128
 
70
- # Sprawdź czy aliasy działają
71
- cc-workspace
129
+ # Create a new web project
130
+ wrd create my-web-project --type web --description "My Web project"
131
+ ```
132
+
133
+ ### Project Structure
134
+
135
+ When you create a new project, the following structure is generated:
136
+
137
+ ```
138
+ my-project/
139
+ ├── .git/
140
+ ├── .gitignore
141
+ ├── README.md
142
+ ├── CLAUDE.md
143
+ ├── requirements.txt
144
+ ├── src/
145
+ │ └── __init__.py
146
+ ├── tests/
147
+ │ └── __init__.py
148
+ └── .wrd/
149
+ └── config.json
150
+ ```
151
+
152
+ ## 🧪 Testing
153
+
154
+ Run the test suite with:
155
+
156
+ ```bash
157
+ pytest tests/
158
+ ```
159
+
160
+ ## 📚 Documentation
161
+
162
+ For detailed documentation, please visit our [documentation site](https://github.com/wronai/wrd/wiki).
163
+
164
+ ## 🤝 Contributing
165
+
166
+ Contributions are welcome! Please read our [contributing guidelines](CONTRIBUTING.md) before submitting pull requests.
167
+
168
+ ## 📄 License
169
+
170
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
171
+
172
+ ## 📞 Support
173
+
174
+ For support, please open an issue in the [issue tracker](https://github.com/wronai/wrd/issues).
175
+
176
+ ---
177
+
178
+ ## Fedora-Specific Setup (Optional)
179
+
180
+ If you're using Fedora, you can use the following setup script:
181
+
182
+ ```bash
183
+ # Run the setup script
184
+ curl -fsSL https://raw.githubusercontent.com/wronai/wrd/main/fedora.sh | bash
185
+
186
+ # Or download and run manually:
187
+ wget https://raw.githubusercontent.com/wronai/wrd/main/fedora.sh
188
+ chmod +x fedora.sh
189
+ ./fedora.sh
72
190
  ```
73
191
 
74
- ## Krok 2: Instalacja paczki WRD
192
+ After running the script:
193
+ ```bash
194
+ # Reload your shell configuration
195
+ source ~/.bashrc
75
196
 
76
- ### Metoda A: Instalacja z kodu źródłowego (zalecana)
197
+ # Verify the installation
198
+ cc-workspace
199
+ ```
77
200
 
78
201
  ```bash
79
202
  # Przejdź do workspace
80
203
  cc-workspace
81
204
 
82
205
  # Sklonuj repozytorium WRD
83
- git clone https://github.com/username/wrd.git
206
+ git clone https://github.com/wronai/wrd.git
84
207
  cd wrd
85
208
 
86
209
  # Utwórz dedykowane środowisko wirtualne dla WRD
@@ -227,7 +350,7 @@ nano ~/.wrd/config.json
227
350
  sudo systemctl status sshd
228
351
 
229
352
  # Test połączenia z telefonu/innego urządzenia
230
- ssh username@your-fedora-ip
353
+ ssh wronai@your-fedora-ip
231
354
 
232
355
  # Na zdalnym urządzeniu:
233
356
  cc-workspace
@@ -1,39 +1,156 @@
1
- # wrd
2
- WRD -> WRonai Develoment - (word)
1
+ ![img.png](img.png)
2
+ # WRD (WRonai Development)
3
3
 
4
- # 🚀 Kompletna instrukcja instalacji WRD na Fedorze
4
+ WRD is a powerful workflow tool designed to streamline your development process, especially when working with AI tools like Claude Code. It provides project management, automatic documentation, and workflow automation.
5
5
 
6
- ## Krok 1: Przygotowanie środowiska Fedora
6
+ ## 📦 Features
7
+
8
+ - **Project Management**: Create and manage projects with a single command
9
+ - **Automatic Documentation**: Generate and maintain project documentation
10
+ - **Workflow Automation**: Automate repetitive tasks
11
+ - **Session Monitoring**: Track your coding sessions
12
+ - **Backup System**: Keep your work safe with automated backups
13
+
14
+ ## 🚀 Installation
15
+
16
+ ### Prerequisites
17
+
18
+ - Python 3.8 or higher
19
+ - Git
20
+ - pip (Python package manager)
21
+
22
+ ### Quick Start
23
+
24
+ 1. **Clone the repository**:
25
+ ```bash
26
+ git clone https://github.com/wronai/wrd.git
27
+ cd wrd
28
+ ```
29
+
30
+ 2. **Set up a virtual environment (recommended)**:
31
+ ```bash
32
+ python -m venv venv
33
+ source venv/bin/activate # On Windows: venv\Scripts\activate
34
+ ```
35
+
36
+ 3. **Install in development mode**:
37
+ ```bash
38
+ pip install -e .
39
+ ```
40
+
41
+ 4. **Verify installation**:
42
+ ```bash
43
+ wrd --help
44
+ ```
45
+
46
+ ## 🛠 Usage
47
+
48
+ ### Basic Commands
7
49
 
8
50
  ```bash
9
- # Uruchom skrypt konfiguracji środowiska
10
- curl -fsSL https://raw.githubusercontent.com/username/wrd/main/setup-fedora.sh | bash
51
+ # Show help
52
+ wrd --help
53
+
54
+ # Create a new project
55
+ wrd create my-project --description "My awesome project"
11
56
 
12
- # LUB pobierz i uruchom manualnie:
13
- wget https://raw.githubusercontent.com/username/wrd/main/setup-fedora.sh
14
- chmod +x setup-fedora.sh
15
- ./setup-fedora.sh
57
+ # List all projects
58
+ wrd list
59
+
60
+ # Show project status
61
+ wrd status
62
+
63
+ # Update project progress
64
+ wrd progress my-project "Initial setup complete"
65
+
66
+ # Create a backup
67
+ wrd backup
16
68
  ```
17
69
 
18
- Po zakończeniu skryptu:
70
+ ### Creating a New Project
71
+
19
72
  ```bash
20
- # Zaloguj się ponownie lub odśwież bashrc
21
- source ~/.bashrc
73
+ # Create a new Python project
74
+ wrd create my-python-project --type python --description "My Python project"
75
+
76
+ # Create a new web project
77
+ wrd create my-web-project --type web --description "My Web project"
78
+ ```
79
+
80
+ ### Project Structure
81
+
82
+ When you create a new project, the following structure is generated:
22
83
 
23
- # Sprawdź czy aliasy działają
24
- cc-workspace
25
84
  ```
85
+ my-project/
86
+ ├── .git/
87
+ ├── .gitignore
88
+ ├── README.md
89
+ ├── CLAUDE.md
90
+ ├── requirements.txt
91
+ ├── src/
92
+ │ └── __init__.py
93
+ ├── tests/
94
+ │ └── __init__.py
95
+ └── .wrd/
96
+ └── config.json
97
+ ```
98
+
99
+ ## 🧪 Testing
100
+
101
+ Run the test suite with:
102
+
103
+ ```bash
104
+ pytest tests/
105
+ ```
106
+
107
+ ## 📚 Documentation
108
+
109
+ For detailed documentation, please visit our [documentation site](https://github.com/wronai/wrd/wiki).
110
+
111
+ ## 🤝 Contributing
112
+
113
+ Contributions are welcome! Please read our [contributing guidelines](CONTRIBUTING.md) before submitting pull requests.
114
+
115
+ ## 📄 License
116
+
117
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
118
+
119
+ ## 📞 Support
26
120
 
27
- ## Krok 2: Instalacja paczki WRD
121
+ For support, please open an issue in the [issue tracker](https://github.com/wronai/wrd/issues).
28
122
 
29
- ### Metoda A: Instalacja z kodu źródłowego (zalecana)
123
+ ---
124
+
125
+ ## Fedora-Specific Setup (Optional)
126
+
127
+ If you're using Fedora, you can use the following setup script:
128
+
129
+ ```bash
130
+ # Run the setup script
131
+ curl -fsSL https://raw.githubusercontent.com/wronai/wrd/main/fedora.sh | bash
132
+
133
+ # Or download and run manually:
134
+ wget https://raw.githubusercontent.com/wronai/wrd/main/fedora.sh
135
+ chmod +x fedora.sh
136
+ ./fedora.sh
137
+ ```
138
+
139
+ After running the script:
140
+ ```bash
141
+ # Reload your shell configuration
142
+ source ~/.bashrc
143
+
144
+ # Verify the installation
145
+ cc-workspace
146
+ ```
30
147
 
31
148
  ```bash
32
149
  # Przejdź do workspace
33
150
  cc-workspace
34
151
 
35
152
  # Sklonuj repozytorium WRD
36
- git clone https://github.com/username/wrd.git
153
+ git clone https://github.com/wronai/wrd.git
37
154
  cd wrd
38
155
 
39
156
  # Utwórz dedykowane środowisko wirtualne dla WRD
@@ -180,7 +297,7 @@ nano ~/.wrd/config.json
180
297
  sudo systemctl status sshd
181
298
 
182
299
  # Test połączenia z telefonu/innego urządzenia
183
- ssh username@your-fedora-ip
300
+ ssh wronai@your-fedora-ip
184
301
 
185
302
  # Na zdalnym urządzeniu:
186
303
  cc-workspace
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "wrd"
7
- version = "1.0.2"
7
+ version = "1.0.3"
8
8
  description = "WRD (Word) - Narzędzie workflow dla Claude Code na Fedorze"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -33,11 +33,18 @@ dependencies = [
33
33
  ]
34
34
 
35
35
  [project.optional-dependencies]
36
- dev = [
36
+ test = [
37
37
  "pytest>=7.0.0",
38
+ "pytest-cov>=3.0.0",
39
+ "pytest-mock>=3.0.0"
40
+ ]
41
+ dev = [
38
42
  "black>=22.0.0",
39
43
  "flake8>=4.0.0",
40
- "mypy>=0.950"
44
+ "mypy>=0.950",
45
+ "pytest>=7.0.0",
46
+ "pytest-cov>=3.0.0",
47
+ "pytest-mock>=3.0.0"
41
48
  ]
42
49
  data = [
43
50
  "pandas>=1.5.0",
@@ -53,15 +60,15 @@ web = [
53
60
  wrd = "wrd.__main__:main"
54
61
 
55
62
  [project.urls]
56
- homepage = "https://github.com/username/wrd"
57
- repository = "https://github.com/username/wrd"
58
- documentation = "https://github.com/username/wrd#readme"
59
- "Bug Tracker" = "https://github.com/username/wrd/issues"
63
+ homepage = "https://github.com/wronai/wrd"
64
+ repository = "https://github.com/wronai/wrd"
65
+ documentation = "https://github.com/wronai/wrd#readme"
66
+ "Bug Tracker" = "https://github.com/wronai/wrd/issues"
60
67
 
61
68
  [tool.setuptools]
62
69
  package-dir = { "" = "." }
63
70
  packages = ["wrd"]
64
- package-data = {wrd = ["templates/*", "configs/*"]}
71
+ package-data = { wrd = ["templates/*", "configs/*"] }
65
72
 
66
73
  [tool.black]
67
74
  line-length = 88
@@ -12,7 +12,7 @@ setup(
12
12
  description="WRD (Word) - Narzędzie workflow dla Claude Code na Fedorze",
13
13
  long_description=long_description,
14
14
  long_description_content_type="text/markdown",
15
- url="https://github.com/username/wrd",
15
+ url="https://github.com/wronai/wrd",
16
16
  packages=find_packages(),
17
17
  classifiers=[
18
18
  "Development Status :: 4 - Beta",
@@ -0,0 +1,37 @@
1
+ """Basic tests for the WRD package."""
2
+ import unittest
3
+ from unittest.mock import patch, MagicMock
4
+ import sys
5
+ import os
6
+
7
+ # Add the project root to the Python path
8
+ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
9
+
10
+ class TestWRD(unittest.TestCase):
11
+ """Test cases for the WRD package."""
12
+
13
+ def setUp(self):
14
+ """Set up test fixtures."""
15
+ pass
16
+
17
+ def test_import(self):
18
+ """Test that the package can be imported."""
19
+ import wrd
20
+ self.assertIsNotNone(wrd)
21
+ self.assertTrue(hasattr(wrd, '__version__'))
22
+
23
+ @patch('wrd.__main__.main')
24
+ def test_main_module(self, mock_main):
25
+ """Test that the __main__ module can be executed."""
26
+ import wrd.__main__
27
+ wrd.__main__.main()
28
+ mock_main.assert_called_once()
29
+
30
+ def test_cli_commands(self):
31
+ """Test that the basic CLI commands are available."""
32
+ from wrd.__main__ import main
33
+ # This is a simple test that the main function exists
34
+ self.assertTrue(callable(main))
35
+
36
+ if __name__ == '__main__':
37
+ unittest.main()
@@ -0,0 +1,93 @@
1
+ """Functional tests for the WRD package."""
2
+ import unittest
3
+ import tempfile
4
+ import shutil
5
+ import os
6
+ from pathlib import Path
7
+ from unittest.mock import patch, MagicMock
8
+
9
+ class TestWRDFunctional(unittest.TestCase):
10
+ """Functional test cases for the WRD package."""
11
+
12
+ def setUp(self):
13
+ """Set up test fixtures."""
14
+ self.test_dir = tempfile.mkdtemp()
15
+ self.original_dir = os.getcwd()
16
+ os.chdir(self.test_dir)
17
+
18
+ # Create a test project directory
19
+ self.project_name = "test_project"
20
+ self.project_path = Path(self.test_dir) / self.project_name
21
+ self.project_path.mkdir(exist_ok=True)
22
+
23
+ # Mock the user's home directory
24
+ self.patcher = patch('pathlib.Path.home')
25
+ self.mock_home = self.patcher.start()
26
+ self.mock_home.return_value = Path(self.test_dir)
27
+
28
+ def tearDown(self):
29
+ """Tear down test fixtures."""
30
+ self.patcher.stop()
31
+ os.chdir(self.original_dir)
32
+ shutil.rmtree(self.test_dir, ignore_errors=True)
33
+
34
+ def test_project_creation(self):
35
+ """Test creating a new project."""
36
+ from wrd.__main__ import WRDManager
37
+
38
+ manager = WRDManager()
39
+ project = manager.create_project(
40
+ name=self.project_name,
41
+ project_type="python",
42
+ description="A test project"
43
+ )
44
+
45
+ # Check if project directory was created
46
+ self.assertTrue(self.project_path.exists())
47
+
48
+ # Check if essential files were created
49
+ self.assertTrue((self.project_path / "README.md").exists())
50
+ self.assertTrue((self.project_path / "CLAUDE.md").exists())
51
+ self.assertTrue((self.project_path / "requirements.txt").exists())
52
+
53
+ # Check if .wrd directory was created
54
+ self.assertTrue((self.project_path / ".wrd").exists())
55
+ self.assertTrue((self.project_path / ".wrd" / "config.json").exists())
56
+
57
+ @patch('wrd.__main__.subprocess.run')
58
+ def test_commit_command(self, mock_run):
59
+ """Test the commit command."""
60
+ from wrd.__main__ import WRDManager
61
+
62
+ # Create a test project
63
+ manager = WRDManager()
64
+ manager.create_project(
65
+ name=self.project_name,
66
+ project_type="python",
67
+ description="A test project"
68
+ )
69
+
70
+ # Test commit
71
+ manager.commit_project(self.project_name)
72
+
73
+ # Check if git commands were called
74
+ self.assertTrue(mock_run.called)
75
+
76
+ def test_list_projects(self):
77
+ """Test listing projects."""
78
+ from wrd.__main__ import WRDManager
79
+
80
+ # Create a test project
81
+ manager = WRDManager()
82
+ manager.create_project(
83
+ name=self.project_name,
84
+ project_type="python",
85
+ description="A test project"
86
+ )
87
+
88
+ # Test listing projects
89
+ projects = manager.list_projects()
90
+ self.assertIn(self.project_name, projects)
91
+
92
+ if __name__ == '__main__':
93
+ unittest.main()
@@ -0,0 +1,5 @@
1
+ """WRD (WRonai Development) - A powerful workflow tool for developers."""
2
+
3
+ __version__ = "1.0.2"
4
+ __author__ = "Tom Sapletta <info@softreck.dev>"
5
+ __license__ = "MIT"
@@ -1,15 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wrd
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: WRD (Word) - Narzędzie workflow dla Claude Code na Fedorze
5
- Home-page: https://github.com/username/wrd
5
+ Home-page: https://github.com/wronai/wrd
6
6
  Author: Claude Code User
7
7
  Author-email: Tom Sapletta <info@softreck.dev>
8
8
  License: MIT
9
- Project-URL: homepage, https://github.com/username/wrd
10
- Project-URL: repository, https://github.com/username/wrd
11
- Project-URL: documentation, https://github.com/username/wrd#readme
12
- Project-URL: Bug Tracker, https://github.com/username/wrd/issues
9
+ Project-URL: homepage, https://github.com/wronai/wrd
10
+ Project-URL: repository, https://github.com/wronai/wrd
11
+ Project-URL: documentation, https://github.com/wronai/wrd#readme
12
+ Project-URL: Bug Tracker, https://github.com/wronai/wrd/issues
13
13
  Classifier: Development Status :: 4 - Beta
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: Topic :: Software Development :: Build Tools
@@ -28,11 +28,17 @@ Requires-Dist: rich>=12.0.0
28
28
  Requires-Dist: pydantic>=1.9.0
29
29
  Requires-Dist: python-dotenv>=0.19.0
30
30
  Requires-Dist: requests>=2.28.0
31
+ Provides-Extra: test
32
+ Requires-Dist: pytest>=7.0.0; extra == "test"
33
+ Requires-Dist: pytest-cov>=3.0.0; extra == "test"
34
+ Requires-Dist: pytest-mock>=3.0.0; extra == "test"
31
35
  Provides-Extra: dev
32
- Requires-Dist: pytest>=7.0.0; extra == "dev"
33
36
  Requires-Dist: black>=22.0.0; extra == "dev"
34
37
  Requires-Dist: flake8>=4.0.0; extra == "dev"
35
38
  Requires-Dist: mypy>=0.950; extra == "dev"
39
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
40
+ Requires-Dist: pytest-cov>=3.0.0; extra == "dev"
41
+ Requires-Dist: pytest-mock>=3.0.0; extra == "dev"
36
42
  Provides-Extra: data
37
43
  Requires-Dist: pandas>=1.5.0; extra == "data"
38
44
  Requires-Dist: numpy>=1.24.0; extra == "data"
@@ -45,42 +51,159 @@ Dynamic: home-page
45
51
  Dynamic: license-file
46
52
  Dynamic: requires-python
47
53
 
48
- # wrd
49
- WRD -> WRonai Develoment - (word)
54
+ ![img.png](img.png)
55
+ # WRD (WRonai Development)
56
+
57
+ WRD is a powerful workflow tool designed to streamline your development process, especially when working with AI tools like Claude Code. It provides project management, automatic documentation, and workflow automation.
58
+
59
+ ## 📦 Features
60
+
61
+ - **Project Management**: Create and manage projects with a single command
62
+ - **Automatic Documentation**: Generate and maintain project documentation
63
+ - **Workflow Automation**: Automate repetitive tasks
64
+ - **Session Monitoring**: Track your coding sessions
65
+ - **Backup System**: Keep your work safe with automated backups
66
+
67
+ ## 🚀 Installation
68
+
69
+ ### Prerequisites
70
+
71
+ - Python 3.8 or higher
72
+ - Git
73
+ - pip (Python package manager)
74
+
75
+ ### Quick Start
76
+
77
+ 1. **Clone the repository**:
78
+ ```bash
79
+ git clone https://github.com/wronai/wrd.git
80
+ cd wrd
81
+ ```
82
+
83
+ 2. **Set up a virtual environment (recommended)**:
84
+ ```bash
85
+ python -m venv venv
86
+ source venv/bin/activate # On Windows: venv\Scripts\activate
87
+ ```
88
+
89
+ 3. **Install in development mode**:
90
+ ```bash
91
+ pip install -e .
92
+ ```
93
+
94
+ 4. **Verify installation**:
95
+ ```bash
96
+ wrd --help
97
+ ```
50
98
 
51
- # 🚀 Kompletna instrukcja instalacji WRD na Fedorze
99
+ ## 🛠 Usage
52
100
 
53
- ## Krok 1: Przygotowanie środowiska Fedora
101
+ ### Basic Commands
54
102
 
55
103
  ```bash
56
- # Uruchom skrypt konfiguracji środowiska
57
- curl -fsSL https://raw.githubusercontent.com/username/wrd/main/setup-fedora.sh | bash
104
+ # Show help
105
+ wrd --help
58
106
 
59
- # LUB pobierz i uruchom manualnie:
60
- wget https://raw.githubusercontent.com/username/wrd/main/setup-fedora.sh
61
- chmod +x setup-fedora.sh
62
- ./setup-fedora.sh
107
+ # Create a new project
108
+ wrd create my-project --description "My awesome project"
109
+
110
+ # List all projects
111
+ wrd list
112
+
113
+ # Show project status
114
+ wrd status
115
+
116
+ # Update project progress
117
+ wrd progress my-project "Initial setup complete"
118
+
119
+ # Create a backup
120
+ wrd backup
63
121
  ```
64
122
 
65
- Po zakończeniu skryptu:
123
+ ### Creating a New Project
124
+
66
125
  ```bash
67
- # Zaloguj się ponownie lub odśwież bashrc
68
- source ~/.bashrc
126
+ # Create a new Python project
127
+ wrd create my-python-project --type python --description "My Python project"
69
128
 
70
- # Sprawdź czy aliasy działają
71
- cc-workspace
129
+ # Create a new web project
130
+ wrd create my-web-project --type web --description "My Web project"
131
+ ```
132
+
133
+ ### Project Structure
134
+
135
+ When you create a new project, the following structure is generated:
136
+
137
+ ```
138
+ my-project/
139
+ ├── .git/
140
+ ├── .gitignore
141
+ ├── README.md
142
+ ├── CLAUDE.md
143
+ ├── requirements.txt
144
+ ├── src/
145
+ │ └── __init__.py
146
+ ├── tests/
147
+ │ └── __init__.py
148
+ └── .wrd/
149
+ └── config.json
150
+ ```
151
+
152
+ ## 🧪 Testing
153
+
154
+ Run the test suite with:
155
+
156
+ ```bash
157
+ pytest tests/
158
+ ```
159
+
160
+ ## 📚 Documentation
161
+
162
+ For detailed documentation, please visit our [documentation site](https://github.com/wronai/wrd/wiki).
163
+
164
+ ## 🤝 Contributing
165
+
166
+ Contributions are welcome! Please read our [contributing guidelines](CONTRIBUTING.md) before submitting pull requests.
167
+
168
+ ## 📄 License
169
+
170
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
171
+
172
+ ## 📞 Support
173
+
174
+ For support, please open an issue in the [issue tracker](https://github.com/wronai/wrd/issues).
175
+
176
+ ---
177
+
178
+ ## Fedora-Specific Setup (Optional)
179
+
180
+ If you're using Fedora, you can use the following setup script:
181
+
182
+ ```bash
183
+ # Run the setup script
184
+ curl -fsSL https://raw.githubusercontent.com/wronai/wrd/main/fedora.sh | bash
185
+
186
+ # Or download and run manually:
187
+ wget https://raw.githubusercontent.com/wronai/wrd/main/fedora.sh
188
+ chmod +x fedora.sh
189
+ ./fedora.sh
72
190
  ```
73
191
 
74
- ## Krok 2: Instalacja paczki WRD
192
+ After running the script:
193
+ ```bash
194
+ # Reload your shell configuration
195
+ source ~/.bashrc
75
196
 
76
- ### Metoda A: Instalacja z kodu źródłowego (zalecana)
197
+ # Verify the installation
198
+ cc-workspace
199
+ ```
77
200
 
78
201
  ```bash
79
202
  # Przejdź do workspace
80
203
  cc-workspace
81
204
 
82
205
  # Sklonuj repozytorium WRD
83
- git clone https://github.com/username/wrd.git
206
+ git clone https://github.com/wronai/wrd.git
84
207
  cd wrd
85
208
 
86
209
  # Utwórz dedykowane środowisko wirtualne dla WRD
@@ -227,7 +350,7 @@ nano ~/.wrd/config.json
227
350
  sudo systemctl status sshd
228
351
 
229
352
  # Test połączenia z telefonu/innego urządzenia
230
- ssh username@your-fedora-ip
353
+ ssh wronai@your-fedora-ip
231
354
 
232
355
  # Na zdalnym urządzeniu:
233
356
  cc-workspace
@@ -4,6 +4,8 @@ pyproject.toml
4
4
  setup.py
5
5
  ./wrd/__init__.py
6
6
  ./wrd/__main__.py
7
+ tests/test_basic.py
8
+ tests/test_functional.py
7
9
  wrd/__init__.py
8
10
  wrd/__main__.py
9
11
  wrd.egg-info/PKG-INFO
@@ -10,10 +10,17 @@ numpy>=1.24.0
10
10
  matplotlib>=3.6.0
11
11
 
12
12
  [dev]
13
- pytest>=7.0.0
14
13
  black>=22.0.0
15
14
  flake8>=4.0.0
16
15
  mypy>=0.950
16
+ pytest>=7.0.0
17
+ pytest-cov>=3.0.0
18
+ pytest-mock>=3.0.0
19
+
20
+ [test]
21
+ pytest>=7.0.0
22
+ pytest-cov>=3.0.0
23
+ pytest-mock>=3.0.0
17
24
 
18
25
  [web]
19
26
  fastapi>=0.95.0
wrd-1.0.2/wrd/__init__.py DELETED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes