From 72fdf198f6f2f949ac60a6fae8eb03f800057422 Mon Sep 17 00:00:00 2001 From: KingDarBoja Date: Mon, 27 Jul 2020 18:44:25 -0500 Subject: [PATCH] chore: rename to graphql-server and bump version --- CONTRIBUTING.md | 8 ++++---- README.md | 5 ++--- docs/aiohttp.md | 2 +- docs/flask.md | 2 +- docs/sanic.md | 2 +- docs/webob.md | 2 +- graphql_server/__init__.py | 4 ++-- graphql_server/version.py | 2 +- setup.py | 6 +++--- 9 files changed, 16 insertions(+), 17 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c573f21..98f59f0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing -Thanks for helping to make graphql-server-core awesome! +Thanks for helping to make graphql-server awesome! We welcome all kinds of contributions: @@ -12,7 +12,7 @@ We welcome all kinds of contributions: ## Getting started -If you have a specific contribution in mind, be sure to check the [issues](https://github.com/graphql-python/graphql-server-core/issues) and [pull requests](https://github.com/graphql-python/graphql-server-core/pulls) in progress - someone could already be working on something similar and you can help out. +If you have a specific contribution in mind, be sure to check the [issues](https://github.com/graphql-python/graphql-server/issues) and [pull requests](https://github.com/graphql-python/graphql-server/pulls) in progress - someone could already be working on something similar and you can help out. ## Project setup @@ -22,7 +22,7 @@ If you have a specific contribution in mind, be sure to check the [issues](https After cloning this repo, create a virtualenv: ```console -virtualenv graphql-server-core-dev +virtualenv graphql-server-dev ``` Activate the virtualenv and install dependencies by running: @@ -57,7 +57,7 @@ And you ready to start development! After developing, the full test suite can be evaluated by running: ```sh -pytest tests --cov=graphql-server-core -vv +pytest tests --cov=graphql-server -vv ``` If you are using Linux or MacOS, you can make use of Makefile command diff --git a/README.md b/README.md index b73e72f..cba2e4b 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ -[![PyPI version](https://badge.fury.io/py/graphql-server-core.svg)](https://badge.fury.io/py/graphql-server-core) -[![Build Status](https://travis-ci.org/graphql-python/graphql-server-core.svg?branch=master)](https://travis-ci.org/graphql-python/graphql-server-core) -[![Coverage Status](https://codecov.io/gh/graphql-python/graphql-server-core/branch/master/graph/badge.svg)](https://codecov.io/gh/graphql-python/graphql-server-core) +[![PyPI version](https://badge.fury.io/py/graphql-server.svg)](https://badge.fury.io/py/graphql-server) +[![Coverage Status](https://codecov.io/gh/graphql-python/graphql-server/branch/master/graph/badge.svg)](https://codecov.io/gh/graphql-python/graphql-server) GraphQL-Server is a base library that serves as a helper for building GraphQL servers or integrations into existing web frameworks using diff --git a/docs/aiohttp.md b/docs/aiohttp.md index b99b78a..35f7fbf 100644 --- a/docs/aiohttp.md +++ b/docs/aiohttp.md @@ -6,7 +6,7 @@ Adds GraphQL support to your aiohttp application. To install the integration with aiohttp, run the below command on your terminal. -`pip install graphql-server-core[aiohttp]` +`pip install graphql-server[aiohttp]` ## Usage diff --git a/docs/flask.md b/docs/flask.md index bb66176..80bab4f 100644 --- a/docs/flask.md +++ b/docs/flask.md @@ -6,7 +6,7 @@ Adds GraphQL support to your Flask application. To install the integration with Flask, run the below command on your terminal. -`pip install graphql-server-core[flask]` +`pip install graphql-server[flask]` ## Usage diff --git a/docs/sanic.md b/docs/sanic.md index f7fd278..0b5ec35 100644 --- a/docs/sanic.md +++ b/docs/sanic.md @@ -6,7 +6,7 @@ Adds GraphQL support to your Sanic application. To install the integration with Sanic, run the below command on your terminal. -`pip install graphql-server-core[sanic]` +`pip install graphql-server[sanic]` ## Usage diff --git a/docs/webob.md b/docs/webob.md index afa7e8a..5203c2c 100644 --- a/docs/webob.md +++ b/docs/webob.md @@ -6,7 +6,7 @@ Adds GraphQL support to your WebOb (Pyramid, Pylons, ...) application. To install the integration with WebOb, run the below command on your terminal. -`pip install graphql-server-core[webob]` +`pip install graphql-server[webob]` ## Usage diff --git a/graphql_server/__init__.py b/graphql_server/__init__.py index 2148389..8942332 100644 --- a/graphql_server/__init__.py +++ b/graphql_server/__init__.py @@ -1,8 +1,8 @@ """ -GraphQL-Server-Core +GraphQL-Server =================== -GraphQL-Server-Core is a base library that serves as a helper +GraphQL-Server is a base library that serves as a helper for building GraphQL servers or integrations into existing web frameworks using [GraphQL-Core](https://github.com/graphql-python/graphql-core). """ diff --git a/graphql_server/version.py b/graphql_server/version.py index f985b4d..1eb6190 100644 --- a/graphql_server/version.py +++ b/graphql_server/version.py @@ -4,7 +4,7 @@ __all__ = ["version", "version_info"] -version = "2.0.0" +version = "3.0.0b1" _re_version = re.compile(r"(\d+)\.(\d+)\.(\d+)(\D*)(\d*)") diff --git a/setup.py b/setup.py index 72006bd..ea5ea65 100644 --- a/setup.py +++ b/setup.py @@ -52,13 +52,13 @@ readme = readme_file.read() setup( - name="graphql-server-core", + name="graphql-server", version=version, description="GraphQL Server tools for powering your server", long_description=readme, long_description_content_type="text/markdown", - url="https://github.com/graphql-python/graphql-server-core", - download_url="https://github.com/graphql-python/graphql-server-core/releases", + url="https://github.com/graphql-python/graphql-server", + download_url="https://github.com/graphql-python/graphql-server/releases", author="Syrus Akbary", author_email="me@syrusakbary.com", license="MIT",