From 55924bfef25a87e7c6d2c547c218d9fed285ec23 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 18 May 2023 04:10:43 +0000 Subject: automatic import of python-cryptocom-exchange --- .gitignore | 1 + python-cryptocom-exchange.spec | 158 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 160 insertions(+) create mode 100644 python-cryptocom-exchange.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..7c87193 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/cryptocom_exchange-0.13.1.tar.gz diff --git a/python-cryptocom-exchange.spec b/python-cryptocom-exchange.spec new file mode 100644 index 0000000..bd6a71d --- /dev/null +++ b/python-cryptocom-exchange.spec @@ -0,0 +1,158 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cryptocom-exchange +Version: 0.13.1 +Release: 1 +Summary: Python 3.7+ async library for crypto.com/exchange API using httpx and websockets +License: MIT +URL: https://pypi.org/project/cryptocom-exchange/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c7/3f/4f43058eab456c1c71f38d93c035b685781b903254bcbe7e4aa07c2a4fe9/cryptocom_exchange-0.13.1.tar.gz +BuildArch: noarch + +Requires: python3-aiolimiter +Requires: python3-async-timeout +Requires: python3-cached-property +Requires: python3-httpx +Requires: python3-websockets + +%description +## Python 3.7+ async library for crypto.com/exchange API using httpx and websockets + +[![Docs Build Status](https://readthedocs.org/projects/cryptocom-exchange/badge/?version=latest&style=flat)](https://readthedocs.org/projects/cryptocom-exchange) +![Test workflow](https://github.com/goincrypto/cryptocom-exchange/actions/workflows/test_release.yml/badge.svg) +[![Maintainability](https://api.codeclimate.com/v1/badges/8d7ffdae54f3c6e86b5a/maintainability)](https://codeclimate.com/github/goincrypto/cryptocom-exchange/maintainability) +[![Test Coverage](https://api.codeclimate.com/v1/badges/8d7ffdae54f3c6e86b5a/test_coverage)](https://codeclimate.com/github/goincrypto/cryptocom-exchange/test_coverage) +[![PyPI implementation](https://img.shields.io/pypi/implementation/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI pyversions](https://img.shields.io/pypi/pyversions/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI license](https://img.shields.io/pypi/l/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI version fury.io](https://badge.fury.io/py/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI download month](https://img.shields.io/pypi/dm/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![Gitter](https://badges.gitter.im/goincrypto/cryptocom-exchange.svg)](https://gitter.im/goincrypto/cryptocom-exchange?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) + +Documentation: [https://cryptocom-exchange.rtfd.io](https://cryptocom-exchange.rtfd.io) + +Exchange original API docs: [https://exchange-docs.crypto.com](https://exchange-docs.crypto.com) + +### Description + +`pip install cryptocom-exchange` or `poetry add cryptocom-exchange` + +- provides all methods to access crypto.com/exchange API (except for websockets temporary) +- full test coverage on real exchange with real money +- simple async methods with custom retries and timeouts + +**Please do not use secret keys, they used only for test purposes** + + + +%package -n python3-cryptocom-exchange +Summary: Python 3.7+ async library for crypto.com/exchange API using httpx and websockets +Provides: python-cryptocom-exchange +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cryptocom-exchange +## Python 3.7+ async library for crypto.com/exchange API using httpx and websockets + +[![Docs Build Status](https://readthedocs.org/projects/cryptocom-exchange/badge/?version=latest&style=flat)](https://readthedocs.org/projects/cryptocom-exchange) +![Test workflow](https://github.com/goincrypto/cryptocom-exchange/actions/workflows/test_release.yml/badge.svg) +[![Maintainability](https://api.codeclimate.com/v1/badges/8d7ffdae54f3c6e86b5a/maintainability)](https://codeclimate.com/github/goincrypto/cryptocom-exchange/maintainability) +[![Test Coverage](https://api.codeclimate.com/v1/badges/8d7ffdae54f3c6e86b5a/test_coverage)](https://codeclimate.com/github/goincrypto/cryptocom-exchange/test_coverage) +[![PyPI implementation](https://img.shields.io/pypi/implementation/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI pyversions](https://img.shields.io/pypi/pyversions/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI license](https://img.shields.io/pypi/l/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI version fury.io](https://badge.fury.io/py/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI download month](https://img.shields.io/pypi/dm/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![Gitter](https://badges.gitter.im/goincrypto/cryptocom-exchange.svg)](https://gitter.im/goincrypto/cryptocom-exchange?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) + +Documentation: [https://cryptocom-exchange.rtfd.io](https://cryptocom-exchange.rtfd.io) + +Exchange original API docs: [https://exchange-docs.crypto.com](https://exchange-docs.crypto.com) + +### Description + +`pip install cryptocom-exchange` or `poetry add cryptocom-exchange` + +- provides all methods to access crypto.com/exchange API (except for websockets temporary) +- full test coverage on real exchange with real money +- simple async methods with custom retries and timeouts + +**Please do not use secret keys, they used only for test purposes** + + + +%package help +Summary: Development documents and examples for cryptocom-exchange +Provides: python3-cryptocom-exchange-doc +%description help +## Python 3.7+ async library for crypto.com/exchange API using httpx and websockets + +[![Docs Build Status](https://readthedocs.org/projects/cryptocom-exchange/badge/?version=latest&style=flat)](https://readthedocs.org/projects/cryptocom-exchange) +![Test workflow](https://github.com/goincrypto/cryptocom-exchange/actions/workflows/test_release.yml/badge.svg) +[![Maintainability](https://api.codeclimate.com/v1/badges/8d7ffdae54f3c6e86b5a/maintainability)](https://codeclimate.com/github/goincrypto/cryptocom-exchange/maintainability) +[![Test Coverage](https://api.codeclimate.com/v1/badges/8d7ffdae54f3c6e86b5a/test_coverage)](https://codeclimate.com/github/goincrypto/cryptocom-exchange/test_coverage) +[![PyPI implementation](https://img.shields.io/pypi/implementation/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI pyversions](https://img.shields.io/pypi/pyversions/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI license](https://img.shields.io/pypi/l/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI version fury.io](https://badge.fury.io/py/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![PyPI download month](https://img.shields.io/pypi/dm/cryptocom-exchange.svg)](https://pypi.python.org/pypi/cryptocom-exchange/) +[![Gitter](https://badges.gitter.im/goincrypto/cryptocom-exchange.svg)](https://gitter.im/goincrypto/cryptocom-exchange?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) + +Documentation: [https://cryptocom-exchange.rtfd.io](https://cryptocom-exchange.rtfd.io) + +Exchange original API docs: [https://exchange-docs.crypto.com](https://exchange-docs.crypto.com) + +### Description + +`pip install cryptocom-exchange` or `poetry add cryptocom-exchange` + +- provides all methods to access crypto.com/exchange API (except for websockets temporary) +- full test coverage on real exchange with real money +- simple async methods with custom retries and timeouts + +**Please do not use secret keys, they used only for test purposes** + + + +%prep +%autosetup -n cryptocom-exchange-0.13.1 + +%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-cryptocom-exchange -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot - 0.13.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..d7db4b8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ffeef203c85fc54552ce5d65d78bef62 cryptocom_exchange-0.13.1.tar.gz -- cgit v1.2.3