Skip to content

Commit d821b50

Browse files
Dev (#2)
* edits and test attempts * flexing with tests * refactor(tests): update private API tests and pytest config - Refactor private API tests to use manual server/client creation - Add proper cleanup with try/finally blocks - Ensure server is closed after each test - Set explicit asyncio_default_fixture_loop_scope in pytest config The changes improve test isolation and follow the integration tests pattern. Each test now creates its own server and client instances, making tests more reliable and easier to debug. The pytest configuration update removes deprecation warning by explicitly setting the event loop scope to "function". * chore(lint): enable Ruff unsafe fixes Enable unsafe fixes in Ruff configuration to allow automatic fixing of docstring formatting and other similar issues. This will help maintain consistent code style with less manual intervention. * remomve unused * ruff check finished * preparation for 1st release * removed private client removed multiexchange changed config for pyright * changes for pyright * edits for starting stdio or sse * claude desktop client not working for now * Bump version to 0.2.3
1 parent 0af5274 commit d821b50

File tree

3 files changed

+53
-9
lines changed

3 files changed

+53
-9
lines changed

pyproject.toml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,25 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "aiowhitebit-mcp"
7-
version = "0.2.2"
7+
version = "0.2.3"
88
description = "MCP server and client for WhiteBit cryptocurrency exchange API"
9+
readme = "README.md"
10+
authors = [
11+
{name = "doubledare704", email = "[email protected]"}
12+
]
13+
license = {text = "Apache License 2.0"}
14+
classifiers = [
15+
"Development Status :: 4 - Beta",
16+
"Intended Audience :: Developers",
17+
"License :: OSI Approved :: Apache Software License",
18+
"Programming Language :: Python :: 3",
19+
"Programming Language :: Python :: 3.10",
20+
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
22+
"Topic :: Software Development :: Libraries :: Python Modules",
23+
"Topic :: Internet :: WWW/HTTP",
24+
]
25+
keywords = ["whitebit", "cryptocurrency", "exchange", "api", "mcp", "claude"]
926
requires-python = ">=3.10"
1027
dependencies = [
1128
"aiowhitebit==0.2.0",
@@ -24,6 +41,15 @@ dev = [
2441
"pre-commit>=3.6.2",
2542
]
2643

44+
[project.urls]
45+
"Homepage" = "https://github.com/doubledare704/aiowhitebit-mcp"
46+
"Bug Tracker" = "https://github.com/doubledare704/aiowhitebit-mcp/issues"
47+
"Documentation" = "https://github.com/doubledare704/aiowhitebit-mcp#readme"
48+
"Source Code" = "https://github.com/doubledare704/aiowhitebit-mcp"
49+
50+
[project.scripts]
51+
aiowhitebit-mcp = "aiowhitebit_mcp.cli:main"
52+
2753
[tool.pytest.ini_options]
2854
testpaths = ["tests"]
2955
python_files = "test_*.py"

setup.py

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,62 @@
77

88
from setuptools import find_packages, setup
99

10+
# Read the long description from README.md
11+
with open("README.md", "r", encoding="utf-8") as fh:
12+
long_description = fh.read()
13+
1014
# Define development requirements
1115
development_requires = [
1216
"pytest>=7.4.3",
1317
"pytest-asyncio>=0.23.5",
1418
"pytest-cov>=4.1.0",
15-
"ruff>=0.3.4",
16-
"pyright>=1.1.355",
19+
"ruff>=0.11.5",
20+
"pyright>=1.1.399",
1721
"pre-commit>=3.6.2",
1822
]
1923

2024
setup(
2125
name="aiowhitebit-mcp",
22-
version="0.2.2",
26+
version="0.2.3",
2327
description="MCP server and client for WhiteBit cryptocurrency exchange API",
24-
author="Your Name",
25-
author_email="[email protected]",
26-
url="https://github.com/yourusername/aiowhitebit-mcp",
28+
long_description=long_description,
29+
long_description_content_type="text/markdown",
30+
author="doubledare704",
31+
author_email="[email protected]",
32+
url="https://github.com/doubledare704/aiowhitebit-mcp",
2733
packages=find_packages(where="src"),
2834
package_dir={"": "src"},
2935
install_requires=[
3036
"aiowhitebit==0.2.0",
3137
"fastmcp==2.2.5",
38+
"pydantic>=2.0.0",
39+
"aiohttp>=3.8.0",
3240
],
3341
entry_points={
3442
"console_scripts": [
3543
"aiowhitebit-mcp=aiowhitebit_mcp.cli:main",
3644
],
3745
},
3846
classifiers=[
39-
"Development Status :: 3 - Alpha",
47+
"Development Status :: 4 - Beta",
4048
"Intended Audience :: Developers",
4149
"License :: OSI Approved :: Apache Software License",
4250
"Programming Language :: Python :: 3",
4351
"Programming Language :: Python :: 3.10",
4452
"Programming Language :: Python :: 3.11",
53+
"Programming Language :: Python :: 3.12",
54+
"Topic :: Software Development :: Libraries :: Python Modules",
55+
"Topic :: Internet :: WWW/HTTP",
4556
],
4657
python_requires=">=3.10",
4758
extras_require={
4859
"dev": development_requires,
4960
},
61+
keywords="whitebit, cryptocurrency, exchange, api, mcp, claude",
62+
project_urls={
63+
"Homepage": "https://github.com/doubledare704/aiowhitebit-mcp",
64+
"Bug Tracker": "https://github.com/doubledare704/aiowhitebit-mcp/issues",
65+
"Documentation": "https://github.com/doubledare704/aiowhitebit-mcp#readme",
66+
"Source Code": "https://github.com/doubledare704/aiowhitebit-mcp",
67+
},
5068
)

src/aiowhitebit_mcp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
Provides Message Control Protocol (MCP) server and client for WhiteBit exchange.
44
"""
55

6-
__version__ = "0.2.2"
6+
__version__ = "0.2.3"

0 commit comments

Comments
 (0)