Skip to content

Commit

Permalink
Update to API version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dojeda committed Oct 17, 2019
1 parent e987fb7 commit d9d4dc9
Show file tree
Hide file tree
Showing 33 changed files with 1,761 additions and 151 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -10,6 +10,11 @@ Until a first official version 1.0.0 is released, this project is considered in
a *beta* stage. Major.minor version numbers will follow the Quetzal API
version.

0.5.0 (2019-10-17)
------------------

* Update to API version 0.5.0.

0.3.1 (2019-09-17)
------------------

Expand Down
14 changes: 14 additions & 0 deletions GENERATE.md
Expand Up @@ -22,3 +22,17 @@ Auto-generation instructions
git tag -a vX.Y.Z -m "<Some meaningful tag message>"
git push --tags
```
6. (Optional) Build and push a new package to PyPI test first:

```
rm -rf dist
python setup.py sdist bdist_wheel
python -m twine upload --verbose --repository-url https://test.pypi.org/legacy/ dist/*
```

Then, after verifying that this worked correctly, upload to the real PyPI
servers:

```
python -m twine upload dist/*
```
32 changes: 11 additions & 21 deletions README.md
Expand Up @@ -3,8 +3,8 @@ Quetzal: an API to manage data files and their associated metadata.

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.3.0
- Package version: 0.3.1
- API version: 0.5.0
- Package version: 0.5.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://quetz.al](https://quetz.al)

Expand All @@ -15,39 +15,22 @@ Python 2.7 and 3.4+
## Installation & Usage
### pip install

If the python package is hosted on Github, you can install directly from Github
You can install directly with ``pip``:

```sh
pip install git+https://github.com/quetz-al/quetzal-openapi-client.git
pip install quetzal-openapi-client
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/quetz-al/quetzal-openapi-client.git`)

Then import the package:
```python
import quetzal.openapi_client
```

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)

Then import the package:
```python
import quetzal.openapi_client
```

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python
from __future__ import print_function
import time
import quetzal.openapi_client
from quetzal.openapi_client.rest import ApiException
from pprint import pprint
Expand Down Expand Up @@ -144,6 +127,13 @@ Class | Method | HTTP request | Description
## Documentation For Authorization


## apiKey

- **Type**: API key
- **API key parameter name**: X-API-KEY
- **Location**: HTTP header


## basic

- **Type**: HTTP basic authentication
Expand Down

0 comments on commit d9d4dc9

Please sign in to comment.