From 97385c7b72e2e7fd2d7d61fb9a381f4b4c2744c7 Mon Sep 17 00:00:00 2001 From: Alessandro Amici Date: Thu, 10 May 2018 17:13:34 +0200 Subject: Minimal and untested README.rst. --- README.rst | 25 ++++++++++++++++++++++++- setup.py | 2 +- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 0db68d7..0be3bba 100644 --- a/README.rst +++ b/README.rst @@ -1 +1,24 @@ -Todo + +Install +------- + +Install via `pip` with:: + + $ pip install cdsapi + + +Configure +--------- + +Get your API key from the CDS portal and write it into the configuration file:: + + $ vim ~/.cdsapi + +Test +---- + + $ python + >>> import cdsapi + >>> cds = cdsapi.Client() + >>> cds.get_resource("insitu-glaciers-extent", {}) + ... diff --git a/setup.py b/setup.py index d6cf052..578ee59 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setuptools.setup( author='ECMWF', author_email='software@ecmwf.int', license='Apache 2.0', - url='https://software.ecmwf.int/stash/projects/CST/repos/cdscompute', + url='https://software.ecmwf.int/stash/projects/CST/repos/cdsapi', description="Climate Data Store API", long_description=read('README.rst'), packages=setuptools.find_packages(), -- cgit v1.2.3