summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 09:51:31 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 09:51:31 +0000
commitac8bdea6990c84a407a2dfd786b649034ce88fcd (patch)
treea28f99104120542403cc5830be39c64a9f84ce18
parentb2f47f62373326012d57642b2e0bc5f7517aaefc (diff)
automatic import of python-trading-api-wrappersopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-trading-api-wrappers.spec685
-rw-r--r--sources1
3 files changed, 687 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4d27163 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/trading-api-wrappers-0.18.1.tar.gz
diff --git a/python-trading-api-wrappers.spec b/python-trading-api-wrappers.spec
new file mode 100644
index 0000000..2e747aa
--- /dev/null
+++ b/python-trading-api-wrappers.spec
@@ -0,0 +1,685 @@
+%global _empty_manifest_terminate_build 0
+Name: python-trading-api-wrappers
+Version: 0.18.1
+Release: 1
+Summary: Clients for popular Crypto Exchanges and other useful services
+License: MIT
+URL: https://github.com/snake575/trading-bots
+Source0: https://mirrors.aliyun.com/pypi/web/packages/e2/f7/b1f36f38370f888c884d2559514f74d8ce622553881e9b1338ef453f0a4a/trading-api-wrappers-0.18.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-backoff
+Requires: python3-importlib-metadata
+Requires: python3-requests
+Requires: python3-requests-toolbelt
+
+%description
+# Trading API Wrappers
+
+> Python 3.6+ clients for popular **Crypto Exchanges** and other useful services.
+
+> **Disclaimer:** Still at an early stage of development. Rapidly evolving APIs.
+
+[![PyPI - License](https://img.shields.io/pypi/l/trading-api-wrappers.svg)](https://opensource.org/licenses/MIT)
+![PyPI - Python Version](https://img.shields.io/pypi/pyversions/trading-api-wrappers.svg)
+[![PyPI](https://img.shields.io/pypi/v/trading-api-wrappers.svg)](https://pypi.org/project/trading-api-wrappers/)
+![PyPI - Status](https://img.shields.io/pypi/status/trading-api-wrappers.svg)
+[![Updates](https://pyup.io/repos/github/delta575/trading-api-wrappers/shield.svg)](https://pyup.io/repos/github/delta575/trading-api-wrappers/)
+
+Supported APIs:
+
+- [Buda](https://www.buda.com)
+- [Bitfinex](https://www.bitfinex.com)
+- [Bitstamp](https://www.bitstamp.net)
+- [CoinDesk](https://www.coindesk.com)
+- [CoinMarketCap](https://coinmarketcap.com)
+- [CryptoMKT](https://www.cryptomkt.com)
+- [Kraken](https://www.kraken.com)
+- [OpenExchangeRates](https://openexchangerates.org)
+
+## Installation
+
+### Requirements
+
+- Python 3.6+
+
+To install, simply use `poetry` (or `pip`, of course):
+
+```bash
+$ poetry add trading-api-wrappers
+```
+
+### Dev setup
+
+```bash
+$ poetry install
+```
+
+Rename `.env.example` to `.env` and configure your credentials (for tests)
+
+## Usage
+
+### Buda
+
+Public API:
+
+```python
+from trading_api_wrappers import Buda
+client = Buda.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Buda
+client = Buda.Auth(API_KEY, API_SECRET)
+```
+
+Buda API Doc:
+https://api.buda.com
+
+### Bitfinex
+
+Public API:
+
+```python
+from trading_api_wrappers import Bitfinex
+client = Bitfinex.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Bitfinex
+client = Bitfinex.Auth(API_KEY, API_SECRET)
+```
+
+Bitfinex API Doc:
+https://bitfinex.readme.io/v1/docs
+
+### Bitstamp
+
+Public API:
+
+```python
+from trading_api_wrappers import Bitstamp
+client = Bitstamp.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Bitstamp
+client = Bitstamp.Auth(API_KEY, API_SECRET, CUSTOMER_ID)
+```
+
+Bitstamp API Doc:
+https://www.bitstamp.net/api
+
+### Kraken
+
+Public API:
+
+```python
+from trading_api_wrappers import Kraken
+client = Kraken.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Kraken
+client = Kraken.Auth(API_KEY, API_SECRET)
+```
+
+Kraken API Doc:
+https://www.kraken.com/help/api
+
+### CoinDesk
+
+```python
+from trading_api_wrappers import CoinDesk
+client = CoinDesk()
+```
+
+CoinDesk API Doc:
+https://www.coindesk.com/api
+
+### CoinMarketCap
+
+```python
+from trading_api_wrappers import CoinMarketCap
+client = CoinMarketCap()
+```
+
+CoinMarketCap API Doc:
+https://coinmarketcap.com/api
+
+### CryptoMKT
+
+Public API:
+
+```python
+from trading_api_wrappers import CryptoMKT
+client = CryptoMKT.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import CryptoMKT
+client = CryptoMKT.Auth(API_KEY, API_SECRET)
+```
+
+CryptoMKT API Doc:
+https://developers.cryptomkt.com
+
+### OpenExchangeRates
+
+```python
+from trading_api_wrappers import OXR
+client = OXR(APP_ID)
+```
+
+OpenExchangeRates API Doc:
+https://docs.openexchangerates.org
+
+### CurrencyLayer
+
+```python
+from trading_api_wrappers import CurrencyLayer
+client = CurrencyLayer(ACCESS_KEY)
+```
+
+CurrencyLayer API Doc:
+https://currencylayer.com/documentation
+
+## Licence
+
+[![PyPI - License](https://img.shields.io/pypi/l/trading-api-wrappers.svg)](https://opensource.org/licenses/MIT)
+[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers?ref=badge_shield)
+
+The MIT License
+
+Copyright © 2017
+[Felipe Aránguiz](mailto://faranguiz575@gmail.com) | [Sebastián Aránguiz](mailto://sarang575@gmail.com)
+
+See [LICENSE](LICENSE)
+
+[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers?ref=badge_large)
+
+## Donations
+
+Bitcoin:
+
+ 186kDw9LFcPvup17YSrWZbFqdZzELUFad3
+
+Ether:
+
+ 0xeF38fA6c0a37A1BdB60CADd7f6e71F351F6d2583
+
+
+%package -n python3-trading-api-wrappers
+Summary: Clients for popular Crypto Exchanges and other useful services
+Provides: python-trading-api-wrappers
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-trading-api-wrappers
+# Trading API Wrappers
+
+> Python 3.6+ clients for popular **Crypto Exchanges** and other useful services.
+
+> **Disclaimer:** Still at an early stage of development. Rapidly evolving APIs.
+
+[![PyPI - License](https://img.shields.io/pypi/l/trading-api-wrappers.svg)](https://opensource.org/licenses/MIT)
+![PyPI - Python Version](https://img.shields.io/pypi/pyversions/trading-api-wrappers.svg)
+[![PyPI](https://img.shields.io/pypi/v/trading-api-wrappers.svg)](https://pypi.org/project/trading-api-wrappers/)
+![PyPI - Status](https://img.shields.io/pypi/status/trading-api-wrappers.svg)
+[![Updates](https://pyup.io/repos/github/delta575/trading-api-wrappers/shield.svg)](https://pyup.io/repos/github/delta575/trading-api-wrappers/)
+
+Supported APIs:
+
+- [Buda](https://www.buda.com)
+- [Bitfinex](https://www.bitfinex.com)
+- [Bitstamp](https://www.bitstamp.net)
+- [CoinDesk](https://www.coindesk.com)
+- [CoinMarketCap](https://coinmarketcap.com)
+- [CryptoMKT](https://www.cryptomkt.com)
+- [Kraken](https://www.kraken.com)
+- [OpenExchangeRates](https://openexchangerates.org)
+
+## Installation
+
+### Requirements
+
+- Python 3.6+
+
+To install, simply use `poetry` (or `pip`, of course):
+
+```bash
+$ poetry add trading-api-wrappers
+```
+
+### Dev setup
+
+```bash
+$ poetry install
+```
+
+Rename `.env.example` to `.env` and configure your credentials (for tests)
+
+## Usage
+
+### Buda
+
+Public API:
+
+```python
+from trading_api_wrappers import Buda
+client = Buda.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Buda
+client = Buda.Auth(API_KEY, API_SECRET)
+```
+
+Buda API Doc:
+https://api.buda.com
+
+### Bitfinex
+
+Public API:
+
+```python
+from trading_api_wrappers import Bitfinex
+client = Bitfinex.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Bitfinex
+client = Bitfinex.Auth(API_KEY, API_SECRET)
+```
+
+Bitfinex API Doc:
+https://bitfinex.readme.io/v1/docs
+
+### Bitstamp
+
+Public API:
+
+```python
+from trading_api_wrappers import Bitstamp
+client = Bitstamp.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Bitstamp
+client = Bitstamp.Auth(API_KEY, API_SECRET, CUSTOMER_ID)
+```
+
+Bitstamp API Doc:
+https://www.bitstamp.net/api
+
+### Kraken
+
+Public API:
+
+```python
+from trading_api_wrappers import Kraken
+client = Kraken.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Kraken
+client = Kraken.Auth(API_KEY, API_SECRET)
+```
+
+Kraken API Doc:
+https://www.kraken.com/help/api
+
+### CoinDesk
+
+```python
+from trading_api_wrappers import CoinDesk
+client = CoinDesk()
+```
+
+CoinDesk API Doc:
+https://www.coindesk.com/api
+
+### CoinMarketCap
+
+```python
+from trading_api_wrappers import CoinMarketCap
+client = CoinMarketCap()
+```
+
+CoinMarketCap API Doc:
+https://coinmarketcap.com/api
+
+### CryptoMKT
+
+Public API:
+
+```python
+from trading_api_wrappers import CryptoMKT
+client = CryptoMKT.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import CryptoMKT
+client = CryptoMKT.Auth(API_KEY, API_SECRET)
+```
+
+CryptoMKT API Doc:
+https://developers.cryptomkt.com
+
+### OpenExchangeRates
+
+```python
+from trading_api_wrappers import OXR
+client = OXR(APP_ID)
+```
+
+OpenExchangeRates API Doc:
+https://docs.openexchangerates.org
+
+### CurrencyLayer
+
+```python
+from trading_api_wrappers import CurrencyLayer
+client = CurrencyLayer(ACCESS_KEY)
+```
+
+CurrencyLayer API Doc:
+https://currencylayer.com/documentation
+
+## Licence
+
+[![PyPI - License](https://img.shields.io/pypi/l/trading-api-wrappers.svg)](https://opensource.org/licenses/MIT)
+[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers?ref=badge_shield)
+
+The MIT License
+
+Copyright © 2017
+[Felipe Aránguiz](mailto://faranguiz575@gmail.com) | [Sebastián Aránguiz](mailto://sarang575@gmail.com)
+
+See [LICENSE](LICENSE)
+
+[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers?ref=badge_large)
+
+## Donations
+
+Bitcoin:
+
+ 186kDw9LFcPvup17YSrWZbFqdZzELUFad3
+
+Ether:
+
+ 0xeF38fA6c0a37A1BdB60CADd7f6e71F351F6d2583
+
+
+%package help
+Summary: Development documents and examples for trading-api-wrappers
+Provides: python3-trading-api-wrappers-doc
+%description help
+# Trading API Wrappers
+
+> Python 3.6+ clients for popular **Crypto Exchanges** and other useful services.
+
+> **Disclaimer:** Still at an early stage of development. Rapidly evolving APIs.
+
+[![PyPI - License](https://img.shields.io/pypi/l/trading-api-wrappers.svg)](https://opensource.org/licenses/MIT)
+![PyPI - Python Version](https://img.shields.io/pypi/pyversions/trading-api-wrappers.svg)
+[![PyPI](https://img.shields.io/pypi/v/trading-api-wrappers.svg)](https://pypi.org/project/trading-api-wrappers/)
+![PyPI - Status](https://img.shields.io/pypi/status/trading-api-wrappers.svg)
+[![Updates](https://pyup.io/repos/github/delta575/trading-api-wrappers/shield.svg)](https://pyup.io/repos/github/delta575/trading-api-wrappers/)
+
+Supported APIs:
+
+- [Buda](https://www.buda.com)
+- [Bitfinex](https://www.bitfinex.com)
+- [Bitstamp](https://www.bitstamp.net)
+- [CoinDesk](https://www.coindesk.com)
+- [CoinMarketCap](https://coinmarketcap.com)
+- [CryptoMKT](https://www.cryptomkt.com)
+- [Kraken](https://www.kraken.com)
+- [OpenExchangeRates](https://openexchangerates.org)
+
+## Installation
+
+### Requirements
+
+- Python 3.6+
+
+To install, simply use `poetry` (or `pip`, of course):
+
+```bash
+$ poetry add trading-api-wrappers
+```
+
+### Dev setup
+
+```bash
+$ poetry install
+```
+
+Rename `.env.example` to `.env` and configure your credentials (for tests)
+
+## Usage
+
+### Buda
+
+Public API:
+
+```python
+from trading_api_wrappers import Buda
+client = Buda.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Buda
+client = Buda.Auth(API_KEY, API_SECRET)
+```
+
+Buda API Doc:
+https://api.buda.com
+
+### Bitfinex
+
+Public API:
+
+```python
+from trading_api_wrappers import Bitfinex
+client = Bitfinex.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Bitfinex
+client = Bitfinex.Auth(API_KEY, API_SECRET)
+```
+
+Bitfinex API Doc:
+https://bitfinex.readme.io/v1/docs
+
+### Bitstamp
+
+Public API:
+
+```python
+from trading_api_wrappers import Bitstamp
+client = Bitstamp.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Bitstamp
+client = Bitstamp.Auth(API_KEY, API_SECRET, CUSTOMER_ID)
+```
+
+Bitstamp API Doc:
+https://www.bitstamp.net/api
+
+### Kraken
+
+Public API:
+
+```python
+from trading_api_wrappers import Kraken
+client = Kraken.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import Kraken
+client = Kraken.Auth(API_KEY, API_SECRET)
+```
+
+Kraken API Doc:
+https://www.kraken.com/help/api
+
+### CoinDesk
+
+```python
+from trading_api_wrappers import CoinDesk
+client = CoinDesk()
+```
+
+CoinDesk API Doc:
+https://www.coindesk.com/api
+
+### CoinMarketCap
+
+```python
+from trading_api_wrappers import CoinMarketCap
+client = CoinMarketCap()
+```
+
+CoinMarketCap API Doc:
+https://coinmarketcap.com/api
+
+### CryptoMKT
+
+Public API:
+
+```python
+from trading_api_wrappers import CryptoMKT
+client = CryptoMKT.Public()
+```
+
+Authenticated API:
+
+```python
+from trading_api_wrappers import CryptoMKT
+client = CryptoMKT.Auth(API_KEY, API_SECRET)
+```
+
+CryptoMKT API Doc:
+https://developers.cryptomkt.com
+
+### OpenExchangeRates
+
+```python
+from trading_api_wrappers import OXR
+client = OXR(APP_ID)
+```
+
+OpenExchangeRates API Doc:
+https://docs.openexchangerates.org
+
+### CurrencyLayer
+
+```python
+from trading_api_wrappers import CurrencyLayer
+client = CurrencyLayer(ACCESS_KEY)
+```
+
+CurrencyLayer API Doc:
+https://currencylayer.com/documentation
+
+## Licence
+
+[![PyPI - License](https://img.shields.io/pypi/l/trading-api-wrappers.svg)](https://opensource.org/licenses/MIT)
+[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers?ref=badge_shield)
+
+The MIT License
+
+Copyright © 2017
+[Felipe Aránguiz](mailto://faranguiz575@gmail.com) | [Sebastián Aránguiz](mailto://sarang575@gmail.com)
+
+See [LICENSE](LICENSE)
+
+[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdelta575%2Ftrading-api-wrappers?ref=badge_large)
+
+## Donations
+
+Bitcoin:
+
+ 186kDw9LFcPvup17YSrWZbFqdZzELUFad3
+
+Ether:
+
+ 0xeF38fA6c0a37A1BdB60CADd7f6e71F351F6d2583
+
+
+%prep
+%autosetup -n trading-api-wrappers-0.18.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-trading-api-wrappers -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.18.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a6735bb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9f4484026f50c7f29c8662762fb0e3c3 trading-api-wrappers-0.18.1.tar.gz