diff options
author | CoprDistGit <infra@openeuler.org> | 2023-03-09 14:51:02 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-03-09 14:51:02 +0000 |
commit | 9ef27b5747c348c8e5948bb5c4afaf714a630ade (patch) | |
tree | 96955dcb603d3018582b4a053865d765fe2cee53 | |
parent | d8e5bc9aa2738b42226a3b75ef62431ae36c6749 (diff) |
automatic import of python-pandas-datareader
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pandas-datareader.spec | 309 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 311 insertions, 0 deletions
@@ -0,0 +1 @@ +/pandas-datareader-0.10.0.tar.gz diff --git a/python-pandas-datareader.spec b/python-pandas-datareader.spec new file mode 100644 index 0000000..ee85087 --- /dev/null +++ b/python-pandas-datareader.spec @@ -0,0 +1,309 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pandas-datareader +Version: 0.10.0 +Release: 1 +Summary: Data readers extracted from the pandas codebase,should be compatible with recent pandas versions +License: BSD License +URL: https://github.com/pydata/pandas-datareader +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cf/94/b0363da3981da77d3ec7990e89006e4d4f71fd71a82290ce5c85540a7019/pandas-datareader-0.10.0.tar.gz +BuildArch: noarch + +Requires: python3-lxml +Requires: python3-pandas +Requires: python3-requests + +%description +# pandas-datareader + +Up to date remote data access for pandas, works for multiple versions of +pandas. + +[](https://pypi.python.org/pypi/pandas-datareader/) +[](https://codecov.io/gh/pydata/pandas-datareader) +[](https://pandas-datareader.readthedocs.io/en/latest/) +[](https://github.com/psf/black) +[](https://pypi.org/project/pandas-datareader/) + +## Installation + +Install using `pip` + +``` shell +pip install pandas-datareader +``` + +## Usage + +``` python +import pandas_datareader as pdr +pdr.get_data_fred('GS10') +``` + +## Documentation + +[Stable documentation](https://pydata.github.io/pandas-datareader/) is available on +[github.io](https://pydata.github.io/pandas-datareader/). A second copy of the stable +documentation is hosted on [read the docs](https://pandas-datareader.readthedocs.io/) +for more details. + +[Development documentation](https://pydata.github.io/pandas-datareader/devel/) is available +for the latest changes in master. + +### Requirements + +Using pandas datareader requires the following packages: + +- pandas>=1.0 +- lxml +- requests>=2.19.0 + +Building the documentation additionally requires: + +- matplotlib +- ipython +- requests_cache +- sphinx +- pydata_sphinx_theme + +Development and testing additionally requires: + +- black +- coverage +- codecov +- coveralls +- flake8 +- pytest +- pytest-cov +- wrapt + +### Install latest development version + +``` shell +python -m pip install git+https://github.com/pydata/pandas-datareader.git +``` + +or + +``` shell +git clone https://github.com/pydata/pandas-datareader.git +cd pandas-datareader +python setup.py install +``` + + + + +%package -n python3-pandas-datareader +Summary: Data readers extracted from the pandas codebase,should be compatible with recent pandas versions +Provides: python-pandas-datareader +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pandas-datareader +# pandas-datareader + +Up to date remote data access for pandas, works for multiple versions of +pandas. + +[](https://pypi.python.org/pypi/pandas-datareader/) +[](https://codecov.io/gh/pydata/pandas-datareader) +[](https://pandas-datareader.readthedocs.io/en/latest/) +[](https://github.com/psf/black) +[](https://pypi.org/project/pandas-datareader/) + +## Installation + +Install using `pip` + +``` shell +pip install pandas-datareader +``` + +## Usage + +``` python +import pandas_datareader as pdr +pdr.get_data_fred('GS10') +``` + +## Documentation + +[Stable documentation](https://pydata.github.io/pandas-datareader/) is available on +[github.io](https://pydata.github.io/pandas-datareader/). A second copy of the stable +documentation is hosted on [read the docs](https://pandas-datareader.readthedocs.io/) +for more details. + +[Development documentation](https://pydata.github.io/pandas-datareader/devel/) is available +for the latest changes in master. + +### Requirements + +Using pandas datareader requires the following packages: + +- pandas>=1.0 +- lxml +- requests>=2.19.0 + +Building the documentation additionally requires: + +- matplotlib +- ipython +- requests_cache +- sphinx +- pydata_sphinx_theme + +Development and testing additionally requires: + +- black +- coverage +- codecov +- coveralls +- flake8 +- pytest +- pytest-cov +- wrapt + +### Install latest development version + +``` shell +python -m pip install git+https://github.com/pydata/pandas-datareader.git +``` + +or + +``` shell +git clone https://github.com/pydata/pandas-datareader.git +cd pandas-datareader +python setup.py install +``` + + + + +%package help +Summary: Development documents and examples for pandas-datareader +Provides: python3-pandas-datareader-doc +%description help +# pandas-datareader + +Up to date remote data access for pandas, works for multiple versions of +pandas. + +[](https://pypi.python.org/pypi/pandas-datareader/) +[](https://codecov.io/gh/pydata/pandas-datareader) +[](https://pandas-datareader.readthedocs.io/en/latest/) +[](https://github.com/psf/black) +[](https://pypi.org/project/pandas-datareader/) + +## Installation + +Install using `pip` + +``` shell +pip install pandas-datareader +``` + +## Usage + +``` python +import pandas_datareader as pdr +pdr.get_data_fred('GS10') +``` + +## Documentation + +[Stable documentation](https://pydata.github.io/pandas-datareader/) is available on +[github.io](https://pydata.github.io/pandas-datareader/). A second copy of the stable +documentation is hosted on [read the docs](https://pandas-datareader.readthedocs.io/) +for more details. + +[Development documentation](https://pydata.github.io/pandas-datareader/devel/) is available +for the latest changes in master. + +### Requirements + +Using pandas datareader requires the following packages: + +- pandas>=1.0 +- lxml +- requests>=2.19.0 + +Building the documentation additionally requires: + +- matplotlib +- ipython +- requests_cache +- sphinx +- pydata_sphinx_theme + +Development and testing additionally requires: + +- black +- coverage +- codecov +- coveralls +- flake8 +- pytest +- pytest-cov +- wrapt + +### Install latest development version + +``` shell +python -m pip install git+https://github.com/pydata/pandas-datareader.git +``` + +or + +``` shell +git clone https://github.com/pydata/pandas-datareader.git +cd pandas-datareader +python setup.py install +``` + + + + +%prep +%autosetup -n pandas-datareader-0.10.0 + +%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-pandas-datareader -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10.0-1 +- Package Spec generated @@ -0,0 +1 @@ +89fababe12dc2ed13e0c08278f17d0a6 pandas-datareader-0.10.0.tar.gz |