Skip to main content

A powerful CLI tool for calculations, unit conversions, and translations using Numo

Project description

Numo CLI

A powerful command-line interface for calculations, unit conversions, and translations.

Features

  • Simple arithmetic calculations
  • Unit conversions (length, mass, currency, etc.)
  • Text translations
  • Interactive shell mode
  • Batch processing of multiple expressions

Installation

You can install Numo CLI using pip:

pip install numo-cli

Usage

Interactive Mode

Simply run numo to start the interactive shell:

numo

Example commands in interactive mode:

>>> 2 + 2
4
>>> 1 km to m
1000 m
>>> hello in spanish
hola
>>> 100 usd to eur
91.85 EUR

Command Line Arguments

You can also use Numo CLI directly from the command line:

numo "2 + 2"
numo "1 km to m"
numo "hello in spanish"

Requirements

  • Python 3.7 or higher
  • numo package
  • aiohttp
  • typing-extensions

Development

  1. Clone the repository:
git clone https://github.com/furkancosgun/numo-cli.git
cd numo-cli
  1. Create a virtual environment:
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Install in development mode:
pip install -e .

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Acknowledgments

  • Built with Numo library

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

numo_cli-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

numo_cli-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file numo_cli-0.1.0.tar.gz.

File metadata

  • Download URL: numo_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.6

File hashes

Hashes for numo_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7824ab9308a7a1151e40014f96109240fdf350ef57cc6979123bd6f45c5af488
MD5 2129fa5a7e218d4ae973f2752b1d5646
BLAKE2b-256 1f606bd326ee77b02798ca2221d8056cb29875e32d9293acfa2598c16b6615d8

See more details on using hashes here.

File details

Details for the file numo_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: numo_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.6

File hashes

Hashes for numo_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6156272e514a379b1384eb652799a63fed21eb2caca41946d469f63ba7f561e
MD5 6e0fee35e3906f0ebeae41e718fb0c72
BLAKE2b-256 b3722cd86a8f25e62dfaf40131943b5732f3159acec17b62f5581bc9c4db071d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page