From 49c472559ff73f6af436dc1af0240b982a8de078 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 18 Sep 2019 19:21:28 -0700 Subject: tweaks to fatcat-openapi-client python packaging --- python_openapi_client/README.md | 12 ++++++------ python_openapi_client/fatcat_openapi_client/__version__.py | 2 +- python_openapi_client/setup.py | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/python_openapi_client/README.md b/python_openapi_client/README.md index f2b4ead9..fdd7e84d 100644 --- a/python_openapi_client/README.md +++ b/python_openapi_client/README.md @@ -4,13 +4,13 @@ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 0.3.1 -- Package version: 1.0.0 +- Package version: 0.3.1 - Build package: io.swagger.codegen.languages.PythonClientCodegen For more information, please visit [https://fatcat.wiki](https://fatcat.wiki) ## Requirements. -Python 2.7 and 3.4+ +Python 2.7 and 3.5+ ## Installation & Usage ### pip install @@ -18,9 +18,9 @@ Python 2.7 and 3.4+ If the python package is hosted on Github, you can install directly from Github ```sh -pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git +pip install fatcat-openapi-client ``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) +(you may need to run `pip` with root permission: `sudo pip install fatcat-openapi-client`) Then import the package: ```python @@ -55,7 +55,7 @@ from pprint import pprint # Configure API key authorization: Bearer fatcat_openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# fatcat_openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer' +fatcat_openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer' # create an instance of the API class api_instance = fatcat_openapi_client.DefaultApi() editgroup_id = 'editgroup_id_example' # str | base32-encoded unique identifier @@ -222,5 +222,5 @@ Class | Method | HTTP request | Description ## Author -webservices@archive.org +Bryan Newbold diff --git a/python_openapi_client/fatcat_openapi_client/__version__.py b/python_openapi_client/fatcat_openapi_client/__version__.py index a85c1f92..0c7a00a9 100644 --- a/python_openapi_client/fatcat_openapi_client/__version__.py +++ b/python_openapi_client/fatcat_openapi_client/__version__.py @@ -1,3 +1,3 @@ -VERSION = (0, 3, 0) # eg, (0, 2, '0dev0') +VERSION = (0, 3, 1) # eg, (0, 2, '0dev0') __version__ = '.'.join(map(str, VERSION)) diff --git a/python_openapi_client/setup.py b/python_openapi_client/setup.py index a7809ab2..53b8e9de 100644 --- a/python_openapi_client/setup.py +++ b/python_openapi_client/setup.py @@ -20,7 +20,7 @@ DESCRIPTION = 'API client library for fatcat.wiki (a bibliographic catalog)' URL = 'https://github.com/internetarchive/fatcat' EMAIL = 'bnewbold@archive.org' AUTHOR = 'Bryan Newbold' -REQUIRES_PYTHON = '>=3.4.0' +REQUIRES_PYTHON = '>=3.5.0' VERSION = None LICENSE = "CC-0" @@ -105,7 +105,7 @@ setup( description=DESCRIPTION, long_description=long_description, long_description_content_type='text/markdown', - keywords=["Swagger", "fatcat"], + keywords=["fatcat", "OpenAPI"], author=AUTHOR, author_email=EMAIL, python_requires=REQUIRES_PYTHON, -- cgit v1.2.3