Ask AI for help you in your terminal.
Project description
Needto
Needto have an AI assistant in your command line?
needto is an AI-powered assistant for the command line, designed to help you with various tasks such as finding and running commands, answering questions by analyzing command outputs, and writing code snippets. It suggests solutions and makes it easy to apply them in your environment. With needto, you can select and run recommended commands safely.
Installation
To install needto, use pipx:
pipx install needto
Configuration
After installation, configure needto by running:
needto config
Needto leverages Groq to run Meta's Llama3 language models. To get started, you'll need a Groq API key (Groq).
Usage
1. Find and Run a Command
Use needto do to find and run commands effortlessly. Simply describe what you need to do, and needto will provide a list of CLI commands for you to choose from. You can then edit the command further if necessary before executing it.
Example:
needto do "kill process on port 8000"
2. Ask Questions
Ask needto ask questions about your system. It will help you find answers by suggesting commands to explore and analyzing the outputs of those commands. Note that, in this case, needto will prioritize safety and avoid recommending commands that could modify your system state. You always remain in full control of what gets executed on your computer.
Example:
needto ask "how many programs I have installed on my system?"
3. Write Code
Use needto write to generate code snippets. Describe the code you need, and needto will provide it along with necessary clarifications.
Example:
needto write "a python script that gets my public IP"
License
needto is distributed under the terms of the MIT license.
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 needto-0.1.9.tar.gz.
File metadata
- Download URL: needto-0.1.9.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aacf64ddf741da9b5ab5c6c32f4ee95a6843da559ecae84845f670f5a5609945
|
|
| MD5 |
a6e493381c96688cf0d8fac7f35b1ea9
|
|
| BLAKE2b-256 |
5b9b3667bf63cb18e3157559a9c0fd6e02ebe73d29f69b605e3ca3e213c9aaf1
|
File details
Details for the file needto-0.1.9-py3-none-any.whl.
File metadata
- Download URL: needto-0.1.9-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f74e05c0878bd8a56e037501af1a28b8cc7bf398283d6cc66072e92b441b1261
|
|
| MD5 |
f797af3ab8e5f91d34407c281a8f832a
|
|
| BLAKE2b-256 |
4fd3bd2329af74c2052c802c0ede45cb495eaa67df12ba45cf0d42d9f17d78c5
|