From 73e0be0b91578ecb3de6701c8b9f8966821e6084 Mon Sep 17 00:00:00 2001 From: ljnsn <82611987+ljnsn@users.noreply.github.com> Date: Thu, 7 Mar 2024 02:23:50 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20add=20classifiers=20(#10)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🐛 fix: add classifiers * 🐛 fix: export base operations --- pyproject.toml | 16 ++++ src/coinapi/models/operations/__init__.py | 106 +++++++++++----------- 2 files changed, 70 insertions(+), 52 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dff3f50..5623c86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,22 @@ dependencies = [ requires-python = ">=3.10" readme = "README.md" license = { text = "MIT" } +repository = "https://github.com/ljnsn/coinapi-rest" +keywords = ["cryptocurrency", "crypto", "prices", "coinapi"] +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3 :: Only", + "Topic :: Software Development :: Libraries", + "Topic :: Software Development :: Libraries :: Python Modules", + "Typing :: Typed", +] [build-system] requires = ["pdm-backend"] diff --git a/src/coinapi/models/operations/__init__.py b/src/coinapi/models/operations/__init__.py index 86a2039..59fcc01 100644 --- a/src/coinapi/models/operations/__init__.py +++ b/src/coinapi/models/operations/__init__.py @@ -1,56 +1,8 @@ """Operations.""" -from coinapi.models.operations.get_specific_rate import * -from coinapi.models.operations.get_v1_assets import * -from coinapi.models.operations.get_v1_assets_asset_id_ import * -from coinapi.models.operations.get_v1_assets_icons_size_ import * -from coinapi.models.operations.get_v1_exchangerate_asset_id_base_ import * -from coinapi.models.operations.get_v1_exchangerate_asset_id_base_asset_id_quote_history import * -from coinapi.models.operations.get_v1_exchangerate_history_periods import * -from coinapi.models.operations.get_v1_exchanges import * -from coinapi.models.operations.get_v1_exchanges_exchange_id_ import * -from coinapi.models.operations.get_v1_exchanges_icons_size_ import * -from coinapi.models.operations.get_v1_indexes import * -from coinapi.models.operations.get_v1_indexes_index_id_ import * -from coinapi.models.operations.get_v1_indexes_index_id_history import * -from coinapi.models.operations.get_v1_indexes_index_id_timeseries import * -from coinapi.models.operations.get_v1_indexes_index_id_timeseries_to_be_announced import * -from coinapi.models.operations.get_v1_metadata import * -from coinapi.models.operations.get_v1_metrics_asset_current import * -from coinapi.models.operations.get_v1_metrics_asset_history import * -from coinapi.models.operations.get_v1_metrics_asset_listing import * -from coinapi.models.operations.get_v1_metrics_exchange_current import * -from coinapi.models.operations.get_v1_metrics_exchange_history import * -from coinapi.models.operations.get_v1_metrics_exchange_listing import * -from coinapi.models.operations.get_v1_metrics_listing import * -from coinapi.models.operations.get_v1_metrics_symbol_current import * -from coinapi.models.operations.get_v1_metrics_symbol_history import * -from coinapi.models.operations.get_v1_metrics_symbol_listing import * -from coinapi.models.operations.get_v1_ohlcv_exchanges_exchange_id_history import * -from coinapi.models.operations.get_v1_ohlcv_periods import * -from coinapi.models.operations.get_v1_ohlcv_symbol_id_history import * -from coinapi.models.operations.get_v1_ohlcv_symbol_id_latest import * -from coinapi.models.operations.get_v1_orderbooks3_current import * -from coinapi.models.operations.get_v1_orderbooks3_symbol_id_current import * -from coinapi.models.operations.get_v1_orderbooks_symbol_id_current import * -from coinapi.models.operations.get_v1_orderbooks_symbol_id_depth_current import * -from coinapi.models.operations.get_v1_orderbooks_symbol_id_history import * -from coinapi.models.operations.get_v1_orderbooks_symbol_id_latest import * -from coinapi.models.operations.get_v1_quotes_current import * -from coinapi.models.operations.get_v1_quotes_latest import * -from coinapi.models.operations.get_v1_quotes_symbol_id_current import * -from coinapi.models.operations.get_v1_quotes_symbol_id_history import * -from coinapi.models.operations.get_v1_quotes_symbol_id_latest import * -from coinapi.models.operations.get_v1_symbols import * -from coinapi.models.operations.get_v1_symbols_exchange_id_ import * -from coinapi.models.operations.get_v1_symbols_map_exchange_id_ import * -from coinapi.models.operations.get_v1_trades_latest import * -from coinapi.models.operations.get_v1_trades_symbol_id_history import * -from coinapi.models.operations.get_v1_trades_symbol_id_latest import * -from coinapi.models.operations.post_v1_indexes_json import * -from coinapi.models.operations.put_v1_indexes_index_id_json import * - -__all__ = [ +__all__ = ( + "CoinAPIRequest", + "CoinAPIResponse", "GetSpecificRateRequest", "GetSpecificRateResponse", "GetV1AssetsAssetIDRequest", @@ -143,4 +95,54 @@ "PostV1IndexesJSONResponse", "PutV1IndexesIndexIDJSONRequest", "PutV1IndexesIndexIDJSONResponse", -] +) +from coinapi.models.operations.base import CoinAPIRequest, CoinAPIResponse +from coinapi.models.operations.get_specific_rate import * +from coinapi.models.operations.get_v1_assets import * +from coinapi.models.operations.get_v1_assets_asset_id_ import * +from coinapi.models.operations.get_v1_assets_icons_size_ import * +from coinapi.models.operations.get_v1_exchangerate_asset_id_base_ import * +from coinapi.models.operations.get_v1_exchangerate_asset_id_base_asset_id_quote_history import * +from coinapi.models.operations.get_v1_exchangerate_history_periods import * +from coinapi.models.operations.get_v1_exchanges import * +from coinapi.models.operations.get_v1_exchanges_exchange_id_ import * +from coinapi.models.operations.get_v1_exchanges_icons_size_ import * +from coinapi.models.operations.get_v1_indexes import * +from coinapi.models.operations.get_v1_indexes_index_id_ import * +from coinapi.models.operations.get_v1_indexes_index_id_history import * +from coinapi.models.operations.get_v1_indexes_index_id_timeseries import * +from coinapi.models.operations.get_v1_indexes_index_id_timeseries_to_be_announced import * +from coinapi.models.operations.get_v1_metadata import * +from coinapi.models.operations.get_v1_metrics_asset_current import * +from coinapi.models.operations.get_v1_metrics_asset_history import * +from coinapi.models.operations.get_v1_metrics_asset_listing import * +from coinapi.models.operations.get_v1_metrics_exchange_current import * +from coinapi.models.operations.get_v1_metrics_exchange_history import * +from coinapi.models.operations.get_v1_metrics_exchange_listing import * +from coinapi.models.operations.get_v1_metrics_listing import * +from coinapi.models.operations.get_v1_metrics_symbol_current import * +from coinapi.models.operations.get_v1_metrics_symbol_history import * +from coinapi.models.operations.get_v1_metrics_symbol_listing import * +from coinapi.models.operations.get_v1_ohlcv_exchanges_exchange_id_history import * +from coinapi.models.operations.get_v1_ohlcv_periods import * +from coinapi.models.operations.get_v1_ohlcv_symbol_id_history import * +from coinapi.models.operations.get_v1_ohlcv_symbol_id_latest import * +from coinapi.models.operations.get_v1_orderbooks3_current import * +from coinapi.models.operations.get_v1_orderbooks3_symbol_id_current import * +from coinapi.models.operations.get_v1_orderbooks_symbol_id_current import * +from coinapi.models.operations.get_v1_orderbooks_symbol_id_depth_current import * +from coinapi.models.operations.get_v1_orderbooks_symbol_id_history import * +from coinapi.models.operations.get_v1_orderbooks_symbol_id_latest import * +from coinapi.models.operations.get_v1_quotes_current import * +from coinapi.models.operations.get_v1_quotes_latest import * +from coinapi.models.operations.get_v1_quotes_symbol_id_current import * +from coinapi.models.operations.get_v1_quotes_symbol_id_history import * +from coinapi.models.operations.get_v1_quotes_symbol_id_latest import * +from coinapi.models.operations.get_v1_symbols import * +from coinapi.models.operations.get_v1_symbols_exchange_id_ import * +from coinapi.models.operations.get_v1_symbols_map_exchange_id_ import * +from coinapi.models.operations.get_v1_trades_latest import * +from coinapi.models.operations.get_v1_trades_symbol_id_history import * +from coinapi.models.operations.get_v1_trades_symbol_id_latest import * +from coinapi.models.operations.post_v1_indexes_json import * +from coinapi.models.operations.put_v1_indexes_index_id_json import *