Skip to content

Commit

Permalink
Fixing URL change issues from NSE
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek Jha committed Feb 10, 2020
1 parent d5c4504 commit 48f79fc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Expand Up @@ -21,5 +21,5 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""
__VERSION__='1.0.10'
__VERSION__='1.0.11'
from .nse import Nse
2 changes: 2 additions & 0 deletions docs/source/changelog.rst
Expand Up @@ -20,3 +20,5 @@ Release History & Change Log
1.0.8 : Few build issues.

1.0.10: Handling change in backend data format.

1.0.11: Updated URLs after NSE website changes.
25 changes: 11 additions & 14 deletions setup.py
Expand Up @@ -2,21 +2,19 @@

readme = '''
Project Page
=============
=================
http://nsetools.readthedocs.io
nsetools
========
=================
Python library for extracting realtime data from National Stock Exchange (India)
Introduction.
============
=================
nsetools is a library for collecting real time data from National Stock Exchange (India). It can be used in various types of projects which requires getting live quotes for a given stock or index or build large data sets for further data analytics. You can also build cli applications which can provide you live market details at a blazing fast speeds, much faster that the browsers. The accuracy of data is only as correct as provided on www.nseindia.com.
Main Features:
=============
==================
* Getting live quotes for stocks using stock codes.
* Return data in both json and python dict and list formats.
Expand All @@ -28,19 +26,18 @@
* Getting list of all indices and stocks.
* Cent percent unittest coverage.
Dependencies
=============
To keep it simple and supported on most of the platforms, it uses only core python libraries, hence there are no external dependencies. It can be used out of box and absolutely not set up is required except an internet connection.
Detailed Documenation
=====================
Dependencies
===================
To keep it simple and supported on most of the platforms, it uses only core python libraries, hence there are no external dependencies. It can be used out of box and absolutely not set up is required except an internet connection.
For complete documenation, please refer http://nsetools.readthedocs.io
Detailed Documenation
========================
For complete documenation, please refer http://nsetools.readthedocs.io
'''

setup(
name="nsetools",
version="1.0.10",
version="1.0.11",
author="Vivek Jha",
author_email="vsjha18@gmail.com",
description="Python library for extracting realtime data from National Stock Exchange",
Expand Down
2 changes: 2 additions & 0 deletions tests/commands.txt
@@ -1,9 +1,11 @@
nosetests --with-coverage --cover-package nsetools.nse --cover-branch
python setup.py sdist upload -r pypi

Follow these instructions for building.
# move setup.py one level up.
# run command from there.
# change version in setup.py and __init__.py
# install wheel in order to support bdist_wheel

python setup.py bdist_wheel
twine upload --repository-url https://upload.pypi.org/legacy/ dist/nsetools-1.0.6.tar.gz

0 comments on commit 48f79fc

Please sign in to comment.