Rename to avoid name clash

This commit is contained in:
Luke Murphy 2020-08-09 04:05:14 +02:00
parent 1f61e86cba
commit 7bc28206a8
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
5 changed files with 13 additions and 14 deletions

View File

@ -1,3 +1,3 @@
# hrpc 0.0.1a1 (UNRELEASED) # hyper-rpc 0.0.1a1 (UNRELEASED)
- The first alpha development release is made! - The first alpha development release is made!

View File

@ -1,13 +1,13 @@
# hrpc # hyper-rpc
[![Build Status](https://drone.autonomic.zone/api/badges/hyperpy/hrpc/status.svg)](https://drone.autonomic.zone/hyperpy/hrpc) [![Build Status](https://drone.autonomic.zone/api/badges/hyperpy/hyper-rpc/status.svg)](https://drone.autonomic.zone/hyperpy/hyper-rpc)
## Simple RPC with Protobuf Services ## Simple RPC with Protobuf Services
## Install ## Install
```sh ```sh
$ pip install hrpc $ pip install hyper-rpc
``` ```
## Example ## Example
@ -35,10 +35,10 @@ message HelloReply {
} }
``` ```
Then generate the services and stubs with `hrpc`. Then generate the services and stubs with `hyper-rpc`.
```sh ```sh
$ pip install hrpc $ pip install hyper-rpc
$ hrpc greeter.proto $ hrpc greeter.proto
``` ```

View File

@ -3,14 +3,14 @@ requires = ["poetry>=1.0.9,<2.0"]
build-backend = "poetry.masonry.api" build-backend = "poetry.masonry.api"
[tool.poetry] [tool.poetry]
name = "hrpc" name = "hyper-rpc"
version = "0.0.1a1" version = "0.0.1a1"
description = "Simple RPC with Protobuf Services" description = "Simple RPC with Protobuf Services"
authors = ["decentral1se <hi@decentral1.se>"] authors = ["decentral1se <hi@decentral1.se>"]
maintainers = ["decentral1se <hi@decentral1.se>"] maintainers = ["decentral1se <hi@decentral1.se>"]
license = "GPLv3" license = "GPLv3"
readme = "README.md" readme = "README.md"
repository = "https://github.com/hyperpy/hrpc" repository = "https://github.com/hyperpy/hyper-rpc"
keywords = [] keywords = []
[tool.poetry.dependencies] [tool.poetry.dependencies]
@ -30,8 +30,7 @@ include = '\.pyi?$'
[tool.isort] [tool.isort]
include_trailing_comma = true include_trailing_comma = true
known_first_party = "hrpc" known_first_party = "hyper_rpc"
known_third_party = "pytest"
line_length = 80 line_length = 80
multi_line_output = 3 multi_line_output = 3
skip = ".tox" skip = ".tox"
@ -55,20 +54,20 @@ isolated_build = True
[testenv:lint] [testenv:lint]
skipdist = True skipdist = True
deps = flake8 deps = flake8
commands = flake8 {posargs:--max-line-length 80} hrpc/ commands = flake8 {posargs:--max-line-length 80} hyper_rpc/
[testenv:sort] [testenv:sort]
skipdist = True skipdist = True
deps = isort deps = isort
commands = isort {posargs:-c} hrpc/ commands = isort {posargs:-c} hyper_rpc/
[testenv:format] [testenv:format]
skipdist = True skipdist = True
deps = black deps = black
commands = black {posargs:--check} hrpc/ commands = black {posargs:--check} hyper_rpc/
[testenv:type] [testenv:type]
skipdist = True skipdist = True
deps = mypy deps = mypy
commands = mypy {posargs:--ignore-missing-imports} hrpc/ commands = mypy {posargs:--ignore-missing-imports} hyper_rpc/
""" """