A powerful CLI tool for calculations, unit conversions, and translations using Numo
Project description
🚀 Numo CLI
Your Swiss Army Knife for Calculations, Conversions, and Translations in the Terminal!
Numo CLI transforms your terminal into a powerful computational assistant. Whether you need to crunch numbers, convert units, or translate text, Numo CLI has got you covered - all without leaving your command line!
✨ Features
🧮 Smart Calculations
- Basic arithmetic operations
- Complex mathematical expressions
- Scientific calculations
- Support for parentheses and operator precedence
🔄 Universal Converter
- Length (km, m, mi, ft, etc.)
- Mass (kg, g, lb, oz, etc.)
- Currency (Real-time rates for USD, EUR, GBP, etc.)
- Temperature (°C, °F, K)
- And many more!
🌍 Instant Translations
- Support for multiple languages
- Natural language processing
- Instant results
⚡ Powerful CLI
- Interactive shell with command history
- Batch processing for multiple calculations
- Function and variable listing
- User-friendly error messages
🚀 Quick Start
Installation
pip install numo-cli
For macOS/Linux users, add Python's bin directory to your PATH:
echo 'export PATH="$HOME/Library/Python/3.9/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
Interactive Mode
Launch the interactive shell:
numo-cli
Direct Commands
# Mathematical Operations
numo-cli "2 * (3 + 4)" # Output: 14
numo-cli "sqrt(16)" # Output: 4
# Unit Conversions
numo-cli "5.5 km to miles" # Output: 3.42 miles
numo-cli "100 usd to eur" # Output: 91.85 EUR
numo-cli "30 celsius to f" # Output: 86°F
# Translations
numo-cli "hello world in spanish" # Output: hola mundo
numo-cli "good morning in japanese" # Output: おはようございます
🎯 Advanced Usage
Available Commands
In interactive mode, try these special commands:
# List all available functions
>>> list functions
# List all available variables
>>> list variables
# Complex calculations
>>> sin(45) + cos(30)
>>> log(1000) / ln(10)
# Chained conversions
>>> 100 km/h to m/s
>>> 1 btc to usd to eur
Batch Processing
Process multiple expressions at once:
numo-cli "1 + 1" "2 * 2" "3 ^ 2"
🛠️ Development Setup
- Clone and setup:
git clone https://github.com/furkancosgun/numo-cli.git
cd numo-cli
- Create virtual environment:
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
pip install -e .
🤝 Contributing
We love your input! Want to contribute? Here's how:
- Fork the repo
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
👨💻 Author
Furkan Cosgun
- GitHub: @furkancosgun
- LinkedIn: Furkan Cosgun
🙏 Acknowledgments
- Built with ❤️ using Numo library
- Special thanks to all contributors
Made with ❤️ by Furkan Cosgun
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file numo-cli-0.2.0.tar.gz.
File metadata
- Download URL: numo-cli-0.2.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbead0d34c1b08f24e4f7c78aa3f660f55486038092d010540ac3667f72b8063
|
|
| MD5 |
8677a6b753a5a1a168a05c7d5165fc29
|
|
| BLAKE2b-256 |
df523b16564acd9a34440b3fb5674283db420111894d3d56b83c160bae97da59
|
File details
Details for the file numo_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: numo_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c1a2aad6333b7f04b0222bfb1cb1517653ceaf9bd408e88b700eee557facdf2
|
|
| MD5 |
bf811ce6707af7d087665a46db7cdfaa
|
|
| BLAKE2b-256 |
1cd9961f53376a578751bd7d753bba08cc0c785abe1edb58c19e0424e9804402
|