summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-09-18 19:21:28 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-09-18 19:21:50 -0700
commit49c472559ff73f6af436dc1af0240b982a8de078 (patch)
tree136b0e48c28057d2e85a63d40866e42faa88da09
parent2e9194e0f2cf567ff719256fe80eb0d72b2434d7 (diff)
downloadfatcat-49c472559ff73f6af436dc1af0240b982a8de078.tar.gz
fatcat-49c472559ff73f6af436dc1af0240b982a8de078.zip
tweaks to fatcat-openapi-client python packaging
-rw-r--r--python_openapi_client/README.md12
-rw-r--r--python_openapi_client/fatcat_openapi_client/__version__.py2
-rw-r--r--python_openapi_client/setup.py4
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 <bnewbold@archive.org>
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,