summaryrefslogtreecommitdiff
path: root/python-triad.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 06:09:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 06:09:07 +0000
commit25ef1eee612045ace20dedf95745c39c69f3898e (patch)
tree62d1a3c3d8383c5d57232bea675505ce127bdeb3 /python-triad.spec
parentb6af6a4fb78b6092e6086fb60b477bd4128e1ac1 (diff)
automatic import of python-triadopeneuler20.03
Diffstat (limited to 'python-triad.spec')
-rw-r--r--python-triad.spec736
1 files changed, 736 insertions, 0 deletions
diff --git a/python-triad.spec b/python-triad.spec
new file mode 100644
index 0000000..e541009
--- /dev/null
+++ b/python-triad.spec
@@ -0,0 +1,736 @@
+%global _empty_manifest_terminate_build 0
+Name: python-triad
+Version: 0.8.7
+Release: 1
+Summary: A collection of python utils for Fugue projects
+License: Apache-2.0
+URL: http://github.com/fugue-project/triad
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9d/03/d88ba3a1f7f1345568b8536de74ec8e31f117f5beb86c8d359f5be88013b/triad-0.8.7.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-six
+Requires: python3-pyarrow
+Requires: python3-fs
+Requires: python3-importlib-metadata
+Requires: python3-ciso8601
+
+%description
+# Triad
+
+[![GitHub release](https://img.shields.io/github/release/fugue-project/triad.svg)](https://GitHub.com/fugue-project/triad)
+[![PyPI pyversions](https://img.shields.io/pypi/pyversions/triad.svg)](https://pypi.python.org/pypi/triad/)
+[![PyPI license](https://img.shields.io/pypi/l/triad.svg)](https://pypi.python.org/pypi/triad/)
+[![PyPI version](https://badge.fury.io/py/triad.svg)](https://pypi.python.org/pypi/triad/)
+[![codecov](https://codecov.io/gh/fugue-project/triad/branch/master/graph/badge.svg?token=DGKPXDIG8M)](https://codecov.io/gh/fugue-project/triad)
+[![Doc](https://readthedocs.org/projects/triad/badge)](https://triad.readthedocs.org)
+
+[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://join.slack.com/t/fugue-project/shared_invite/zt-jl0pcahu-KdlSOgi~fP50TZWmNxdWYQ)
+
+A collection of python utility functions for [Fugue projects](https://github.com/fugue-project)
+
+## Installation
+
+```bash
+pip install triad
+```
+
+
+## Release History
+
+### 0.8.7
+
+* Fix pandas 2.0 warnings
+
+### 0.8.6
+
+* Fixed timestamp conversion for pandas 2.0
+
+### 0.8.5
+
+* Ensure pandas 2.0 compatibility
+* Improve `to_schema` in `PandasUtils`
+
+### 0.8.4
+
+* Moved `FunctionWrapper` from Fugue into Triad
+* Improved groupby apply efficiency for pandas utils
+
+### 0.8.3
+
+* Add `get_alter_func` to pyarrow utils
+
+### 0.8.2
+
+* Handle time zone in pandas_utils
+
+### 0.8.1
+
+* Fixed the [string column issue](https://github.com/fugue-project/fugue/issues/415)
+
+### 0.8.0
+
+* Support arbitrary column name
+
+### 0.7.0
+
+* Fixed importlib `entry_points` compatibility issue
+
+### 0.6.9
+
+* Remove Python 3.6 support
+* Add dataframe rename utils
+
+### 0.6.8
+
+* Add map type support to Schema
+
+### 0.6.7
+
+* Parse nested fields in `expression_to_schema` util
+
+### 0.6.6
+
+* Improve conditional_dispatcher
+
+### 0.6.5
+
+* Add SerializableRLock
+* Add decorator run_once
+
+### 0.6.4
+
+* Add function dispatcher
+
+### 0.6.3
+
+* Fix pandas warning on pd.Int64Index
+
+### 0.6.2
+
+* Make ciso8601 totally optional
+
+### 0.6.1
+
+* Support Python 3.10
+
+### 0.6.0
+
+* Fix extensible class bugs
+
+### 0.5.9
+
+* Create `extensible_class` and `extension_method` decos
+
+### 0.5.8
+
+* Make ciso8601 a soft dependency on windows
+* Switch to codecov
+* Improve documents, change to Furo theme
+
+### 0.5.7
+
+* Fix pandas extension data types bug
+
+### 0.5.6
+
+* Prepare to support [pandas extension data types](https://pandas.pydata.org/docs/user_guide/basics.html#basics-dtypes)
+* Support Python 3.9
+
+### 0.5.5
+
+* Change pandas_list enforce_type df construction
+
+### 0.5.4
+
+* Make `FileSystem` work for windows
+* Make triad fullly compatible with Windows
+* Add windows tests
+
+### 0.5.3
+
+* Lazy evaluation for `assert_or_throw`
+
+### 0.5.2
+
+* For pyarrow data conversion, support np.ndarray -> list
+
+### 0.5.1
+
+* Update get_caller_global_local_vars to access any stack
+
+### 0.5.0
+
+* Fix to_type on full type path
+
+### 0.4.9
+
+* Fix numpy warning
+
+### 0.4.6
+
+* Improve pandas like utils `enforce` method to handle str -> bool
+
+### 0.4.5
+
+* Fixed pandas -> arrow datetime conversion issue
+
+### 0.4.4
+
+* Improved FileSystem compatibility with Windows
+* Add overwrite expression for Schema class
+* Fixed github actions
+
+### 0.4.3
+
+* Refactored `str_to_type`, `str_to_instance` and `to_function` to use `eval`
+
+### 0.4.2
+
+* Fix a bug in pandas like safe_groupby_apply
+
+### 0.4.1
+
+* Improvement on group by apply
+* Improvement on environment setup
+
+### 0.4.0
+
+* Prepare for Fugue open source
+
+### 0.3.8
+
+* Change to Apache 2.0 license
+
+### 0.3.7
+
+* Add pyarrow binary type support
+
+### 0.3.6
+
+* Add `transform` to Schema class
+
+### 0.3.5
+
+* Change pyarrow and pandas type_safe output to be consistent with pyarrow (None for pd.NaT, nan, etc)
+
+### 0.3.4
+
+* Add general FileSystem
+
+### 0.3.3
+
+* Add thread-safe cloudpicklable RunOnce class
+
+### 0.3.2
+
+* extracted TRIAD_DEFAULT_TIMESTAMP as a constant
+
+### <=0.3.1
+
+* Open sourced and docs are ready
+* Added basic utility functions
+* Types and schema are based on pyarrow
+* A better indexed and ordered dict
+* Added ParamDict
+
+
+
+
+%package -n python3-triad
+Summary: A collection of python utils for Fugue projects
+Provides: python-triad
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-triad
+# Triad
+
+[![GitHub release](https://img.shields.io/github/release/fugue-project/triad.svg)](https://GitHub.com/fugue-project/triad)
+[![PyPI pyversions](https://img.shields.io/pypi/pyversions/triad.svg)](https://pypi.python.org/pypi/triad/)
+[![PyPI license](https://img.shields.io/pypi/l/triad.svg)](https://pypi.python.org/pypi/triad/)
+[![PyPI version](https://badge.fury.io/py/triad.svg)](https://pypi.python.org/pypi/triad/)
+[![codecov](https://codecov.io/gh/fugue-project/triad/branch/master/graph/badge.svg?token=DGKPXDIG8M)](https://codecov.io/gh/fugue-project/triad)
+[![Doc](https://readthedocs.org/projects/triad/badge)](https://triad.readthedocs.org)
+
+[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://join.slack.com/t/fugue-project/shared_invite/zt-jl0pcahu-KdlSOgi~fP50TZWmNxdWYQ)
+
+A collection of python utility functions for [Fugue projects](https://github.com/fugue-project)
+
+## Installation
+
+```bash
+pip install triad
+```
+
+
+## Release History
+
+### 0.8.7
+
+* Fix pandas 2.0 warnings
+
+### 0.8.6
+
+* Fixed timestamp conversion for pandas 2.0
+
+### 0.8.5
+
+* Ensure pandas 2.0 compatibility
+* Improve `to_schema` in `PandasUtils`
+
+### 0.8.4
+
+* Moved `FunctionWrapper` from Fugue into Triad
+* Improved groupby apply efficiency for pandas utils
+
+### 0.8.3
+
+* Add `get_alter_func` to pyarrow utils
+
+### 0.8.2
+
+* Handle time zone in pandas_utils
+
+### 0.8.1
+
+* Fixed the [string column issue](https://github.com/fugue-project/fugue/issues/415)
+
+### 0.8.0
+
+* Support arbitrary column name
+
+### 0.7.0
+
+* Fixed importlib `entry_points` compatibility issue
+
+### 0.6.9
+
+* Remove Python 3.6 support
+* Add dataframe rename utils
+
+### 0.6.8
+
+* Add map type support to Schema
+
+### 0.6.7
+
+* Parse nested fields in `expression_to_schema` util
+
+### 0.6.6
+
+* Improve conditional_dispatcher
+
+### 0.6.5
+
+* Add SerializableRLock
+* Add decorator run_once
+
+### 0.6.4
+
+* Add function dispatcher
+
+### 0.6.3
+
+* Fix pandas warning on pd.Int64Index
+
+### 0.6.2
+
+* Make ciso8601 totally optional
+
+### 0.6.1
+
+* Support Python 3.10
+
+### 0.6.0
+
+* Fix extensible class bugs
+
+### 0.5.9
+
+* Create `extensible_class` and `extension_method` decos
+
+### 0.5.8
+
+* Make ciso8601 a soft dependency on windows
+* Switch to codecov
+* Improve documents, change to Furo theme
+
+### 0.5.7
+
+* Fix pandas extension data types bug
+
+### 0.5.6
+
+* Prepare to support [pandas extension data types](https://pandas.pydata.org/docs/user_guide/basics.html#basics-dtypes)
+* Support Python 3.9
+
+### 0.5.5
+
+* Change pandas_list enforce_type df construction
+
+### 0.5.4
+
+* Make `FileSystem` work for windows
+* Make triad fullly compatible with Windows
+* Add windows tests
+
+### 0.5.3
+
+* Lazy evaluation for `assert_or_throw`
+
+### 0.5.2
+
+* For pyarrow data conversion, support np.ndarray -> list
+
+### 0.5.1
+
+* Update get_caller_global_local_vars to access any stack
+
+### 0.5.0
+
+* Fix to_type on full type path
+
+### 0.4.9
+
+* Fix numpy warning
+
+### 0.4.6
+
+* Improve pandas like utils `enforce` method to handle str -> bool
+
+### 0.4.5
+
+* Fixed pandas -> arrow datetime conversion issue
+
+### 0.4.4
+
+* Improved FileSystem compatibility with Windows
+* Add overwrite expression for Schema class
+* Fixed github actions
+
+### 0.4.3
+
+* Refactored `str_to_type`, `str_to_instance` and `to_function` to use `eval`
+
+### 0.4.2
+
+* Fix a bug in pandas like safe_groupby_apply
+
+### 0.4.1
+
+* Improvement on group by apply
+* Improvement on environment setup
+
+### 0.4.0
+
+* Prepare for Fugue open source
+
+### 0.3.8
+
+* Change to Apache 2.0 license
+
+### 0.3.7
+
+* Add pyarrow binary type support
+
+### 0.3.6
+
+* Add `transform` to Schema class
+
+### 0.3.5
+
+* Change pyarrow and pandas type_safe output to be consistent with pyarrow (None for pd.NaT, nan, etc)
+
+### 0.3.4
+
+* Add general FileSystem
+
+### 0.3.3
+
+* Add thread-safe cloudpicklable RunOnce class
+
+### 0.3.2
+
+* extracted TRIAD_DEFAULT_TIMESTAMP as a constant
+
+### <=0.3.1
+
+* Open sourced and docs are ready
+* Added basic utility functions
+* Types and schema are based on pyarrow
+* A better indexed and ordered dict
+* Added ParamDict
+
+
+
+
+%package help
+Summary: Development documents and examples for triad
+Provides: python3-triad-doc
+%description help
+# Triad
+
+[![GitHub release](https://img.shields.io/github/release/fugue-project/triad.svg)](https://GitHub.com/fugue-project/triad)
+[![PyPI pyversions](https://img.shields.io/pypi/pyversions/triad.svg)](https://pypi.python.org/pypi/triad/)
+[![PyPI license](https://img.shields.io/pypi/l/triad.svg)](https://pypi.python.org/pypi/triad/)
+[![PyPI version](https://badge.fury.io/py/triad.svg)](https://pypi.python.org/pypi/triad/)
+[![codecov](https://codecov.io/gh/fugue-project/triad/branch/master/graph/badge.svg?token=DGKPXDIG8M)](https://codecov.io/gh/fugue-project/triad)
+[![Doc](https://readthedocs.org/projects/triad/badge)](https://triad.readthedocs.org)
+
+[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://join.slack.com/t/fugue-project/shared_invite/zt-jl0pcahu-KdlSOgi~fP50TZWmNxdWYQ)
+
+A collection of python utility functions for [Fugue projects](https://github.com/fugue-project)
+
+## Installation
+
+```bash
+pip install triad
+```
+
+
+## Release History
+
+### 0.8.7
+
+* Fix pandas 2.0 warnings
+
+### 0.8.6
+
+* Fixed timestamp conversion for pandas 2.0
+
+### 0.8.5
+
+* Ensure pandas 2.0 compatibility
+* Improve `to_schema` in `PandasUtils`
+
+### 0.8.4
+
+* Moved `FunctionWrapper` from Fugue into Triad
+* Improved groupby apply efficiency for pandas utils
+
+### 0.8.3
+
+* Add `get_alter_func` to pyarrow utils
+
+### 0.8.2
+
+* Handle time zone in pandas_utils
+
+### 0.8.1
+
+* Fixed the [string column issue](https://github.com/fugue-project/fugue/issues/415)
+
+### 0.8.0
+
+* Support arbitrary column name
+
+### 0.7.0
+
+* Fixed importlib `entry_points` compatibility issue
+
+### 0.6.9
+
+* Remove Python 3.6 support
+* Add dataframe rename utils
+
+### 0.6.8
+
+* Add map type support to Schema
+
+### 0.6.7
+
+* Parse nested fields in `expression_to_schema` util
+
+### 0.6.6
+
+* Improve conditional_dispatcher
+
+### 0.6.5
+
+* Add SerializableRLock
+* Add decorator run_once
+
+### 0.6.4
+
+* Add function dispatcher
+
+### 0.6.3
+
+* Fix pandas warning on pd.Int64Index
+
+### 0.6.2
+
+* Make ciso8601 totally optional
+
+### 0.6.1
+
+* Support Python 3.10
+
+### 0.6.0
+
+* Fix extensible class bugs
+
+### 0.5.9
+
+* Create `extensible_class` and `extension_method` decos
+
+### 0.5.8
+
+* Make ciso8601 a soft dependency on windows
+* Switch to codecov
+* Improve documents, change to Furo theme
+
+### 0.5.7
+
+* Fix pandas extension data types bug
+
+### 0.5.6
+
+* Prepare to support [pandas extension data types](https://pandas.pydata.org/docs/user_guide/basics.html#basics-dtypes)
+* Support Python 3.9
+
+### 0.5.5
+
+* Change pandas_list enforce_type df construction
+
+### 0.5.4
+
+* Make `FileSystem` work for windows
+* Make triad fullly compatible with Windows
+* Add windows tests
+
+### 0.5.3
+
+* Lazy evaluation for `assert_or_throw`
+
+### 0.5.2
+
+* For pyarrow data conversion, support np.ndarray -> list
+
+### 0.5.1
+
+* Update get_caller_global_local_vars to access any stack
+
+### 0.5.0
+
+* Fix to_type on full type path
+
+### 0.4.9
+
+* Fix numpy warning
+
+### 0.4.6
+
+* Improve pandas like utils `enforce` method to handle str -> bool
+
+### 0.4.5
+
+* Fixed pandas -> arrow datetime conversion issue
+
+### 0.4.4
+
+* Improved FileSystem compatibility with Windows
+* Add overwrite expression for Schema class
+* Fixed github actions
+
+### 0.4.3
+
+* Refactored `str_to_type`, `str_to_instance` and `to_function` to use `eval`
+
+### 0.4.2
+
+* Fix a bug in pandas like safe_groupby_apply
+
+### 0.4.1
+
+* Improvement on group by apply
+* Improvement on environment setup
+
+### 0.4.0
+
+* Prepare for Fugue open source
+
+### 0.3.8
+
+* Change to Apache 2.0 license
+
+### 0.3.7
+
+* Add pyarrow binary type support
+
+### 0.3.6
+
+* Add `transform` to Schema class
+
+### 0.3.5
+
+* Change pyarrow and pandas type_safe output to be consistent with pyarrow (None for pd.NaT, nan, etc)
+
+### 0.3.4
+
+* Add general FileSystem
+
+### 0.3.3
+
+* Add thread-safe cloudpicklable RunOnce class
+
+### 0.3.2
+
+* extracted TRIAD_DEFAULT_TIMESTAMP as a constant
+
+### <=0.3.1
+
+* Open sourced and docs are ready
+* Added basic utility functions
+* Types and schema are based on pyarrow
+* A better indexed and ordered dict
+* Added ParamDict
+
+
+
+
+%prep
+%autosetup -n triad-0.8.7
+
+%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-triad -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.7-1
+- Package Spec generated