Metadata-Version: 2.4
Name: zyntax
Version: 1.0.0
Summary: A smart terminal interface that understands natural language commands in English and Hinglish
Home-page: https://github.com/racxhit/Zyntax-NLP-Terminal
Author: Rachit
Author-email: rachit.developer@gmail.com
Project-URL: Bug Reports, https://github.com/racxhit/Zyntax-NLP-Terminal/issues
Project-URL: Source, https://github.com/racxhit/Zyntax-NLP-Terminal
Project-URL: Documentation, https://github.com/racxhit/Zyntax-NLP-Terminal#readme
Keywords: nlp terminal cli natural-language command-line artificial-intelligence
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: System :: Shells
Classifier: Topic :: Utilities
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: spacy<4.0.0,>=3.7.0
Requires-Dist: rapidfuzz<4.0.0,>=3.0.0
Requires-Dist: psutil<6.0.0,>=5.8.0
Requires-Dist: pytest<8.0.0,>=7.0.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Zyntax: Natural Language Terminal Interface

**Zyntax** is an intelligent terminal interface that understands natural language commands. Skip memorizing complex command syntax across different operating systems - just tell Zyntax what you want to do in plain English or Hinglish.

Zyntax bridges the gap between human language and command-line interfaces, making terminal operations accessible to everyone while maintaining the power and efficiency developers love.

🔥 **Cross-platform**: Works consistently on Linux, macOS, and Windows  
🧠 **Smart parsing**: Advanced NLP with spaCy for accurate intent recognition in English and Hinglish  
⚡ **Fast**: Optimized for real-time command processing  
🛠 **Extensible**: Built with modularity and extensibility in mind

---

## ✨ Features

- **Multilingual Support**: Works with English and Hinglish commands
- **Natural Language Processing**: Advanced command understanding using spaCy
- **Cross-Platform Compatibility**: Unified interface across Linux, macOS, and Windows
- **Smart Command Mapping**: Automatically translates to platform-specific commands
- **File Operations**: Create, move, copy, delete files and directories naturally
- **Git Integration**: Manage repositories with conversational commands
- **System Information**: Check memory, disk usage, and system status
- **Error Handling**: Clear feedback and graceful error recovery

## 🚀 Quick Start

### Installation

```bash
pip install zyntax
```

*Note: The required spaCy language model will be downloaded automatically on first run.*

### Usage

```bash
zyntax
```

```
🚀 Zyntax - Natural Language Terminal
💬 Type commands in natural language (English/Hinglish). Type 'exit' to quit.

Zyntax> create a new folder called my_project
Zyntax> change directory to my_project
Zyntax> make an empty file named README.md
Zyntax> folder banao docs
Zyntax> what's the git status?
```

## 📖 Command Examples

| Natural Language | Traditional Command |
|------------------|-------------------|
| `list all files` | `ls -la` / `dir` |
| `show current directory` | `pwd` / `cd` |
| `create folder called docs` | `mkdir docs` / `md docs` |
| `folder banao my_project` | `mkdir my_project` |
| `copy file.txt to backup/` | `cp file.txt backup/` / `copy file.txt backup\` |
| `remove old_file.txt` | `rm old_file.txt` / `del old_file.txt` |
| `show memory usage` | System info via psutil |
| `git commit with message "fix bug"` | `git commit -m "fix bug"` |

## 🛠 Supported Operations

- **File Management**: Create, read, copy, move, delete files
- **Directory Navigation**: Change directories, show current path
- **Git Operations**: Status, init, commit with message parsing
- **System Information**: Memory usage, user info, process management
- **Text Operations**: Display file contents, basic text manipulation

## 💻 Platform Support

| Platform | Status | Notes |
|----------|--------|-------|
| **Linux** | ✅ Full Support | Native command mapping |
| **macOS** | ✅ Full Support | Uses Linux commands with macOS compatibility |
| **Windows** | ✅ Full Support | Automatic CMD/PowerShell translation |

## 📋 Requirements

- **Python**: 3.8 or higher
- **Operating System**: Linux, macOS, or Windows
- **Dependencies**: spaCy, rapidfuzz, psutil
- **Language Model**: en_core_web_sm (downloaded automatically)

## 🔧 Installation Details

### Using pip (Recommended)

```bash
pip install zyntax
```

The spaCy language model will be downloaded automatically on first run. If you prefer to download it manually beforehand:

```bash
python -m spacy download en_core_web_sm
```

### From Source

```bash
git clone https://github.com/racxhit/Zyntax-NLP-Terminal.git
cd Zyntax-NLP-Terminal
pip install -e .
```

## 🎯 Use Cases

- **Beginners**: Learn command-line operations without memorizing syntax
- **Cross-platform developers**: Use consistent commands across different systems
- **Automation**: Natural language scripting and task automation
- **Education**: Teaching terminal concepts with intuitive language
- **Productivity**: Faster command execution with conversational interface

## 🤝 Contributing

We welcome contributions! Please see our [contributing guidelines](https://github.com/racxhit/Zyntax-NLP-Terminal/blob/main/CONTRIBUTING.md) for details.

### Development Setup

```bash
git clone https://github.com/racxhit/Zyntax-NLP-Terminal.git
cd Zyntax-NLP-Terminal
pip install -e ".[dev]"
pytest tests/
```

## 📝 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 🙏 Acknowledgments

- Built with [spaCy](https://spacy.io/) for natural language processing
- Uses [rapidfuzz](https://github.com/maxbachmann/RapidFuzz) for fuzzy string matching
- System operations powered by [psutil](https://github.com/giampaolo/psutil)

## 🔗 Links

- **Documentation**: [GitHub Wiki](https://github.com/racxhit/Zyntax-NLP-Terminal/wiki)
- **Bug Reports**: [GitHub Issues](https://github.com/racxhit/Zyntax-NLP-Terminal/issues)
- **Feature Requests**: [GitHub Discussions](https://github.com/racxhit/Zyntax-NLP-Terminal/discussions)
- **PyPI Package**: [https://pypi.org/project/zyntax/](https://pypi.org/project/zyntax/)

---

**Made with ❤️ for developers who believe terminals should speak human**


