ngpt 2.16.0__py3-none-any.whl → 2.16.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ngpt
3
- Version: 2.16.0
3
+ Version: 2.16.1
4
4
  Summary: A lightweight Python CLI and library for interacting with OpenAI-compatible APIs, supporting both official and self-hosted LLM endpoints.
5
5
  Project-URL: Homepage, https://github.com/nazdridoy/ngpt
6
6
  Project-URL: Repository, https://github.com/nazdridoy/ngpt
@@ -41,7 +41,7 @@ Description-Content-Type: text/markdown
41
41
  [![Python Versions](https://img.shields.io/pypi/pyversions/ngpt.svg)](https://pypi.org/project/ngpt/)
42
42
  [![Documentation](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://nazdridoy.github.io/ngpt/)
43
43
 
44
- A lightweight Python CLI and library for interacting with OpenAI-compatible APIs, supporting both official and self-hosted LLM endpoints.
44
+ A versatile Python LLM client that functions as a CLI utility, library, and development framework. Supports multiple providers (OpenAI, Ollama, Groq, Claude) with features including interactive chat, code generation, shell command execution, git commit messages generation, and markdown rendering.
45
45
 
46
46
  ![2025-04-23_16-18-01](https://github.com/user-attachments/assets/b8e58926-5165-4352-b48b-9f4a982da86e)
47
47
 
@@ -62,6 +62,9 @@ A lightweight Python CLI and library for interacting with OpenAI-compatible APIs
62
62
  - [Interactive Configuration](#interactive-configuration)
63
63
  - [Configuration File](#configuration-file)
64
64
  - [Configuration Priority](#configuration-priority)
65
+ - [API Key Setup](#api-key-setup)
66
+ - [OpenAI API Key](#openai-api-key)
67
+ - [Google Gemini API Key](#google-gemini-api-key)
65
68
  - [Contributing](#contributing)
66
69
  - [License](#license)
67
70
 
@@ -397,6 +400,35 @@ For detailed information about building CLI tools with nGPT, see the [CLI Framew
397
400
 
398
401
  ## Configuration
399
402
 
403
+ ### API Key Setup
404
+
405
+ #### OpenAI API Key
406
+ 1. Create an account at [OpenAI](https://platform.openai.com/)
407
+ 2. Navigate to API keys: https://platform.openai.com/api-keys
408
+ 3. Click "Create new secret key" and copy your API key
409
+ 4. Configure nGPT with your key:
410
+ ```bash
411
+ ngpt --config
412
+ # Enter provider: OpenAI
413
+ # Enter API key: your-openai-api-key
414
+ # Enter base URL: https://api.openai.com/v1/
415
+ # Enter model: gpt-3.5-turbo (or other model)
416
+ ```
417
+
418
+ #### Google Gemini API Key
419
+ 1. Create or use an existing Google account
420
+ 2. Go to [Google AI Studio](https://aistudio.google.com/)
421
+ 3. Navigate to API keys in the left sidebar (or visit https://aistudio.google.com/app/apikeys)
422
+ 4. Create an API key and copy it
423
+ 5. Configure nGPT with your key:
424
+ ```bash
425
+ ngpt --config
426
+ # Enter provider: Gemini
427
+ # Enter API key: your-gemini-api-key
428
+ # Enter base URL: https://generativelanguage.googleapis.com/v1beta/openai
429
+ # Enter model: gemini-2.0-flash
430
+ ```
431
+
400
432
  ### Command Line Options
401
433
 
402
434
  You can configure nGPT using the following options:
@@ -20,8 +20,8 @@ ngpt/utils/__init__.py,sha256=E46suk2-QgYBI0Qrs6WXOajOUOebF3ETAFY7ah8DTWs,942
20
20
  ngpt/utils/cli_config.py,sha256=tQxR3a2iXyc5TfRBPQHSUXPInO2dv_zTPGn04eWfmoo,11285
21
21
  ngpt/utils/config.py,sha256=WYOk_b1eiYjo6hpV3pfXr2RjqhOnmKqwZwKid1T41I4,10363
22
22
  ngpt/utils/log.py,sha256=f1jg2iFo35PAmsarH8FVL_62plq4VXH0Mu2QiP6RJGw,15934
23
- ngpt-2.16.0.dist-info/METADATA,sha256=T5OEQ8AtdLDyct1rLRKElBBUCZgehw1iesLMhZrcnKA,23523
24
- ngpt-2.16.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
25
- ngpt-2.16.0.dist-info/entry_points.txt,sha256=SqAAvLhMrsEpkIr4YFRdUeyuXQ9o0IBCeYgE6AVojoI,44
26
- ngpt-2.16.0.dist-info/licenses/LICENSE,sha256=mQkpWoADxbHqE0HRefYLJdm7OpdrXBr3vNv5bZ8w72M,1065
27
- ngpt-2.16.0.dist-info/RECORD,,
23
+ ngpt-2.16.1.dist-info/METADATA,sha256=_rzOC_Y0s2eb7qFllkUIAUwZGVEXe1FCVSiKxtRYTds,24768
24
+ ngpt-2.16.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
25
+ ngpt-2.16.1.dist-info/entry_points.txt,sha256=SqAAvLhMrsEpkIr4YFRdUeyuXQ9o0IBCeYgE6AVojoI,44
26
+ ngpt-2.16.1.dist-info/licenses/LICENSE,sha256=mQkpWoADxbHqE0HRefYLJdm7OpdrXBr3vNv5bZ8w72M,1065
27
+ ngpt-2.16.1.dist-info/RECORD,,
File without changes