Skip to content

Commit

Permalink
Merge pull request #199 from alvarobartt/developer
Browse files Browse the repository at this point in the history
merge developer branch into master branch so as to release 1.0 version
  • Loading branch information
Álvaro Bartolomé authored Aug 9, 2020
2 parents 865d530 + c00e8af commit 746778b
Show file tree
Hide file tree
Showing 100 changed files with 2,697 additions and 2,854 deletions.
12 changes: 0 additions & 12 deletions .github/FUNDING.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:

runs-on: ubuntu-latest
strategy:
max-parallel: 3
max-parallel: 4
matrix:
python-version: [3.5, 3.6, 3.7]
python-version: [3.5, 3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"

dist: xenial

install:
- pip install -r requirements.txt
- pip install investpy==0.9.9
- pip install pytest==5.1.0
- pip install codecov==2.0.15
- pip install pytest-cov==2.7.1
Expand Down
12 changes: 3 additions & 9 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
include README.md
include investpy/resources/*
include investpy/resources/bonds/*
include investpy/resources/certificates/*
include investpy/resources/commodities/*
include investpy/resources/crypto/*
include investpy/resources/currency_crosses/*
include investpy/resources/etfs/*
include investpy/resources/funds/*
include investpy/resources/indices/*
include investpy/resources/stocks/*
include requirements.txt
include docs/requirements.txt
include tests/requirements.txt
222 changes: 84 additions & 138 deletions README.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ strategy:
python.version: '3.6'
Python37:
python.version: '3.7'
Python38:
python.version: '3.8'

steps:
- task: UsePythonVersion@0
Expand Down
Binary file modified docs/_build/doctrees/api.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/disclaimer.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/etfs_api.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/funds_api.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/information.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/installation.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/introduction.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/main_api.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_build/html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Welcome to investpy's documentation!
====================================

.. image:: https://raw.githubusercontent.com/alvarob96/investpy/master/docs/investpy_logo.png
.. image:: https://raw.githubusercontent.com/alvarobartt/investpy/master/docs/investpy_logo.png
:align: center

.. toctree::
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/_sources/information.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Additional Information
======================

As this is an open source project it is open to contributions, bug reports, bug fixes, documentation improvements,
enhancements and ideas. On Github you can find an open tab of `issues <https://github.com/alvarob96/investpy/issues/>`_
enhancements and ideas. On Github you can find an open tab of `issues <https://github.com/alvarobartt/investpy/issues/>`_
where you can contribute by opening new issues if needed or contribute to its solving.

Additionally, you can triage issues on `investpy Code Triage <https://www.codetriage.com/alvarob96/investpy>`_ where
Additionally, you can triage issues on `investpy Code Triage <https://www.codetriage.com/alvarobartt/investpy>`_ where
you can both open and solve issues so the package can grow and improve faster as the issues solve relevant bugs,
problems or needs of the package.

Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/_sources/installation.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Cloud, respectively. So, to install the latest release of `investpy <https://pyp

* from GitHub via PyPI::

$ python -m pip install https://github.com/alvarob96/investpy/archive/master.zip
$ python -m pip install https://github.com/alvarobartt/investpy/archive/master.zip


Update Package
Expand All @@ -43,7 +43,7 @@ If you already had `investpy <https://pypi.org/project/investpy/>`_ installed an

* from GitHub via PyPi::

$ python -m pip install --upgrade https://github.com/alvarob96/investpy/archive/master.zip
$ python -m pip install --upgrade https://github.com/alvarobartt/investpy/archive/master.zip

All the dependencies are already listed on the setup file of the package, but to sum them up, when installing
`investpy <https://pypi.org/project/investpy/>`_, it will install the following dependencies:
Expand Down
6 changes: 5 additions & 1 deletion docs/_build/html/_static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
* :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down Expand Up @@ -672,6 +672,10 @@ div.code-block-caption + div > div.highlight > pre {
margin-top: 0;
}

div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
user-select: none;
}

div.code-block-caption span.caption-number {
padding: 0.1em 0.3em;
font-style: italic;
Expand Down
7 changes: 4 additions & 3 deletions docs/_build/html/_static/doctools.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilities for all documentation.
*
* :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down Expand Up @@ -283,10 +283,11 @@ var Documentation = {
},

initOnKeyListeners: function() {
$(document).keyup(function(event) {
$(document).keydown(function(event) {
var activeElementType = document.activeElement.tagName;
// don't navigate when in search box or textarea
if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') {
if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT'
&& !event.altKey && !event.ctrlKey && !event.metaKey && !event.shiftKey) {
switch (event.keyCode) {
case 37: // left
var prevHref = $('link[rel="prev"]').prop('href');
Expand Down
3 changes: 2 additions & 1 deletion docs/_build/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '0.9.14',
VERSION: '1.0',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt',
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/_static/language_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This script contains the language-specific data used by searchtools.js,
* namely the list of stopwords, stemmer, scorer and splitter.
*
* :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
28 changes: 17 additions & 11 deletions docs/_build/html/_static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilities for the full-text search.
*
* :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down Expand Up @@ -63,6 +63,11 @@ var Search = {
htmlElement.innerHTML = htmlString;
$(htmlElement).find('.headerlink').remove();
docContent = $(htmlElement).find('[role=main]')[0];
if(docContent === undefined) {
console.warn("Content block not found. Sphinx search tries to obtain it " +
"via '[role=main]'. Could you check your theme or template.");
return "";
}
return docContent.textContent || docContent.innerText;
},

Expand Down Expand Up @@ -245,31 +250,32 @@ var Search = {
if (results.length) {
var item = results.pop();
var listItem = $('<li style="display:none"></li>');
if (DOCUMENTATION_OPTIONS.FILE_SUFFIX === '') {
var requestUrl = "";
if (DOCUMENTATION_OPTIONS.BUILDER === 'dirhtml') {
// dirhtml builder
var dirname = item[0] + '/';
if (dirname.match(/\/index\/$/)) {
dirname = dirname.substring(0, dirname.length-6);
} else if (dirname == 'index/') {
dirname = '';
}
listItem.append($('<a/>').attr('href',
DOCUMENTATION_OPTIONS.URL_ROOT + dirname +
highlightstring + item[2]).html(item[1]));
requestUrl = DOCUMENTATION_OPTIONS.URL_ROOT + dirname;

} else {
// normal html builders
listItem.append($('<a/>').attr('href',
item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX +
highlightstring + item[2]).html(item[1]));
requestUrl = DOCUMENTATION_OPTIONS.URL_ROOT + item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX;
}
listItem.append($('<a/>').attr('href',
requestUrl +
highlightstring + item[2]).html(item[1]));
if (item[3]) {
listItem.append($('<span> (' + item[3] + ')</span>'));
Search.output.append(listItem);
listItem.slideDown(5, function() {
displayNextItem();
});
} else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
$.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX,
$.ajax({url: requestUrl,
dataType: "text",
complete: function(jqxhr, textstatus) {
var data = jqxhr.responseText;
Expand Down Expand Up @@ -424,15 +430,15 @@ var Search = {
for (j = 0; j < _files.length; j++) {
file = _files[j];
if (!(file in scoreMap))
scoreMap[file] = {}
scoreMap[file] = {};
scoreMap[file][word] = o.score;
}
});

// create the mapping
for (j = 0; j < files.length; j++) {
file = files[j];
if (file in fileMap)
if (file in fileMap && fileMap[file].indexOf(word) === -1)
fileMap[file].push(word);
else
fileMap[file] = [word];
Expand Down
12 changes: 6 additions & 6 deletions docs/_build/html/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>API Reference &mdash; investpy 0.9.14 documentation</title>
<title>API Reference &mdash; investpy 1.0 documentation</title>



Expand All @@ -21,10 +21,10 @@


<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/language_data.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>

<script type="text/javascript" src="_static/js/theme.js"></script>

Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.9.14
1.0
</div>


Expand Down
12 changes: 6 additions & 6 deletions docs/_build/html/disclaimer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Disclaimer &mdash; investpy 0.9.14 documentation</title>
<title>Disclaimer &mdash; investpy 1.0 documentation</title>



Expand All @@ -21,10 +21,10 @@


<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/language_data.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>

<script type="text/javascript" src="_static/js/theme.js"></script>

Expand Down Expand Up @@ -59,7 +59,7 @@


<div class="version">
0.9.14
1.0
</div>


Expand Down
Loading

0 comments on commit 746778b

Please sign in to comment.