Skip to content

Commit 1e41845

Browse files
committed
Initial public check-in and 1.0.0 release.
0 parents  commit 1e41845

File tree

7 files changed

+3285
-0
lines changed

7 files changed

+3285
-0
lines changed

COPYING.txt

Lines changed: 1149 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 655 additions & 0 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "gptcmd"
7+
authors = [
8+
{ name="Bill Dengler", email="[email protected]" },
9+
]
10+
description = "Chat with GPT in your terminal"
11+
readme = "README.md"
12+
requires-python = ">=3.7.1"
13+
classifiers = [
14+
"Programming Language :: Python :: 3",
15+
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
16+
"Operating System :: OS Independent",
17+
]
18+
dependencies = ["openai>=0.27.0"]
19+
dynamic = ["version"]
20+
21+
[project.urls]
22+
"Homepage" = "https://github.com/codeofdusk/gptcmd"
23+
"Bug Tracker" = "https://github.com/codeofdusk/gptcmd/issues"
24+
25+
[project.scripts]
26+
gptcmd = "gptcmd.cli:main"
27+
28+
[tool.setuptools.dynamic]
29+
version = {attr = "gptcmd.cli.__version__"}
30+
31+
[tool.black]
32+
line-length = 79
33+
target-version = ['py37']
34+
preview=true

src/gptcmd/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from .cli import __version__, Gptcmd
2+
from .message import (
3+
APIParameterError,
4+
CostEstimateUnavailableError,
5+
Message,
6+
MessageThread,
7+
PopStickyMessageError,
8+
)

0 commit comments

Comments
 (0)