Skip to content

Commit f5f33ce

Browse files
authored
Merge pull request #18 from rekcurd/fix/rename-repository
Thank you @yuki-mt Merged!
2 parents 8d2c38d + 5cbb904 commit f5f33ce

25 files changed

Lines changed: 202 additions & 202 deletions

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[submodule "drucker_client/grpc"]
2-
path = drucker_client/grpc
3-
url = https://github.com/rekcurd/drucker-grpc-proto.git
1+
[submodule "rekcurd_client/grpc"]
2+
path = rekcurd_client/grpc
3+
url = https://github.com/rekcurd/grpc-proto.git
44
branch = master

CHANGELOG.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,76 @@
11
# Change Log
22

3-
## [v0.4.5](https://github.com/rekcurd/drucker-client/tree/v0.4.5) (2019-01-30)
4-
[Full Changelog](https://github.com/rekcurd/drucker-client/compare/v0.4.4...v0.4.5)
3+
## [v0.4.5](https://github.com/rekcurd/python-client/tree/v0.4.5) (2019-01-30)
4+
[Full Changelog](https://github.com/rekcurd/python-client/compare/v0.4.4...v0.4.5)
55

66
**Merged pull requests:**
77

8-
- Unittest py37 support [\#17](https://github.com/rekcurd/drucker-client/pull/17) ([keigohtr](https://github.com/keigohtr))
9-
- fix DummyApp in unittest [\#15](https://github.com/rekcurd/drucker-client/pull/15) ([yuki-mt](https://github.com/yuki-mt))
8+
- Unittest py37 support [\#17](https://github.com/rekcurd/python-client/pull/17) ([keigohtr](https://github.com/keigohtr))
9+
- fix DummyApp in unittest [\#15](https://github.com/rekcurd/python-client/pull/15) ([yuki-mt](https://github.com/yuki-mt))
1010

11-
## [v0.4.4](https://github.com/rekcurd/drucker-client/tree/v0.4.4) (2019-01-15)
12-
[Full Changelog](https://github.com/rekcurd/drucker-client/compare/v0.4.3...v0.4.4)
11+
## [v0.4.4](https://github.com/rekcurd/python-client/tree/v0.4.4) (2019-01-15)
12+
[Full Changelog](https://github.com/rekcurd/python-client/compare/v0.4.3...v0.4.4)
1313

1414
**Merged pull requests:**
1515

16-
- Add slack notification [\#13](https://github.com/rekcurd/drucker-client/pull/13) ([keigohtr](https://github.com/keigohtr))
16+
- Add slack notification [\#13](https://github.com/rekcurd/python-client/pull/13) ([keigohtr](https://github.com/keigohtr))
1717

18-
## [v0.4.3](https://github.com/rekcurd/drucker-client/tree/v0.4.3) (2018-12-26)
19-
[Full Changelog](https://github.com/rekcurd/drucker-client/compare/v0.4.2...v0.4.3)
18+
## [v0.4.3](https://github.com/rekcurd/python-client/tree/v0.4.3) (2018-12-26)
19+
[Full Changelog](https://github.com/rekcurd/python-client/compare/v0.4.2...v0.4.3)
2020

2121
**Merged pull requests:**
2222

23-
- Update README.md [\#12](https://github.com/rekcurd/drucker-client/pull/12) ([keigohtr](https://github.com/keigohtr))
24-
- Istio support [\#11](https://github.com/rekcurd/drucker-client/pull/11) ([keigohtr](https://github.com/keigohtr))
23+
- Update README.md [\#12](https://github.com/rekcurd/python-client/pull/12) ([keigohtr](https://github.com/keigohtr))
24+
- Istio support [\#11](https://github.com/rekcurd/python-client/pull/11) ([keigohtr](https://github.com/keigohtr))
2525

26-
## [v0.4.2](https://github.com/rekcurd/drucker-client/tree/v0.4.2) (2018-11-28)
27-
[Full Changelog](https://github.com/rekcurd/drucker-client/compare/v0.4.1...v0.4.2)
26+
## [v0.4.2](https://github.com/rekcurd/python-client/tree/v0.4.2) (2018-11-28)
27+
[Full Changelog](https://github.com/rekcurd/python-client/compare/v0.4.1...v0.4.2)
2828

29-
## [v0.4.1](https://github.com/rekcurd/drucker-client/tree/v0.4.1) (2018-11-20)
30-
[Full Changelog](https://github.com/rekcurd/drucker-client/compare/v0.4.0...v0.4.1)
29+
## [v0.4.1](https://github.com/rekcurd/python-client/tree/v0.4.1) (2018-11-20)
30+
[Full Changelog](https://github.com/rekcurd/python-client/compare/v0.4.0...v0.4.1)
3131

3232
**Merged pull requests:**
3333

34-
- Prepare for release v0.4.1 [\#9](https://github.com/rekcurd/drucker-client/pull/9) ([keigohtr](https://github.com/keigohtr))
34+
- Prepare for release v0.4.1 [\#9](https://github.com/rekcurd/python-client/pull/9) ([keigohtr](https://github.com/keigohtr))
3535

36-
## [v0.4.0](https://github.com/rekcurd/drucker-client/tree/v0.4.0) (2018-11-07)
37-
[Full Changelog](https://github.com/rekcurd/drucker-client/compare/v0.3.4...v0.4.0)
36+
## [v0.4.0](https://github.com/rekcurd/python-client/tree/v0.4.0) (2018-11-07)
37+
[Full Changelog](https://github.com/rekcurd/python-client/compare/v0.3.4...v0.4.0)
3838

3939
**Merged pull requests:**
4040

41-
- Add badge [\#8](https://github.com/rekcurd/drucker-client/pull/8) ([keigohtr](https://github.com/keigohtr))
42-
- Create CONTRIBUTING.md [\#7](https://github.com/rekcurd/drucker-client/pull/7) ([syleeeee](https://github.com/syleeeee))
43-
- Create CODE\_OF\_CONDUCT.md [\#6](https://github.com/rekcurd/drucker-client/pull/6) ([syleeeee](https://github.com/syleeeee))
44-
- Pipnize drucker client [\#5](https://github.com/rekcurd/drucker-client/pull/5) ([keigohtr](https://github.com/keigohtr))
41+
- Add badge [\#8](https://github.com/rekcurd/python-client/pull/8) ([keigohtr](https://github.com/keigohtr))
42+
- Create CONTRIBUTING.md [\#7](https://github.com/rekcurd/python-client/pull/7) ([syleeeee](https://github.com/syleeeee))
43+
- Create CODE\_OF\_CONDUCT.md [\#6](https://github.com/rekcurd/python-client/pull/6) ([syleeeee](https://github.com/syleeeee))
44+
- Pipnize drucker client [\#5](https://github.com/rekcurd/python-client/pull/5) ([keigohtr](https://github.com/keigohtr))
4545

46-
## [v0.3.4](https://github.com/rekcurd/drucker-client/tree/v0.3.4) (2018-10-03)
47-
[Full Changelog](https://github.com/rekcurd/drucker-client/compare/v0.3.3...v0.3.4)
46+
## [v0.3.4](https://github.com/rekcurd/python-client/tree/v0.3.4) (2018-10-03)
47+
[Full Changelog](https://github.com/rekcurd/python-client/compare/v0.3.3...v0.3.4)
4848

49-
## [v0.3.3](https://github.com/rekcurd/drucker-client/tree/v0.3.3) (2018-08-29)
50-
[Full Changelog](https://github.com/rekcurd/drucker-client/compare/v0.3.2...v0.3.3)
49+
## [v0.3.3](https://github.com/rekcurd/python-client/tree/v0.3.3) (2018-08-29)
50+
[Full Changelog](https://github.com/rekcurd/python-client/compare/v0.3.2...v0.3.3)
5151

5252
**Merged pull requests:**
5353

54-
- Refactor `sys.path.append` related code [\#3](https://github.com/rekcurd/drucker-client/pull/3) ([keigohtr](https://github.com/keigohtr))
54+
- Refactor `sys.path.append` related code [\#3](https://github.com/rekcurd/python-client/pull/3) ([keigohtr](https://github.com/keigohtr))
5555

56-
## [v0.3.2](https://github.com/rekcurd/drucker-client/tree/v0.3.2) (2018-08-22)
57-
[Full Changelog](https://github.com/rekcurd/drucker-client/compare/v0.3.1...v0.3.2)
56+
## [v0.3.2](https://github.com/rekcurd/python-client/tree/v0.3.2) (2018-08-22)
57+
[Full Changelog](https://github.com/rekcurd/python-client/compare/v0.3.1...v0.3.2)
5858

59-
## [v0.3.1](https://github.com/rekcurd/drucker-client/tree/v0.3.1) (2018-08-15)
60-
[Full Changelog](https://github.com/rekcurd/drucker-client/compare/v0.3.0...v0.3.1)
59+
## [v0.3.1](https://github.com/rekcurd/python-client/tree/v0.3.1) (2018-08-15)
60+
[Full Changelog](https://github.com/rekcurd/python-client/compare/v0.3.0...v0.3.1)
6161

6262
**Merged pull requests:**
6363

64-
- \[Hotfix\] Change code generator [\#2](https://github.com/rekcurd/drucker-client/pull/2) ([keigohtr](https://github.com/keigohtr))
64+
- \[Hotfix\] Change code generator [\#2](https://github.com/rekcurd/python-client/pull/2) ([keigohtr](https://github.com/keigohtr))
6565

66-
## [v0.3.0](https://github.com/rekcurd/drucker-client/tree/v0.3.0) (2018-08-08)
67-
[Full Changelog](https://github.com/rekcurd/drucker-client/compare/v0.2.0...v0.3.0)
66+
## [v0.3.0](https://github.com/rekcurd/python-client/tree/v0.3.0) (2018-08-08)
67+
[Full Changelog](https://github.com/rekcurd/python-client/compare/v0.2.0...v0.3.0)
6868

6969
**Merged pull requests:**
7070

71-
- Add version info to endpoint [\#1](https://github.com/rekcurd/drucker-client/pull/1) ([keigohtr](https://github.com/keigohtr))
71+
- Add version info to endpoint [\#1](https://github.com/rekcurd/python-client/pull/1) ([keigohtr](https://github.com/keigohtr))
7272

73-
## [v0.2.0](https://github.com/rekcurd/drucker-client/tree/v0.2.0) (2018-07-17)
73+
## [v0.2.0](https://github.com/rekcurd/python-client/tree/v0.2.0) (2018-07-17)
7474

7575

7676
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
## How to contribute to Drucker project
1+
## How to contribute to Rekcurd project
22

3-
First of all, thank you so much for taking your time to contribute! Drucker is not very different from any other open
3+
First of all, thank you so much for taking your time to contribute! Rekcurd is not very different from any other open
44
source projects you are aware of. It will be amazing if you could help us by doing any of the following:
55

6-
- File an issue in [the issue tracker](https://github.com/drucker/drucker-client/issues) to report bugs and propose new features and
6+
- File an issue in [the issue tracker](https://github.com/rekcurd/python-client/issues) to report bugs and propose new features and
77
improvements.
8-
- Ask a question by creating a new issue in [the issue tracker](https://github.com/drucker/drucker-client/issues).
9-
- Browse [the list of previously asked questions](https://github.com/drucker/drucker-client/issues?q=label%3Aquestion).
10-
- Contribute your work by sending [a pull request](https://github.com/drucker/drucker-client/pulls).
8+
- Ask a question by creating a new issue in [the issue tracker](https://github.com/rekcurd/python-client/issues).
9+
- Browse [the list of previously asked questions](https://github.com/rekcurd/python-client/issues?q=label%3Aquestion).
10+
- Contribute your work by sending [a pull request](https://github.com/rekcurd/python-client/pulls).
1111

1212
### Contributor license agreement
1313

1414
When you are sending a pull request and it's a non-trivial change beyond fixing typos, please sign
15-
[the ICLA (individual contributor license agreement)](https://cla-assistant.io/drucker/drucker). Please
15+
[the ICLA (individual contributor license agreement)](https://cla-assistant.io/rekcurd/python-client). Please
1616
[contact us](dl_oss_dev@linecorp.com) if you need the CCLA (corporate contributor license agreement).
1717

1818
### Code of conduct
1919

20-
We expect contributors to follow [our code of conduct](https://github.com/drucker/drucker-client/blob/master/CODE_OF_CONDUCT.md).
20+
We expect contributors to follow [our code of conduct](https://github.com/rekcurd/python-client/blob/master/CODE_OF_CONDUCT.md).

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
# rekcurd-client
22

3-
[![Build Status](https://travis-ci.com/rekcurd/drucker-client.svg?branch=master)](https://travis-ci.com/rekcurd/drucker-client)
3+
[![Build Status](https://travis-ci.com/rekcurd/python-client.svg?branch=master)](https://travis-ci.com/rekcurd/python-client)
44
[![PyPI version](https://badge.fury.io/py/rekcurd-client.svg)](https://badge.fury.io/py/rekcurd-client)
5-
[![codecov](https://codecov.io/gh/rekcurd/drucker-client/branch/master/graph/badge.svg)](https://codecov.io/gh/rekcurd/drucker-client "Non-generated packages only")
5+
[![codecov](https://codecov.io/gh/rekcurd/python-client/branch/master/graph/badge.svg)](https://codecov.io/gh/rekcurd/python-client "Non-generated packages only")
66
[![pypi supported versions](https://img.shields.io/pypi/pyversions/rekcurd-client.svg)](https://pypi.python.org/pypi/rekcurd-client)
77

88
Rekcurd client is the project for integrating ML module. Any Rekcurd service is connectable. It can connect the Rekcurd service on Kubernetes.
99

1010

1111
## Parent Project
12-
https://github.com/rekcurd/drucker-parent
12+
https://github.com/rekcurd/community
1313

1414

1515
## Components
16-
- [Rekcurd](https://github.com/rekcurd/drucker): Project for serving ML module.
17-
- [Rekcurd-dashboard](https://github.com/rekcurd/drucker-dashboard): Project for managing ML model and deploying ML module.
18-
- [Rekcurd-client](https://github.com/rekcurd/drucker-client) (here): Project for integrating ML module.
16+
- [Rekcurd](https://github.com/rekcurd/rekcurd-python): Project for serving ML module.
17+
- [Rekcurd-dashboard](https://github.com/rekcurd/dashboard): Project for managing ML model and deploying ML module.
18+
- [Rekcurd-client](https://github.com/rekcurd/python-client) (here): Project for integrating ML module.
1919

2020

2121
## Installation
2222
From source:
2323

2424
```
25-
git clone --recursive https://github.com/rekcurd/drucker-client.git
26-
cd drucker-client
25+
git clone --recursive https://github.com/rekcurd/python-client.git
26+
cd python-client
2727
python setup.py install
2828
```
2929

@@ -37,12 +37,12 @@ pip install rekcurd_client
3737
Example code is available [here](./example/sample.py).
3838

3939
```python
40-
from drucker_client import DruckerWorkerClient
41-
from drucker_client.logger import logger
40+
from rekcurd_client import RekcurdWorkerClient
41+
from rekcurd_client.logger import logger
4242

4343

4444
host = 'localhost:5000'
45-
client = DruckerWorkerClient(logger=logger, host=host)
45+
client = RekcurdWorkerClient(logger=logger, host=host)
4646

4747
input = [0,0,0,1,11,0,0,0,0,0,
4848
0,7,8,0,0,0,0,0,1,13,
@@ -57,14 +57,14 @@ response = client.run_predict_arrint_arrint(input)
5757
When you use Kubernetes and deploy Rekcurd service via Rekcurd dashboard, you can access your Rekcurd service like the below.
5858

5959
```python
60-
from drucker_client import DruckerWorkerClient
61-
from drucker_client.logger import logger
60+
from rekcurd_client import RekcurdWorkerClient
61+
from rekcurd_client.logger import logger
6262

6363

6464
domain = 'example.com'
65-
app = 'drucker-sample'
65+
app = 'rekcurd-sample'
6666
env = 'development'
67-
client = DruckerWorkerClient(logger=logger, domain=domain, app=app, env=env)
67+
client = RekcurdWorkerClient(logger=logger, domain=domain, app=app, env=env)
6868

6969
input = [0,0,0,1,11,0,0,0,0,0,
7070
0,7,8,0,0,0,0,0,1,13,
@@ -76,7 +76,7 @@ input = [0,0,0,1,11,0,0,0,0,0,
7676
response = client.run_predict_arrint_arrint(input)
7777
```
7878

79-
### DruckerWorkerClient
79+
### RekcurdWorkerClient
8080
You need to use an appropriate method for your Rekcurd service. The methods are generated according to the input and output formats. *V* is the length of feature vector. *M* is the number of classes. If your algorithm is a binary classifier, you set *M* to 1. If your algorithm is a multi-class classifier, you set *M* to the number of classes.
8181

8282
|method |input: data<BR>(required) |input: option |output: label<BR>(required) |output: score<BR>(required) |output: option |

drucker_client/grpc

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/sample.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
# -*- coding: utf-8 -*-
33

44

5-
from drucker_client import DruckerWorkerClient
6-
from drucker_client.logger import logger
5+
from rekcurd_client import RekcurdWorkerClient
6+
from rekcurd_client.logger import logger
77

88

99
host = 'localhost:5000'
10-
client = DruckerWorkerClient(logger=logger, host=host)
10+
client = RekcurdWorkerClient(logger=logger, host=host)
1111

1212
#domain = 'example.com'
13-
#app = 'drucker-sample'
13+
#app = 'rekcurd-sample'
1414
#env = 'development'
15-
#client = DruckerWorkerClient(logger=logger, domain=domain, app=app, env=env)
15+
#client = RekcurdWorkerClient(logger=logger, domain=domain, app=app, env=env)
1616

1717
input = [0,0,0,1,11,0,0,0,0,0,
1818
0,7,8,0,0,0,0,0,1,13,
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2018 The Drucker Authors.
1+
# Copyright 2018 The Rekcurd Authors.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -12,10 +12,10 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from drucker_client import _project
16-
from drucker_client import _version
15+
from rekcurd_client import _project
16+
from rekcurd_client import _version
1717

1818
__project__ = _project.__project__
1919
__version__ = _version.__version__
2020

21-
from .drucker_worker_client import DruckerWorkerClient
21+
from .rekcurd_worker_client import RekcurdWorkerClient

rekcurd_client/grpc

Submodule grpc added at 4fcb282

0 commit comments

Comments
 (0)