Skip to main content

Ask AI for help you in your terminal.

Project description

Needto

PyPI - Version PyPI - Python Version

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


Download files

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

Source Distribution

needto-0.1.7.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

needto-0.1.7-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file needto-0.1.7.tar.gz.

File metadata

  • Download URL: needto-0.1.7.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3

File hashes

Hashes for needto-0.1.7.tar.gz
Algorithm Hash digest
SHA256 5b85282ba54a0e6cc39b94367118c6773c4a93e332a39c6aa560d9c4fff48203
MD5 e3dd0fe7cfccd14f9d7e85b94e7c982e
BLAKE2b-256 18759674ec7f112e1df0b143c9cc4db990b568ab12b460519ced9d7df927f2a7

See more details on using hashes here.

File details

Details for the file needto-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: needto-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3

File hashes

Hashes for needto-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f0e7881fd3403c9a64a660bff663f7c9f5f27b4e6d36f79c1e49674966b4de48
MD5 3344bdf095c184b02558fb64167ca7ce
BLAKE2b-256 cca0379f4e6486363f5f01fd91a41df7734e9b338cab323429f2599be2d98a45

See more details on using hashes here.

Supported by

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