nsepython 2.92__tar.gz → 2.93__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nsepython
3
- Version: 2.92
3
+ Version: 2.93
4
4
  Summary: Python library for NSE India APIs
5
5
  Home-page: https://github.com/aeron7/nsepython
6
6
  Author: Aeron7
@@ -34,7 +34,7 @@ if(mode=='local'):
34
34
  def nsefetch(payload):
35
35
  try:
36
36
  output = requests.get(payload,headers=headers).json()
37
- print(output)
37
+ #print(output)
38
38
  except ValueError:
39
39
  s =requests.Session()
40
40
  output = s.get("http://nseindia.com",headers=headers)
@@ -692,7 +692,7 @@ def expiry_history(symbol,start_date="",end_date="",type="options"):
692
692
  nsefetch_url = "https://www.nseindia.com/api/historical/fo/derivatives/meta?&from="+start_date+"&to="+end_date+"&symbol="+symbol+""
693
693
  payload = nsefetch(nsefetch_url)
694
694
 
695
- print(payload)
695
+ #print(payload)
696
696
 
697
697
  for key, value in payload['expiryDatesByInstrument'].items():
698
698
  if type.lower() == "options" and "OPT" in key:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nsepython
3
- Version: 2.92
3
+ Version: 2.93
4
4
  Summary: Python library for NSE India APIs
5
5
  Home-page: https://github.com/aeron7/nsepython
6
6
  Author: Aeron7
@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
6
6
  setuptools.setup(
7
7
  name = 'nsepython',
8
8
  packages=setuptools.find_packages(),
9
- version = '2.92',
9
+ version = '2.93',
10
10
  include_package_data=True,
11
11
  description = 'Python library for NSE India APIs',
12
12
  long_description=long_description,
File without changes
File without changes
File without changes
File without changes