Catalog PyPI
Back to packageRELEASE DETAILS

1.0.3

PyPI

advanced-askai

askai questions on the command line

template-python-cmd
Published2 Jun 2026
Direct dependencies6
Transitive dependenciesNot calculated

README

Version 1.0.3 documentation

advanced-askai

Linting

MacOS_Tests Ubuntu_Tests Win_Tests

This package allows you to have a chat conversation with AI right from your terminal.

Results are streamed to the console.

It has api bindings to allow programatic access and can be used for other tools.

The api key is stored using the secure keyring package. Right now we only support OpenAI's chatbot, but in the future I hope to include support for anthropics.

The only stable api in this package is located at advanced_askai.api

Binding to any other module in this library is subject to break.

Help

usage: Ask OpenAI for help with code

positional arguments:
  prompt                Prompt to ask OpenAI

options:
  -h, --help            show this help message and exit
  --input-file INPUT_FILE
                        Input file containing prompts
  --json                Print response as json
  --set-key SET_KEY     Set OpenAI key
  --output OUTPUT       Output file
  --advanced            bleeding edge model: gpt-4o
  --model MODEL
  --verbose
  --no-stream
  --assistant-prompt ASSISTANT_PROMPT
  --assistant-prompt-file ASSISTANT_PROMPT_FILE
                        File containing assistant prompt
  --max-tokens MAX_TOKENS
                        Max tokens to return
  --code                Code mode: enables aider mode
  --check               Sends the response back to the chatbot for a second opinion

See advanced_askai.api.*

Develope

To develop software, run . ./activate.sh

Windows

This environment requires you to use git-bash.

Linting

Run ./lint.sh to find linting errors using pylint, flake8 and mypy.

Releases

  • 1.0.3 - Treat interactive exit case-insensitively.
  • 1.0.2 - Fixes openai dependency break: openai>=1.3.7,<=1.55.3
  • 1.0.1 - If the max tokens goes negative, just set it to 16000.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 6

Native requirements
6 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
json5
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
json5runtime
tiktoken
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
tiktoken>=0.7.0runtime
openai
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
openai<=1.55.3,>=1.3.7runtime
appdirs
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
appdirsruntime
consolemd
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
consolemdruntime
keyring
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
keyringruntime

Distribution files

1 collected
advanced_askai-1.0.3-py3-none-any.whl

bdist_wheel · 15.39 KB · Python py3

Source file

Repository

PENDING
zackees/askai

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:57 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:45f86d209689787a0e083614ae0bbbe09cff2e0f3baa0dbc35f564dbe0bc339f

Other collected versions

View all collected versions →