summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 23:33:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 23:33:58 +0000
commit905575908b8730cb4411e8155bef6daba19752cb (patch)
tree66bce6a85cd2862f196028fca273213b9f6be709
parent8fc0801361e44d97991e2033183574533738e9a5 (diff)
automatic import of python-sbcommonsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-sbcommons.spec311
-rw-r--r--sources1
3 files changed, 313 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4629c1a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sbcommons-0.0.82.tar.gz
diff --git a/python-sbcommons.spec b/python-sbcommons.spec
new file mode 100644
index 0000000..7f0c898
--- /dev/null
+++ b/python-sbcommons.spec
@@ -0,0 +1,311 @@
+%global _empty_manifest_terminate_build 0
+Name: python-sbcommons
+Version: 0.0.82
+Release: 1
+Summary: Packages shared between several Data related systems in Haypp Group
+License: MIT License
+URL: https://github.com/Snusbolaget
+Source0: https://mirrors.aliyun.com/pypi/web/packages/23/4d/71201b4677155daf83636799358a0df6357a8c3ea76fa62abd3c555a29e9/sbcommons-0.0.82.tar.gz
+BuildArch: noarch
+
+Requires: python3-boto3
+Requires: python3-botocore
+Requires: python3-urllib3
+Requires: python3-requests
+Requires: python3-aws-secretsmanager-caching
+
+%description
+# sbcommons
+
+Packages shared between different lambda functions
+
+### 0.82
+* Modify get_global_exclusions in KlaviyoClient so that we can filter based on exclusion reason or acquire all exclusions regardless of type."
+* Added KlaviyoClientError class.
+
+### 0.81
+* Fixed method in KlaviyoClient for getting all the members of a list. The method should use pagination but it did not.
+
+### 0.80
+* Fixed method in KlaviyoClient for getting global exclusions. The method was previously not using pagination which could potentially result in missing some unsubscribes.
+
+### 0.79
+* Added function in s3 that can move objects from one bucket to another but it also has an option to only move objects that satisfy a certain condition.
+
+### 0.78
+* Fix warnings and cover corner cases in evaluate_recursively.
+
+### 0.77
+- Fix bug in KlaviyoEvent.events_to_df() so that a missing value for an event does not result in the whole dataframe missing the column.
+
+### 0.76
+- Fixed bug in KlaviyoClient.get_events() in how we paginate through the event results.
+- Fixed bug in KlaviyoEvent.events_to_df() so that order of columns is preserved in the generated dataframe.
+
+### 0.75
+- Added subscription related events under klaviyo sub-module.
+- Added KlaviyoClient method for getting all metrics and added an <end_ts> argument in the get_events() method, enabling to extract data from <since_ts> up to <end_ts> (i.e. extracting data for a specific time period).
+
+### 0.74
+- Bug fixes in aws secrets
+
+### 0.73
+- Added a new UDF to the utils for all functions. To be able to evaluate to python objects.
+- Also added to the secrets module to evaluate all return secrets from AWS
+
+### 0.72
+- Added decorator function that posts to SNS topic if the decorated function raises an exception.
+
+### 0.71
+- Added new functionality to CRM client to be able to post events for a metric and also use translation entries
+
+### 0.70
+- Added a new function to get secrets from AWS. https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_GetSecretValue.html
+
+### 0.69
+- Added utility class for sending messages to slack.
+
+### 0.68
+- Added new function to update events in a metric for Klayiyo Client
+
+### 0.67
+- Added abstract class crm.client and made Klaviyo and Symplify clients inherit from it.
+- Added metric and event class under crm.klaviyo.
+- Changed typing import in parse_utils, importing OrderedDict instead of MutableMapping.
+
+### 0.66
+- Fixed issue with RotatingFileHandler appending wrong suffixes to log file names.
+
+### 0.65 - Deprecated
+- Added the RotatingFileHandler class for time-rotating logging files.
+
+### 0.64
+- Minor bug fixes to allow for package dependencies
+
+### 0.63
+- Upgraded all the packages to python 3.9 packages
+
+### 0.62
+
+- Added parse_utils sub-module for parsing configuration files and other text files.
+- Added an execute_query method to aws.redshift.RedshiftClient for performing select statements given a string parameter.
+- Making teams into a utility class instead of a client
+
+### 0.61 - Deprecated
+- Added teams client
+
+
+%package -n python3-sbcommons
+Summary: Packages shared between several Data related systems in Haypp Group
+Provides: python-sbcommons
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-sbcommons
+# sbcommons
+
+Packages shared between different lambda functions
+
+### 0.82
+* Modify get_global_exclusions in KlaviyoClient so that we can filter based on exclusion reason or acquire all exclusions regardless of type."
+* Added KlaviyoClientError class.
+
+### 0.81
+* Fixed method in KlaviyoClient for getting all the members of a list. The method should use pagination but it did not.
+
+### 0.80
+* Fixed method in KlaviyoClient for getting global exclusions. The method was previously not using pagination which could potentially result in missing some unsubscribes.
+
+### 0.79
+* Added function in s3 that can move objects from one bucket to another but it also has an option to only move objects that satisfy a certain condition.
+
+### 0.78
+* Fix warnings and cover corner cases in evaluate_recursively.
+
+### 0.77
+- Fix bug in KlaviyoEvent.events_to_df() so that a missing value for an event does not result in the whole dataframe missing the column.
+
+### 0.76
+- Fixed bug in KlaviyoClient.get_events() in how we paginate through the event results.
+- Fixed bug in KlaviyoEvent.events_to_df() so that order of columns is preserved in the generated dataframe.
+
+### 0.75
+- Added subscription related events under klaviyo sub-module.
+- Added KlaviyoClient method for getting all metrics and added an <end_ts> argument in the get_events() method, enabling to extract data from <since_ts> up to <end_ts> (i.e. extracting data for a specific time period).
+
+### 0.74
+- Bug fixes in aws secrets
+
+### 0.73
+- Added a new UDF to the utils for all functions. To be able to evaluate to python objects.
+- Also added to the secrets module to evaluate all return secrets from AWS
+
+### 0.72
+- Added decorator function that posts to SNS topic if the decorated function raises an exception.
+
+### 0.71
+- Added new functionality to CRM client to be able to post events for a metric and also use translation entries
+
+### 0.70
+- Added a new function to get secrets from AWS. https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_GetSecretValue.html
+
+### 0.69
+- Added utility class for sending messages to slack.
+
+### 0.68
+- Added new function to update events in a metric for Klayiyo Client
+
+### 0.67
+- Added abstract class crm.client and made Klaviyo and Symplify clients inherit from it.
+- Added metric and event class under crm.klaviyo.
+- Changed typing import in parse_utils, importing OrderedDict instead of MutableMapping.
+
+### 0.66
+- Fixed issue with RotatingFileHandler appending wrong suffixes to log file names.
+
+### 0.65 - Deprecated
+- Added the RotatingFileHandler class for time-rotating logging files.
+
+### 0.64
+- Minor bug fixes to allow for package dependencies
+
+### 0.63
+- Upgraded all the packages to python 3.9 packages
+
+### 0.62
+
+- Added parse_utils sub-module for parsing configuration files and other text files.
+- Added an execute_query method to aws.redshift.RedshiftClient for performing select statements given a string parameter.
+- Making teams into a utility class instead of a client
+
+### 0.61 - Deprecated
+- Added teams client
+
+
+%package help
+Summary: Development documents and examples for sbcommons
+Provides: python3-sbcommons-doc
+%description help
+# sbcommons
+
+Packages shared between different lambda functions
+
+### 0.82
+* Modify get_global_exclusions in KlaviyoClient so that we can filter based on exclusion reason or acquire all exclusions regardless of type."
+* Added KlaviyoClientError class.
+
+### 0.81
+* Fixed method in KlaviyoClient for getting all the members of a list. The method should use pagination but it did not.
+
+### 0.80
+* Fixed method in KlaviyoClient for getting global exclusions. The method was previously not using pagination which could potentially result in missing some unsubscribes.
+
+### 0.79
+* Added function in s3 that can move objects from one bucket to another but it also has an option to only move objects that satisfy a certain condition.
+
+### 0.78
+* Fix warnings and cover corner cases in evaluate_recursively.
+
+### 0.77
+- Fix bug in KlaviyoEvent.events_to_df() so that a missing value for an event does not result in the whole dataframe missing the column.
+
+### 0.76
+- Fixed bug in KlaviyoClient.get_events() in how we paginate through the event results.
+- Fixed bug in KlaviyoEvent.events_to_df() so that order of columns is preserved in the generated dataframe.
+
+### 0.75
+- Added subscription related events under klaviyo sub-module.
+- Added KlaviyoClient method for getting all metrics and added an <end_ts> argument in the get_events() method, enabling to extract data from <since_ts> up to <end_ts> (i.e. extracting data for a specific time period).
+
+### 0.74
+- Bug fixes in aws secrets
+
+### 0.73
+- Added a new UDF to the utils for all functions. To be able to evaluate to python objects.
+- Also added to the secrets module to evaluate all return secrets from AWS
+
+### 0.72
+- Added decorator function that posts to SNS topic if the decorated function raises an exception.
+
+### 0.71
+- Added new functionality to CRM client to be able to post events for a metric and also use translation entries
+
+### 0.70
+- Added a new function to get secrets from AWS. https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_GetSecretValue.html
+
+### 0.69
+- Added utility class for sending messages to slack.
+
+### 0.68
+- Added new function to update events in a metric for Klayiyo Client
+
+### 0.67
+- Added abstract class crm.client and made Klaviyo and Symplify clients inherit from it.
+- Added metric and event class under crm.klaviyo.
+- Changed typing import in parse_utils, importing OrderedDict instead of MutableMapping.
+
+### 0.66
+- Fixed issue with RotatingFileHandler appending wrong suffixes to log file names.
+
+### 0.65 - Deprecated
+- Added the RotatingFileHandler class for time-rotating logging files.
+
+### 0.64
+- Minor bug fixes to allow for package dependencies
+
+### 0.63
+- Upgraded all the packages to python 3.9 packages
+
+### 0.62
+
+- Added parse_utils sub-module for parsing configuration files and other text files.
+- Added an execute_query method to aws.redshift.RedshiftClient for performing select statements given a string parameter.
+- Making teams into a utility class instead of a client
+
+### 0.61 - Deprecated
+- Added teams client
+
+
+%prep
+%autosetup -n sbcommons-0.0.82
+
+%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-sbcommons -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.82-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..9c3936a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+34620f007f32139b67cb9b8c5aad6690 sbcommons-0.0.82.tar.gz