|
| 1 | +# Cloudant Python Client |
| 2 | + |
| 3 | +[](https://travis-ci.org/cloudant/python-cloudant) |
| 4 | +[](http://python-cloudant.readthedocs.io) |
| 5 | +[](http://python-cloudant.readthedocs.io/en/latest/compatibility.html) |
| 6 | +[](https://pypi.python.org/pypi/cloudant) |
| 7 | + |
| 8 | +This is the official Cloudant library for Python. |
| 9 | + |
| 10 | +* [Installation and Usage](#installation-and-usage) |
| 11 | +* [Getting Started](#getting-started) |
| 12 | +* [API Reference](http://python-cloudant.readthedocs.io/en/latest/cloudant.html) |
| 13 | +* [Related Documentation](#related-documentation) |
| 14 | +* [Development](#development) |
| 15 | + * [Contributing](CONTRIBUTING.rst) |
| 16 | + * [Test Suite](CONTRIBUTING.rst#running-the-tests) |
| 17 | + * [Using in Other Projects](#using-in-other-projects) |
| 18 | + * [License](#license) |
| 19 | + * [Issues](#issues) |
| 20 | + |
| 21 | +## Installation and Usage |
| 22 | + |
| 23 | + |
| 24 | +Released versions of this library are [hosted on PyPI](https://pypi.python.org/pypi/cloudant) and can be installed with `pip`. |
| 25 | + |
| 26 | +In order to install the latest version, execute |
| 27 | + |
| 28 | + pip install cloudant |
| 29 | + |
| 30 | +## Getting started |
| 31 | + |
| 32 | +See [Getting started (readthedocs.io)](http://python-cloudant.readthedocs.io/en/latest/getting_started.html) |
| 33 | + |
| 34 | +## API Reference |
| 35 | + |
| 36 | +See [API reference docs (readthedocs.io)](http://python-cloudant.readthedocs.io/en/latest/cloudant.html) |
| 37 | + |
| 38 | +## Related Documentation |
| 39 | + |
| 40 | +* [Cloudant Python client library docs (readthedocs.io)](http://python-cloudant.readthedocs.io) |
| 41 | +* [Cloudant documentation](https://console.bluemix.net/docs/services/Cloudant/cloudant.html#overview) |
| 42 | +* [Cloudant Learning Center](https://developer.ibm.com/clouddataservices/cloudant-learning-center/) |
| 43 | +* [Tutorial for creating and populating a database on IBM Cloud](https://console.bluemix.net/docs/services/Cloudant/tutorials/create_database.html#creating-and-populating-a-simple-cloudant-nosql-db-database-on-ibm-cloud) |
| 44 | + |
| 45 | +## Development |
| 46 | + |
| 47 | +See [CONTRIBUTING.rst](https://github.com/cloudant/python-cloudant/blob/master/CONTRIBUTING.rst) |
| 48 | + |
| 49 | +## Using in other projects |
| 50 | + |
| 51 | +The preferred approach for using `python-cloudant` in other projects is to use the PyPI as described above. |
| 52 | + |
| 53 | +### Examples in open source projects |
| 54 | + |
| 55 | +[Getting Started with Python Flask on IBM Cloud](https://github.com/IBM-Cloud/get-started-python) |
| 56 | + |
| 57 | +[Movie Recommender Demo](https://github.com/snowch/movie-recommender-demo): |
| 58 | +- [Update and check if documents exist](https://github.com/snowch/movie-recommender-demo/blob/master/web_app/app/dao.py#L162-L168) |
| 59 | +- [Connect to Cloudant using 429 backoff with 10 retries](https://github.com/snowch/movie-recommender-demo/blob/master/web_app/app/cloudant_db.py#L17-L18) |
| 60 | + |
| 61 | +[Watson Recipe Bot](https://github.com/ibm-watson-data-lab/watson-recipe-bot-python-cloudant): |
| 62 | +- [Use Cloudant Query to find design docs](https://github.com/ibm-watson-data-lab/watson-recipe-bot-python-cloudant/blob/master/souschef/cloudant_recipe_store.py#L33-L77) |
| 63 | + |
| 64 | +## License |
| 65 | + |
| 66 | +Copyright © 2015 IBM. All rights reserved. |
| 67 | + |
| 68 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 69 | +you may not use this file except in compliance with the License. |
| 70 | +You may obtain a copy of the License at |
| 71 | + |
| 72 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 73 | + |
| 74 | +Unless required by applicable law or agreed to in writing, software |
| 75 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 76 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 77 | +See the License for the specific language governing permissions and |
| 78 | +limitations under the License. |
| 79 | + |
| 80 | +## Issues |
| 81 | + |
| 82 | +Before opening a new issue please consider the following: |
| 83 | +* Only the latest release is supported. If at all possible please try to reproduce the issue using |
| 84 | +the latest version. |
| 85 | +* Please check the [existing issues](https://github.com/cloudant/python-cloudant/issues) |
| 86 | +to see if the problem has already been reported. Note that the default search |
| 87 | +includes only open issues, but it may already have been closed. |
| 88 | +* Cloudant customers should contact Cloudant support for urgent issues. |
| 89 | +* When opening a new issue [here in github](../../issues) please complete the template fully. |
0 commit comments