diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-31 05:22:23 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 05:22:23 +0000 |
commit | 79f73456e577f595d1438cf2acb2c942672e09ec (patch) | |
tree | 41f3c9b36fa15077aec20267ab30a2ceab70461f | |
parent | 54b0d62b212323995262766312fe86cc576339dc (diff) |
automatic import of python-pystore
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pystore.spec | 115 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 117 insertions, 0 deletions
@@ -0,0 +1 @@ +/PyStore-0.1.23.tar.gz diff --git a/python-pystore.spec b/python-pystore.spec new file mode 100644 index 0000000..da0d469 --- /dev/null +++ b/python-pystore.spec @@ -0,0 +1,115 @@ +%global _empty_manifest_terminate_build 0 +Name: python-PyStore +Version: 0.1.23 +Release: 1 +Summary: Fast data store for Pandas timeseries data +License: Apache Software License +URL: https://github.com/ranaroussi/pystore +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/55/e1/d7680118b8e34099ec117cd0730773a212c5bfc8cc9d6371d603529bf4b6/PyStore-0.1.23.tar.gz +BuildArch: noarch + +Requires: python3-snappy +Requires: python3-multitasking +Requires: python3-toolz +Requires: python3-partd +Requires: python3-cloudpickle +Requires: python3-distributed +Requires: python3-pandas +Requires: python3-numpy +Requires: python3-fastparquet +Requires: python3-dask + +%description +\ +`PyStore <https://github.com/ranaroussi/pystore>`_ is a simple (yet powerful) +datastore for Pandas dataframes, and while it can store any Pandas object, +**it was designed with storing timeseries data in mind**. +It's built on top of `Pandas <http://pandas.pydata.org>`_, `Numpy <http://numpy.pydata.org>`_, +`Dask <http://dask.pydata.org>`_, and `Parquet <http://parquet.apache.org>`_ +(via `Fastparquet <https://github.com/dask/fastparquet>`_), +to provide an easy to use datastore for Python developers that can easily +query millions of rows per second per client. +==> Check out `this Blog post <https://medium.com/@aroussi/fast-data-store-for-pandas-time-series-data-using-pystore-89d9caeef4e2>`_ +for the reasoning and philosophy behind PyStore, as well as a detailed tutorial with code examples. +==> Follow `this PyStore tutorial <https://github.com/ranaroussi/pystore/blob/master/examples/pystore-tutorial.ipynb>`_ in Jupyter notebook format. + +%package -n python3-PyStore +Summary: Fast data store for Pandas timeseries data +Provides: python-PyStore +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-PyStore +\ +`PyStore <https://github.com/ranaroussi/pystore>`_ is a simple (yet powerful) +datastore for Pandas dataframes, and while it can store any Pandas object, +**it was designed with storing timeseries data in mind**. +It's built on top of `Pandas <http://pandas.pydata.org>`_, `Numpy <http://numpy.pydata.org>`_, +`Dask <http://dask.pydata.org>`_, and `Parquet <http://parquet.apache.org>`_ +(via `Fastparquet <https://github.com/dask/fastparquet>`_), +to provide an easy to use datastore for Python developers that can easily +query millions of rows per second per client. +==> Check out `this Blog post <https://medium.com/@aroussi/fast-data-store-for-pandas-time-series-data-using-pystore-89d9caeef4e2>`_ +for the reasoning and philosophy behind PyStore, as well as a detailed tutorial with code examples. +==> Follow `this PyStore tutorial <https://github.com/ranaroussi/pystore/blob/master/examples/pystore-tutorial.ipynb>`_ in Jupyter notebook format. + +%package help +Summary: Development documents and examples for PyStore +Provides: python3-PyStore-doc +%description help +\ +`PyStore <https://github.com/ranaroussi/pystore>`_ is a simple (yet powerful) +datastore for Pandas dataframes, and while it can store any Pandas object, +**it was designed with storing timeseries data in mind**. +It's built on top of `Pandas <http://pandas.pydata.org>`_, `Numpy <http://numpy.pydata.org>`_, +`Dask <http://dask.pydata.org>`_, and `Parquet <http://parquet.apache.org>`_ +(via `Fastparquet <https://github.com/dask/fastparquet>`_), +to provide an easy to use datastore for Python developers that can easily +query millions of rows per second per client. +==> Check out `this Blog post <https://medium.com/@aroussi/fast-data-store-for-pandas-time-series-data-using-pystore-89d9caeef4e2>`_ +for the reasoning and philosophy behind PyStore, as well as a detailed tutorial with code examples. +==> Follow `this PyStore tutorial <https://github.com/ranaroussi/pystore/blob/master/examples/pystore-tutorial.ipynb>`_ in Jupyter notebook format. + +%prep +%autosetup -n PyStore-0.1.23 + +%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-PyStore -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.23-1 +- Package Spec generated @@ -0,0 +1 @@ +ec146cf7b64dded5975401b5ac1802bb PyStore-0.1.23.tar.gz |