diff --git a/.travis.yml b/.travis.yml index b0b3777c..556c9763 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,7 @@ matrix: - python: 3.7 env: TEST_TYPE="alpha_vantage" PANDAS=0.25 NUMPY=1.17 - python: 3.7 - env: TEST_TYPE="not stable" PANDAS=0.25 NUMPY=1.17 + env: TEST_TYPE="not stable and not alpha_vantage and not quandl" PANDAS=0.25 NUMPY=1.17 - python: 3.7 env: PANDAS="MASTER" NUMPY=1.17 allow_failures: @@ -37,7 +37,7 @@ matrix: - python: 3.7 env: TEST_TYPE="alpha_vantage" PANDAS=0.25 NUMPY=1.17 - python: 3.7 - env: TEST_TYPE="not stable" PANDAS=0.25 NUMPY=1.17 + env: TEST_TYPE="not stable and not alpha_vantage and not quandl" PANDAS=0.25 NUMPY=1.17 install: - source ci/pypi-install.sh; @@ -53,19 +53,21 @@ script: fi - flake8 --version - flake8 pandas_datareader - -after_script: - | if [[ "$DOCBUILD" ]]; then + set -e cd docs - make html && make html + make html cd .. doctr deploy devel --build-tags if [[ -z "$TRAVIS_TAG" ]]; then echo "Not a tagged build." else - doctr deploy stable --build-tags + doctr deploy . --build-tags fi + set +e fi + +after_script: - coveralls - codecov diff --git a/README.rst b/README.rst index 61d2a102..0ea9e86f 100644 --- a/README.rst +++ b/README.rst @@ -49,9 +49,9 @@ Many functions from the data module have been included in the top level API. Documentation ------------- -`Stable documentation `__ +`Stable documentation `__ is available on -`github.io `__. +`github.io `__. A second copy of the stable documentation is hosted on `read the docs `_ for more details. diff --git a/ci/pypi-install.sh b/ci/pypi-install.sh index 85976691..d20b13ce 100644 --- a/ci/pypi-install.sh +++ b/ci/pypi-install.sh @@ -15,5 +15,5 @@ else fi if [[ "$DOCBUILD" ]]; then - pip install sphinx ipython matplotlib sphinx_rtd_theme doctr + pip install sphinx ipython matplotlib sphinx_rtd_theme doctr requests_cache fi diff --git a/docs/contributors.py b/docs/contributors.py new file mode 100644 index 00000000..a32dd75d --- /dev/null +++ b/docs/contributors.py @@ -0,0 +1,29 @@ +""" +Get a list of contributors between now and a start date +""" + +import datetime as dt +import os + +from github import Github + +# or using an access token +g = Github(os.environ.get("GITHUB_API_KEY")) + +repo = g.get_repo("pydata/pandas-datareader") + +start = dt.datetime(2018, 9, 12, 0, 0, 0) +pulls = repo.get_pulls(state="closed", sort="updated", base="master", direction="desc") + +users = set() +for i, p in enumerate(pulls): + print(f"{i}: {p.number}") + if p.merged and p.merged_at >= start: + users.update([p.user.name]) + if p.updated_at < start: + break + +contrib = sorted((c for c in users if c), key=lambda s: s.split(" ")[-1]) + +for c in contrib: + print(f"- {c}") diff --git a/docs/source/whatsnew/v0.8.0.txt b/docs/source/whatsnew/v0.8.0.txt index e781c81a..fdfa02af 100644 --- a/docs/source/whatsnew/v0.8.0.txt +++ b/docs/source/whatsnew/v0.8.0.txt @@ -1,7 +1,7 @@ .. _whatsnew_080: v0.8.0 (TBD) ---------------------------- +------------ Highlights include: @@ -9,7 +9,7 @@ Highlights include: aggregated economic data from 90+ official statistical agencies (:issue:`615`) - Migrated IEX readers to `IEX Cloud `__. All - readers now require an API token (``IEX_API_KEY``) + readers now require an API token (``IEX_API_KEY``) (:issue:`638`) - Removal of Google finance and Morningstar, which were deprecated in 0.7.0. - Immediate deprecation of Robinhood for quotes and historical data. Robinhood ended support for these endpoints in 1/2019 @@ -25,10 +25,12 @@ Highlights include: Enhancements ~~~~~~~~~~~~ -- Added Tiingo IEX Historical reader. +- Added Tiingo IEX Historical reader. (:issue:`619`) - Added support for Alpha Vantage intraday time series prices (:issue: `631`) - Up to 15 years of historical prices from IEX with new platform, IEX Cloud - Added testing on Python 3.7 (:issue:`667`) +- Allow IEX to read less than 1 year of data (:issue:`649`) +- Allow data download from Poland using stooq (:issue:`597`) .. _whatsnew_080.api_breaking: @@ -41,6 +43,7 @@ Backwards incompatible API changes - Usage of all IEX readers requires an IEX Cloud API token, which can be passed as a parameter or stored in the environment variable ``IEX_API_TOKEN`` +- Deprecated ``access_key`` in favor of ``api_key`` in ``DataReader``. (:issue:`693`) .. _whatsnew_080.bug_fixes: @@ -50,4 +53,28 @@ Bug Fixes - Fix Yahoo! actions issue where dividends are adjusted twice as a result of a change to the Yahoo! API. (:issue: `583`) - Fix AlphaVantage time series data ordering after provider switch to - descending order (maintains ascending order for consistency) (:issue: `662`) + descending order (maintains ascending order for consistency). (:issue: `662`) +- Refactored compatibility library to be independent of pandas version. +- Fixed quarter value handling in JSDMX and OECD. (:issue:`685`) +- Fixed a bug in ``base`` so that the reader does not error when response.encoding + is ``None``. (:issue:`674`) +- Correct EcondbReader's API URL format. (:issue:`670`) +- Fix eurostat URL. (:issue:`669`) +- Adjust Alphavantage time series reader to account for descending ordering. (:issue:`666`) +- Fix bug in downloading index historical constituents. (:issue:`591`) + +Contributors +~~~~~~~~~~~~ +- Peiji Chen +- EconDB +- Roger Erens +- Nikhilesh Koshti +- Gábor Lipták +- Addison Lynch +- Rahim Nathwani +- Chuk Orakwue +- Raffaele Sandrini +- Felipe S. S. Schneider +- Kevin Sheppard +- Tony Shouse +- David Stephens