Skip to content

Commit

Permalink
- Clarified usage
Browse files Browse the repository at this point in the history
- fixed version string in cli.py
- removed redundant path in dcs/conf.py
- updated .bumpversion.cfg to automatically update the cli version
  • Loading branch information
robren committed Aug 17, 2017
1 parent b22dd02 commit 0b78c02
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ replace = version='{new_version}'
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'

[bumpversion:file:sec_edgar_download/cli.py]
search = version='sec_edgar_download {current_version}'
replace = version='sec_edgar_download {new_version}'
15 changes: 13 additions & 2 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@ History
0.0.2 (2017-01-30)
------------------

* First release to PyPi test
* First release to PyPi test.


0.1.0 (2017-01-30)
------------------

* First release to PyPi
* First release to PyPi.

0.1.1 (2017-05-30)
------------------

* Second release to PyPi Added the -f flag to the getxbrl command to specify
a file containing tickers.

0.1.2 (2017-08-16)
------------------

* Added some more usage documentation.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ Usage Examples

From the command line.

- Firstly download the rss feeds, these get added to a local database
- Next specify which tickers to download the xbrl filings for.

.. code:: bash
pip install sec_edgar_download
Expand Down
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
project_root = os.path.dirname(cwd)

sys.path.insert(0, project_root)
sys.path.insert(0, os.path.abspath('sec_edgar_download'))

import sec_edgar_download

Expand Down
8 changes: 8 additions & 0 deletions docs/modules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sec_edgar_download.indexer module
---------------------------------

.. automodule:: sec_edgar_download.indexer
:members:
:undoc-members:
:show-inheritance:

2 changes: 1 addition & 1 deletion sec_edgar_download/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@


def main(args=None):
arguments = docopt(__doc__, version='sec_edgar_download 0.0.0')
arguments = docopt(__doc__, version='sec_edgar_download 0.1.2')
print(arguments)

from_year = int(arguments['<from-year>'])
Expand Down
2 changes: 1 addition & 1 deletion sec_edgar_download/indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def _download_sec_feed(self, year, month):
Args:
year (int); The year of the feed
month (int); The year of the feed
month (int); The month of the feed
Returns:
feed_file (str): The location of the downloaded RSS file.
Expand Down

0 comments on commit 0b78c02

Please sign in to comment.