KoNLPy-gRPC
Redesigned KoNLPy (Wrapper) for Usability and Portability with gRPC.
Requirements:
pip install poetry
pip install -r $(python manage.py requirements.txt) -r $(python manage.py requirements-dev.txt)
gRPC Compile needed!
python -m grpc_tools.protoc -I protos/ --python_out=konlpy_grpc/_generated/ --grpc_python_out=konlpy_grpc/_generated/ protos/*.proto
Server
python -m pip install konlpy
python -m konlpy_grpc server
python -m konlpy_grpc hannanum_server
python -m konlpy_grpc kkma_server
python -m konlpy_grpc komoran_server
python -m konlpy_grpc mecab_server
python -m konlpy_grpc okt_server
Tests
python -m pytest
python -m pytest --grpc-fake-server
python -m pytest --grpc-real-server=[::]:50051
python -m pytest --konlpy-repo=../konlpy
Release
rm -rf dist/
poetry publish --build -r test
poetry run twine upload --repository-url https://test.pypi.org/legacy/ dist/*
TODO
- [P0] client.py will be a konlpy-alike module.
- [P0] KoNLPy monkey-patcher
- [P1] Packaging with Poetry
pyproject.toml.- PyPI Register
- Find lowerbound-version of requirements.
- [P1] gRPC Proto Compile
- [P1] In-house tool:
manage.py
- [P1] KoNLPy Version Matching (set minimum) and Follow-up
- [P1] gRPC retry/timeout/error_handling logic
- [P1] gRPC reflection
- [P1] gRPC heartbeat
- [P1] gRPC Gateway (gRPC to JSON)
- [P2] Dockerize / Register
- k8s and istio?
- [P2] CI
- [P3] Button for deploying this to AWS/GCS/Azure now! (and connect by README.)
- [P3] CustomDic?
- [P3] Stream I/O
- [P3] Redesign tests/ with grpc-testing
- [P4] Java Edition for KoNLPy-gRPC-Server
- gRPC protos deploy/versioning
Additional Links
- KoNLPy/KoNLPy
- Pruned KoNLPy v0.5.2-rc.1
- Currently, servers rely on KoNLPy v0.5.2 version.
License
GNU GPLv3
Metadata
Release files for konlpy-grpc 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| konlpy_grpc-0.1.0.tar.gz | 24.8 kB | Without provenance | Details for konlpy_grpc-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| konlpy_grpc-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for konlpy_grpc-0.1.0-py3-none-any.whl |
Total release size: 63.4 kB
Release files / konlpy_grpc-0.1.0.tar.gz
| Download URL | konlpy_grpc-0.1.0.tar.gz |
|---|---|
| Size | 24.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af7980100463712d73309cb1809757bf691ba2ed9ca7b10576a049c4ddee8ce5
|
|
BLAKE2b-256 checksum How to use checksums |
8cc972977e784acf03a2cecb7affed33d11d6df285809bcbe40dd5d80614232c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.4 Darwin/19.0.0
|
Release files / konlpy_grpc-0.1.0-py3-none-any.whl
| Download URL | konlpy_grpc-0.1.0-py3-none-any.whl |
|---|---|
| Size | 38.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db41c355140b71258a432b32c4022cb42e0d59d5d75dac8a16ea274f0d47c25c
|
|
BLAKE2b-256 checksum How to use checksums |
63e46dccd7ce43bb98624c961d1e3e5b8e0a24ff5d9d629afaeda7d22f9ff51c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.4 Darwin/19.0.0
|
Security for konlpy-grpc 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.