Skip to content

Commit

Permalink
Merge pull request #55 from mmacy/osr-cli-pkg
Browse files Browse the repository at this point in the history
init osrcli project
  • Loading branch information
mmacy committed Mar 11, 2024
2 parents dbfdd33 + fed491a commit f7d17ff
Show file tree
Hide file tree
Showing 7 changed files with 151 additions and 0 deletions.
1 change: 1 addition & 0 deletions osrcli/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12.1
3 changes: 3 additions & 0 deletions osrcli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# osrcli

Describe your project here.
30 changes: 30 additions & 0 deletions osrcli/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[project]
name = "osrcli"
version = "0.1.0"
description = "Add your description here"
authors = [
{ name = "Marsh Macy", email = "[email protected]" }
]
dependencies = [
"questionary>=2.0.1",
"osrlib @ file:///Users/mmacy/repos/osr-console/osrcli/../osrlib",
]
readme = "README.md"
requires-python = ">= 3.8"

[project.scripts]
"osrcli" = "osrcli:main"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.rye]
managed = true
dev-dependencies = []

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.build.targets.wheel]
packages = ["src/osrcli"]
55 changes: 55 additions & 0 deletions osrcli/requirements-dev.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# generated by rye
# use `rye lock` or `rye sync` to update this lockfile
#
# last locked with the following flags:
# pre: false
# features: []
# all-features: false
# with-sources: false

-e file:.
annotated-types==0.6.0
# via pydantic
anyio==4.3.0
# via httpx
# via openai
certifi==2024.2.2
# via httpcore
# via httpx
distro==1.9.0
# via openai
h11==0.14.0
# via httpcore
httpcore==1.0.4
# via httpx
httpx==0.27.0
# via openai
idna==3.6
# via anyio
# via httpx
openai==1.13.3
# via osrlib
osrlib @ file:///Users/mmacy/repos/osr-console/osrcli/../osrlib
# via osrcli
prompt-toolkit==3.0.36
# via questionary
pydantic==2.6.3
# via openai
pydantic-core==2.16.3
# via pydantic
questionary==2.0.1
# via osrcli
sniffio==1.3.1
# via anyio
# via httpx
# via openai
tinydb==4.8.0
# via osrlib
tqdm==4.66.2
# via openai
typing-extensions==4.10.0
# via openai
# via pydantic
# via pydantic-core
wcwidth==0.2.13
# via prompt-toolkit
55 changes: 55 additions & 0 deletions osrcli/requirements.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# generated by rye
# use `rye lock` or `rye sync` to update this lockfile
#
# last locked with the following flags:
# pre: false
# features: []
# all-features: false
# with-sources: false

-e file:.
annotated-types==0.6.0
# via pydantic
anyio==4.3.0
# via httpx
# via openai
certifi==2024.2.2
# via httpcore
# via httpx
distro==1.9.0
# via openai
h11==0.14.0
# via httpcore
httpcore==1.0.4
# via httpx
httpx==0.27.0
# via openai
idna==3.6
# via anyio
# via httpx
openai==1.13.3
# via osrlib
osrlib @ file:///Users/mmacy/repos/osr-console/osrcli/../osrlib
# via osrcli
prompt-toolkit==3.0.36
# via questionary
pydantic==2.6.3
# via openai
pydantic-core==2.16.3
# via pydantic
questionary==2.0.1
# via osrcli
sniffio==1.3.1
# via anyio
# via httpx
# via openai
tinydb==4.8.0
# via osrlib
tqdm==4.66.2
# via openai
typing-extensions==4.10.0
# via openai
# via pydantic
# via pydantic-core
wcwidth==0.2.13
# via prompt-toolkit
3 changes: 3 additions & 0 deletions osrcli/src/osrcli/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def main() -> int:
print("Hello from osrcli!")
return 0
4 changes: 4 additions & 0 deletions osrcli/src/osrcli/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import osrcli
import sys

sys.exit(osrcli.main())

0 comments on commit f7d17ff

Please sign in to comment.