Skip to content

Commit

Permalink
Update 0.1.3 - Extended supported Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
NDelventhal committed Dec 29, 2023
1 parent cf73dd9 commit 3a96210
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cot_reports/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .cot_reports import cot_hist, cot_year, cot_all, cot_all_reports

__version__ = '0.1.2'
__version__ = '0.1.3'
__author__ = 'Niall Delventhal'
2 changes: 1 addition & 1 deletion cot_reports/cot_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def cot_all(cot_report_type="legacy_fut", store_txt=True, verbose=True):
df = cot_hist(cot_report_type, store_txt=store_txt, verbose=verbose)
for i in range(2017, date.today().year+1):
years = pd.DataFrame(cot_year(i, cot_report_type, store_txt=store_txt, verbose=verbose))
df = df.append(years, ignore_index=True)
df = pd.concat([df, years])
return df

## Example:
Expand Down
25 changes: 18 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,30 @@
setuptools.setup(
name="cot_reports",
packages = ["cot_reports"],
version="0.1.2",
version="0.1.3",
license='MIT',
url="https://github.com/NDelventhal/cot_grades",
url="https://github.com/NDelventhal/cot_reports",
author="Niall Delventhal",
author_email="[email protected]",
description="is a Python library, which fetches the Commitments of Trader reports of the Commodity Futures Trading Commission (CFTC). The following COT reports are supported: Legacy Futures-only, Legacy Futures-and-Options, Supplemental Futures-and-Options, Disaggregated Futures-only, Disaggregated Futures-and-Options, Traders in Financial Futures (TFF) Futures-only and Traders in Financial Futures (TFF) Futures-and-Options.",
long_description=open('README.md', encoding='utf-8').read(),
long_description_content_type='text/markdown',
download_url = 'https://github.com/NDelventhal/cot_reports/archive/v_012.tar.gz',
download_url = 'https://github.com/NDelventhal/cot_reports/archive/v_013.tar.gz',
install_requires=['pandas','requests','beautifulsoup4'],
classifiers=['Intended Audience :: Science/Research',
classifiers=[
'Intended Audience :: Science/Research',
'Intended Audience :: Financial and Insurance Industry',
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Programming Language :: Python',
'Programming Language :: Python :: 3'],
)
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12'],
)



0 comments on commit 3a96210

Please sign in to comment.