diff options
-rw-r--r-- | README.rst | 25 | ||||
-rw-r--r-- | setup.py | 2 |
2 files changed, 25 insertions, 2 deletions
@@ -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", {}) + ... @@ -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(), |