Skip to content

Commit

Permalink
Initial public check-in and 1.0.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
codeofdusk committed Jun 12, 2023
0 parents commit 1e41845
Show file tree
Hide file tree
Showing 7 changed files with 3,285 additions and 0 deletions.
1,149 changes: 1,149 additions & 0 deletions COPYING.txt

Large diffs are not rendered by default.

655 changes: 655 additions & 0 deletions README.md

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "gptcmd"
authors = [
{ name="Bill Dengler", email="codeofdusk@gmail.com" },
]
description = "Chat with GPT in your terminal"
readme = "README.md"
requires-python = ">=3.7.1"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
]
dependencies = ["openai>=0.27.0"]
dynamic = ["version"]

[project.urls]
"Homepage" = "https://github.com/codeofdusk/gptcmd"
"Bug Tracker" = "https://github.com/codeofdusk/gptcmd/issues"

[project.scripts]
gptcmd = "gptcmd.cli:main"

[tool.setuptools.dynamic]
version = {attr = "gptcmd.cli.__version__"}

[tool.black]
line-length = 79
target-version = ['py37']
preview=true
8 changes: 8 additions & 0 deletions src/gptcmd/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from .cli import __version__, Gptcmd
from .message import (
APIParameterError,
CostEstimateUnavailableError,
Message,
MessageThread,
PopStickyMessageError,
)
Loading

0 comments on commit 1e41845

Please sign in to comment.