Skip to content

Commit 0b76a81

Browse files
authored
Merge pull request #696 from bashtage/docs-0.8
DOC: Finish docs for 0.8pre
2 parents f78ea2e + 60a3889 commit 0b76a81

File tree

5 files changed

+71
-13
lines changed

5 files changed

+71
-13
lines changed

.travis.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ matrix:
2828
- python: 3.7
2929
env: TEST_TYPE="alpha_vantage" PANDAS=0.25 NUMPY=1.17
3030
- python: 3.7
31-
env: TEST_TYPE="not stable" PANDAS=0.25 NUMPY=1.17
31+
env: TEST_TYPE="not stable and not alpha_vantage and not quandl" PANDAS=0.25 NUMPY=1.17
3232
- python: 3.7
3333
env: PANDAS="MASTER" NUMPY=1.17
3434
allow_failures:
@@ -37,7 +37,7 @@ matrix:
3737
- python: 3.7
3838
env: TEST_TYPE="alpha_vantage" PANDAS=0.25 NUMPY=1.17
3939
- python: 3.7
40-
env: TEST_TYPE="not stable" PANDAS=0.25 NUMPY=1.17
40+
env: TEST_TYPE="not stable and not alpha_vantage and not quandl" PANDAS=0.25 NUMPY=1.17
4141

4242
install:
4343
- source ci/pypi-install.sh;
@@ -53,19 +53,21 @@ script:
5353
fi
5454
- flake8 --version
5555
- flake8 pandas_datareader
56-
57-
after_script:
5856
- |
5957
if [[ "$DOCBUILD" ]]; then
58+
set -e
6059
cd docs
61-
make html && make html
60+
make html
6261
cd ..
6362
doctr deploy devel --build-tags
6463
if [[ -z "$TRAVIS_TAG" ]]; then
6564
echo "Not a tagged build."
6665
else
67-
doctr deploy stable --build-tags
66+
doctr deploy . --build-tags
6867
fi
68+
set +e
6969
fi
70+
71+
after_script:
7072
- coveralls
7173
- codecov

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ Many functions from the data module have been included in the top level API.
4949
Documentation
5050
-------------
5151

52-
`Stable documentation <https://pydata.github.io/pandas-datareader/stable/>`__
52+
`Stable documentation <https://pydata.github.io/pandas-datareader/>`__
5353
is available on
54-
`github.io <https://pydata.github.io/pandas-datareader/stable/>`__.
54+
`github.io <https://pydata.github.io/pandas-datareader/>`__.
5555
A second copy of the stable documentation is hosted on
5656
`read the docs <https://pandas-datareader.readthedocs.io/>`_ for more details.
5757

ci/pypi-install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ else
1515
fi
1616

1717
if [[ "$DOCBUILD" ]]; then
18-
pip install sphinx ipython matplotlib sphinx_rtd_theme doctr
18+
pip install sphinx ipython matplotlib sphinx_rtd_theme doctr requests_cache
1919
fi

docs/contributors.py

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
"""
2+
Get a list of contributors between now and a start date
3+
"""
4+
5+
import datetime as dt
6+
import os
7+
8+
from github import Github
9+
10+
# or using an access token
11+
g = Github(os.environ.get("GITHUB_API_KEY"))
12+
13+
repo = g.get_repo("pydata/pandas-datareader")
14+
15+
start = dt.datetime(2018, 9, 12, 0, 0, 0)
16+
pulls = repo.get_pulls(state="closed", sort="updated", base="master", direction="desc")
17+
18+
users = set()
19+
for i, p in enumerate(pulls):
20+
print(f"{i}: {p.number}")
21+
if p.merged and p.merged_at >= start:
22+
users.update([p.user.name])
23+
if p.updated_at < start:
24+
break
25+
26+
contrib = sorted((c for c in users if c), key=lambda s: s.split(" ")[-1])
27+
28+
for c in contrib:
29+
print(f"- {c}")

docs/source/whatsnew/v0.8.0.txt

+31-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
.. _whatsnew_080:
22

33
v0.8.0 (TBD)
4-
---------------------------
4+
------------
55

66
Highlights include:
77

88
- A new connector for Econdb was introduced. Econdb provides
99
aggregated economic data from 90+ official statistical agencies
1010
(:issue:`615`)
1111
- Migrated IEX readers to `IEX Cloud <https://iexcloud.io>`__. All
12-
readers now require an API token (``IEX_API_KEY``)
12+
readers now require an API token (``IEX_API_KEY``) (:issue:`638`)
1313
- Removal of Google finance and Morningstar, which were deprecated in 0.7.0.
1414
- Immediate deprecation of Robinhood for quotes and historical data. Robinhood
1515
ended support for these endpoints in 1/2019
@@ -25,10 +25,12 @@ Highlights include:
2525
Enhancements
2626
~~~~~~~~~~~~
2727

28-
- Added Tiingo IEX Historical reader.
28+
- Added Tiingo IEX Historical reader. (:issue:`619`)
2929
- Added support for Alpha Vantage intraday time series prices (:issue: `631`)
3030
- Up to 15 years of historical prices from IEX with new platform, IEX Cloud
3131
- Added testing on Python 3.7 (:issue:`667`)
32+
- Allow IEX to read less than 1 year of data (:issue:`649`)
33+
- Allow data download from Poland using stooq (:issue:`597`)
3234

3335
.. _whatsnew_080.api_breaking:
3436

@@ -41,6 +43,7 @@ Backwards incompatible API changes
4143
- Usage of all IEX readers requires an IEX Cloud API token, which can
4244
be passed as a parameter or stored in the environment variable
4345
``IEX_API_TOKEN``
46+
- Deprecated ``access_key`` in favor of ``api_key`` in ``DataReader``. (:issue:`693`)
4447

4548
.. _whatsnew_080.bug_fixes:
4649

@@ -50,4 +53,28 @@ Bug Fixes
5053
- Fix Yahoo! actions issue where dividends are adjusted twice as a result of a
5154
change to the Yahoo! API. (:issue: `583`)
5255
- Fix AlphaVantage time series data ordering after provider switch to
53-
descending order (maintains ascending order for consistency) (:issue: `662`)
56+
descending order (maintains ascending order for consistency). (:issue: `662`)
57+
- Refactored compatibility library to be independent of pandas version.
58+
- Fixed quarter value handling in JSDMX and OECD. (:issue:`685`)
59+
- Fixed a bug in ``base`` so that the reader does not error when response.encoding
60+
is ``None``. (:issue:`674`)
61+
- Correct EcondbReader's API URL format. (:issue:`670`)
62+
- Fix eurostat URL. (:issue:`669`)
63+
- Adjust Alphavantage time series reader to account for descending ordering. (:issue:`666`)
64+
- Fix bug in downloading index historical constituents. (:issue:`591`)
65+
66+
Contributors
67+
~~~~~~~~~~~~
68+
- Peiji Chen
69+
- EconDB
70+
- Roger Erens
71+
- Nikhilesh Koshti
72+
- Gábor Lipták
73+
- Addison Lynch
74+
- Rahim Nathwani
75+
- Chuk Orakwue
76+
- Raffaele Sandrini
77+
- Felipe S. S. Schneider
78+
- Kevin Sheppard
79+
- Tony Shouse
80+
- David Stephens

0 commit comments

Comments
 (0)