A minimalistic AI assistant designed to assist infrastructure engineers and developers with various tasks related to infrastructure management, deployment, and development.
Project description
InfraAI
A minimalistic AI assistant designed to assist infrastructure engineers and developers with various tasks related to infrastructure management, deployment, and development.
🔭 InfraAI is a command-line tool designed to provide immediate concise responses. It leverages the capabilities of Google's Gemini models to deliver precise commands tailored to various operating systems and environments.
Features 🌟
- Streamlined Command Assistance: Get specific commands for your operating system without unnecessary clutter.
- Support for Multiple Gemeini Models: Choose between different Gemini models
- Easy Configuration: Simple commands to set your API key and preferred Gemini model.
Installation 🛠️
To install InfraAI, simply use pip. Ensure you have Python 3.9 or later installed.
pip install infraai
Configuration 🔧
Before you start using InfraAI, you need to configure your Google Gemini API key.
Setting the API Key
infra --setkey
When prompted, enter your Google Gemini API key. This key will be saved and used for future requests.
Setting the Gemini Model
If you want to use a different model than the default Gemini-pro, you can set it as follows:
infra --set-model gemini-1.5-flash
This command will save your model choice and use it for all future inquiries.
Usage 📝
To use InfraAI, simply type infra followed by the command or query you need help with. Here’s how it works:
infra infra how to list docker containers
Examples
Here are a few examples of how you can use InfraAI to get help with common infrastructure tasks:
- Setting up nginx:
infra setup nginx webserver
- Initializing a Git repository:
infra how to initialize git repository
- Creating a Python virtual environment:
infra create python virtual environment
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 Distributions
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 infraai-0.2.3-py3-none-any.whl.
File metadata
- Download URL: infraai-0.2.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
100f6b94aff23875152d4727a1ad77d3e930d8f89bc1f74633bde92f517cf03c
|
|
| MD5 |
f3a2187dae4acdd2a0748f9107e88416
|
|
| BLAKE2b-256 |
cc6e4ccc6253fee4884c62dbd3c842fa40e61c0a345bc115fe0eff61a8d941d6
|