Skip to content

Commit 344d885

Browse files
Update files for SOLAPI Python 5.0.0 base
1 parent f9627c5 commit 344d885

79 files changed

Lines changed: 484 additions & 1877 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,38 @@
1-
.idea/
2-
venv/
1+
# Python
32
__pycache__/
4-
*.pyc
5-
config.ini
6-
*.real.py
3+
*.py[cod]
4+
*$py.class
5+
6+
# Poetry
7+
.venv/
8+
dist/
9+
10+
# IDE
11+
.vscode/
12+
.idea/
13+
14+
# 환경 변수
15+
.env
16+
17+
# 로그 파일
18+
*.log
19+
20+
# 운영체제 관련 파일
21+
.DS_Store
22+
Thumbs.db
23+
24+
# 테스트 관련
25+
.pytest_cache/
26+
.coverage
27+
28+
# 빌드 관련
29+
build/
30+
*.egg-info/
31+
32+
# 기타
33+
*.bak
34+
*.swp
35+
*.swo
36+
37+
# ruff
38+
.ruff_cache/

.ruff.toml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# 최대 줄 길이 설정
2+
line-length = 88
3+
# 들여쓰기 너비
4+
indent-width = 4
5+
# Python 버전 타겟 설정
6+
target-version = "py39"
7+
8+
[lint]
9+
# 기본적으로 Pyflakes(F)와 pycodestyle(E)의 일부 규칙 활성화
10+
select = ["E4", "E7", "E9", "F"]
11+
# 추가로 많이 사용되는 규칙들
12+
extend-select = [
13+
"B", # flake8-bugbear
14+
"I", # isort
15+
"UP", # pyupgrade
16+
"N", # pep8-naming
17+
]
18+
# 무시할 규칙
19+
ignore = []
20+
# 언더스코어로 시작하는 변수는 미사용 변수로 간주하지 않음
21+
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
22+
23+
[format]
24+
# 문자열에 큰따옴표 사용
25+
quote-style = "double"
26+
# 들여쓰기에 스페이스 사용
27+
indent-style = "space"
28+
# 마법의 후행 쉼표 존중
29+
skip-magic-trailing-comma = false
30+
# 자동으로 적절한 줄 끝 감지
31+
line-ending = "auto"

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
# Solapi SDK for Python
22

3-
[![Python 3.10.2](https://img.shields.io/badge/python-3.10.2-blue.svg)](https://www.python.org/downloads/release/python-3102/)
4-
![Python Supported version](https://img.shields.io/badge/python-%3E%3D3.7-orange)
5-
6-
### SOLAPI SDK 이용을 위해 아래 라이브러리 설치를 필요로 합니다.
7-
8-
- requests
9-
- configparser
10-
11-
### 예제 유형 별 참고사항
12-
13-
- 일반적인 사용예제는 examples/modules 폴더를 참고 해주세요.
14-
- python 인터프리터를 통해 한 파일 안에서 구동되는 예제들은 examples/scripts 폴더를 참고해주세요.
3+
[![Python 3.10.2](https://img.shields.io/badge/python-3.13.2-blue.svg)](https://www.python.org/downloads)
4+
![Python Supported version](https://img.shields.io/badge/python-%3E%3D3.11-orange)

examples/sms/sms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("test")

poetry.lock

Lines changed: 203 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[project]
2+
name = "solapi"
3+
version = "5.0.0"
4+
description = "SOLAPI SDK for Python"
5+
authors = [
6+
{ name = "SOLAPI Team", email = "contact@solapi.com" }
7+
]
8+
readme = "README.md"
9+
requires-python = ">=3.11"
10+
dependencies = [
11+
"requests (>=2.32.3,<3.0.0)"
12+
]
13+
14+
[tool.poetry]
15+
packages = [{ include = "solapi", from = "src" }]
16+
17+
[tool.poetry.group.dev.dependencies]
18+
ruff = "^0.9.10"
19+
20+
[build-system]
21+
requires = ["poetry-core>=2.0.0,<3.0.0"]
22+
build-backend = "poetry.core.masonry.api"

src/examples/modules/README.md

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/examples/modules/group/README.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/examples/modules/group/add_group_message.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/examples/modules/group/add_group_message_with_image.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)