Skip to content

Commit a75f125

Browse files
committed
feat(python): 라이브러리 이름 변경
1 parent 4bca21f commit a75f125

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/ISSUE_TEMPLATE/python-버그-제보.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ assignees: hahnlee
2323
**환경:**
2424
- OS: [e.g. macOS]
2525
- Python 버전
26-
- hwppy 버전
26+
- libhwp 버전
2727
- 테스트한 아래아한글 문서 버전

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
44
Rust로 작성된 hwp파서와 각종 도구들
55

6-
[hwp-rs와 hwppy를 공개합니다](https://blog.hanlee/hwp-rs)
6+
[hwp-rs와 libhwp를 공개합니다](https://blog.hanlee/hwp-rs)
77

88

99
- [hwp-rs](./crates/hwp) Rust로 작성된 로우레벨 hwp 파서
10-
- [hwppy](./crates/python) Rust로 작성된 Python hwp 리더 라이브러리
10+
- [libhwp](./crates/python) Rust로 작성된 Python hwp 리더 라이브러리
1111
```python
12-
from hwppy import HWPReader
12+
from libhwp import HWPReader
1313

1414
hwp = HWPReader('<파일 경로>')
1515

crates/python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
publish = false
66

77
[lib]
8-
name = "hwppy"
8+
name = "libhwp"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]

crates/python/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# hwppy
1+
# libhwp
22
rust로 작성된 python hwp 리더 라이브러리
33

44
> 본 제품은 한글과컴퓨터의 한/글 문서 파일(.hwp) 공개 문서를 참고하여 개발하였습니다.
@@ -25,7 +25,7 @@ rust로 작성된 python hwp 리더 라이브러리
2525

2626
#
2727
```python
28-
from hwppy import HWPReader
28+
from libhwp import HWPReader
2929

3030
hwp = HWPReader('<파일 경로>')
3131

crates/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["maturin>=0.13,<0.14"]
33
build-backend = "maturin"
44

55
[project]
6-
name = "hwppy"
6+
name = "libhwp"
77
requires-python = ">=3.7"
88
classifiers = [
99
"Programming Language :: Rust",

crates/python/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl HWPReader {
6969
}
7070

7171
#[pymodule]
72-
fn hwppy(_: Python, module: &PyModule) -> PyResult<()> {
72+
fn libhwp(_: Python, module: &PyModule) -> PyResult<()> {
7373
module.add_class::<HWPReader>()?;
7474
module.add_class::<PyParagraph>()?;
7575
module.add_class::<PyFile>()?;

docs/development.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ cargo test
1818
cd crates/python
1919
maturin develop
2020
```
21-
이후 파이썬 인터프리터에서 `import hwppy`처럼 사용할 수 있습니다.
21+
이후 파이썬 인터프리터에서 `import libhwp`처럼 사용할 수 있습니다.
2222

2323
## 기능 추가
2424
새로운 기능이 필요하다면 아래 사항을 참고해주세요
2525

2626
### (hwp-rs) OS 의존적인 기능은 피해주세요
2727
hwp-rs의 잠정적 목표는 wasm 지원입니다. OS 의존적인 기능은 가급적 피해주세요.
2828

29-
python(hwppy)의 경우에는 괜찮습니다.
29+
python(libhwp)의 경우에는 괜찮습니다.
3030

3131
### 기능 추가 전 Issue 또는 Discussion을 만들어주세요.
3232
hwp-rs는 가능한 적은 기능을 유지하려고 합니다.

0 commit comments

Comments
 (0)