Skip to content

Commit edcb984

Browse files
Initial oai-cli release
0 parents  commit edcb984

49 files changed

Lines changed: 3436 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Bug report
3+
about: Report a reproducible problem
4+
title: ""
5+
labels: bug
6+
assignees: ""
7+
---
8+
9+
## What happened?
10+
11+
## Expected behavior
12+
13+
## Reproduction
14+
15+
```bash
16+
17+
```
18+
19+
## Environment
20+
21+
- OS:
22+
- Python:
23+
- `oai-cli` version:
24+
- OpenAI SDK version:
25+
26+
## Notes
27+
28+
Do not include API keys or sensitive logs.

.github/pull_request_template.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Summary
2+
3+
-
4+
5+
## Verification
6+
7+
- [ ] `ruff check openai_py_cli tests`
8+
- [ ] `pytest`
9+
- [ ] `mypy openai_py_cli`
10+
11+
## Security
12+
13+
- [ ] No API keys, tokens, logs with secrets, or local config files committed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: ["3.10", "3.11", "3.12"]
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install
19+
run: |
20+
python -m pip install --upgrade pip
21+
python -m pip install -e ".[dev]"
22+
- name: Ruff
23+
run: ruff check openai_py_cli tests
24+
- name: Pytest
25+
run: pytest
26+
- name: Mypy
27+
run: mypy openai_py_cli

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.venv/
2+
__pycache__/
3+
*.py[cod]
4+
.pytest_cache/
5+
.ruff_cache/
6+
.mypy_cache/
7+
dist/
8+
build/
9+
*.egg-info/
10+
.DS_Store
11+
.env
12+
*.sqlite
13+
*.sqlite3
14+
keys*.csv
15+
*_key*.txt

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 openai-py contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)