From ecb82f1916f6cceb66aa0b4f5777575b71b1c4ae Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 17 May 2023 03:45:09 +0000 Subject: automatic import of python-cad-tickers --- .gitignore | 1 + python-cad-tickers.spec | 173 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 175 insertions(+) create mode 100644 python-cad-tickers.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1ab8cf8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/cad_tickers-1.5.3.tar.gz diff --git a/python-cad-tickers.spec b/python-cad-tickers.spec new file mode 100644 index 0000000..dc73590 --- /dev/null +++ b/python-cad-tickers.spec @@ -0,0 +1,173 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cad-tickers +Version: 1.5.3 +Release: 1 +Summary: Various Stock Utilties Created by me +License: MIT +URL: https://github.com/FriendlyUser/cad_tickers +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/36/be/11252f36035ff2ee981ce25d1a966a76dacb56bb510a61d7315e88dcbbb0/cad_tickers-1.5.3.tar.gz +BuildArch: noarch + +Requires: python3-beautifulsoup4 +Requires: python3-coverage +Requires: python3-lxml +Requires: python3-openpyxl +Requires: python3-pandas +Requires: python3-random-user-agent +Requires: python3-requests +Requires: python3-xlrd + +%description +[![PyPI version](https://badge.fury.io/py/cad-tickers.svg)](https://badge.fury.io/py/cad-tickers) [![Downloads](https://pepy.tech/badge/cad-tickers)](https://pepy.tech/project/cad-tickers) [![Documentation Status](https://readthedocs.org/projects/cad-tickers/badge/?version=latest)](https://cad-tickers.readthedocs.io/en/latest/?badge=latest) [![codecov](https://codecov.io/gh/FriendlyUser/cad_tickers/branch/master/graph/badge.svg)](https://codecov.io/gh/FriendlyUser/cad_tickers) + +## Cad Tickers +Function to extract exchange data from the cse and tsx websites and various other data sources. This package is primarily focussed on scrapping data for the canadian stock market. + + +The entire 0.2.x version of tsx functions are now depricated. + +Tsx has switched to graphql which I like. + + +### How to run tests + +``` +pytest +``` + +``` +# Needed for readthedocs documentation +poetry export -f requirements.txt > requirements.txt. +``` + +Or checkout some of my books [![Python Programming](https://m.media-amazon.com/images/I/41Mj384vgeL._SY346_.jpg)](https://www.amazon.com/dp/B0BXFLYRBD) + + +#### Donate + +If you would like to motivate me to spend more time improving open source projects please consider donating. + +[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Z6M6Y83D3URSU&item_name=Motivating+me+to+continue+to+produce+open+source+projects¤cy_code=CAD) + + + +%package -n python3-cad-tickers +Summary: Various Stock Utilties Created by me +Provides: python-cad-tickers +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cad-tickers +[![PyPI version](https://badge.fury.io/py/cad-tickers.svg)](https://badge.fury.io/py/cad-tickers) [![Downloads](https://pepy.tech/badge/cad-tickers)](https://pepy.tech/project/cad-tickers) [![Documentation Status](https://readthedocs.org/projects/cad-tickers/badge/?version=latest)](https://cad-tickers.readthedocs.io/en/latest/?badge=latest) [![codecov](https://codecov.io/gh/FriendlyUser/cad_tickers/branch/master/graph/badge.svg)](https://codecov.io/gh/FriendlyUser/cad_tickers) + +## Cad Tickers +Function to extract exchange data from the cse and tsx websites and various other data sources. This package is primarily focussed on scrapping data for the canadian stock market. + + +The entire 0.2.x version of tsx functions are now depricated. + +Tsx has switched to graphql which I like. + + +### How to run tests + +``` +pytest +``` + +``` +# Needed for readthedocs documentation +poetry export -f requirements.txt > requirements.txt. +``` + +Or checkout some of my books [![Python Programming](https://m.media-amazon.com/images/I/41Mj384vgeL._SY346_.jpg)](https://www.amazon.com/dp/B0BXFLYRBD) + + +#### Donate + +If you would like to motivate me to spend more time improving open source projects please consider donating. + +[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Z6M6Y83D3URSU&item_name=Motivating+me+to+continue+to+produce+open+source+projects¤cy_code=CAD) + + + +%package help +Summary: Development documents and examples for cad-tickers +Provides: python3-cad-tickers-doc +%description help +[![PyPI version](https://badge.fury.io/py/cad-tickers.svg)](https://badge.fury.io/py/cad-tickers) [![Downloads](https://pepy.tech/badge/cad-tickers)](https://pepy.tech/project/cad-tickers) [![Documentation Status](https://readthedocs.org/projects/cad-tickers/badge/?version=latest)](https://cad-tickers.readthedocs.io/en/latest/?badge=latest) [![codecov](https://codecov.io/gh/FriendlyUser/cad_tickers/branch/master/graph/badge.svg)](https://codecov.io/gh/FriendlyUser/cad_tickers) + +## Cad Tickers +Function to extract exchange data from the cse and tsx websites and various other data sources. This package is primarily focussed on scrapping data for the canadian stock market. + + +The entire 0.2.x version of tsx functions are now depricated. + +Tsx has switched to graphql which I like. + + +### How to run tests + +``` +pytest +``` + +``` +# Needed for readthedocs documentation +poetry export -f requirements.txt > requirements.txt. +``` + +Or checkout some of my books [![Python Programming](https://m.media-amazon.com/images/I/41Mj384vgeL._SY346_.jpg)](https://www.amazon.com/dp/B0BXFLYRBD) + + +#### Donate + +If you would like to motivate me to spend more time improving open source projects please consider donating. + +[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Z6M6Y83D3URSU&item_name=Motivating+me+to+continue+to+produce+open+source+projects¤cy_code=CAD) + + + +%prep +%autosetup -n cad-tickers-1.5.3 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-cad-tickers -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot - 1.5.3-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..211c893 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +80d6c398a2c12500be1d6aa219c27848 cad_tickers-1.5.3.tar.gz -- cgit v1.2.3