ostium-python-sdk 0.1.40__tar.gz → 0.1.41__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ostium_python_sdk-0.1.41/MANIFEST.in +2 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/PKG-INFO +15 -4
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk.egg-info/PKG-INFO +15 -4
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk.egg-info/SOURCES.txt +3 -0
- ostium_python_sdk-0.1.41/ostium_python_sdk.egg-info/requires.txt +17 -0
- ostium_python_sdk-0.1.41/requirements-dev.txt +3 -0
- ostium_python_sdk-0.1.41/requirements.txt +19 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/setup.py +14 -10
- ostium_python_sdk-0.1.40/ostium_python_sdk.egg-info/requires.txt +0 -6
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/README.md +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/__init__.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/abi/__init__.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/abi/abi.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/abi/faucet_abi.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/balance.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/config.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/constants.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/exceptions.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/faucet.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/formulae.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/formulae_wrapper.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/ostium.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/price.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/sdk.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/subgraph.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk/utils.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk.egg-info/dependency_links.txt +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk.egg-info/top_level.txt +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/pyproject.toml +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/setup.cfg +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/tests/__init__.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/tests/test_slippage.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/tests/test_trade_get_tp_price.py +0 -0
- {ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/tests/test_trade_liquidation_price.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: ostium-python-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.41
|
|
4
4
|
Summary: A python based SDK developed for interacting with Ostium, a leveraged trading application for trading currencies, commodities, indices, crypto and more.
|
|
5
5
|
Home-page: https://github.com/0xOstium/ostium-python-sdk
|
|
6
6
|
Author: ami@ostium.io
|
|
@@ -12,10 +12,21 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
12
12
|
Requires-Python: >=3.8
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
Requires-Dist: web3>=6.0.0
|
|
15
|
+
Requires-Dist: gql==3.5.0
|
|
16
|
+
Requires-Dist: graphql-core==3.2.5
|
|
17
|
+
Requires-Dist: pytest
|
|
18
|
+
Requires-Dist: pytest-cov
|
|
19
|
+
Requires-Dist: pytest-asyncio
|
|
20
|
+
Requires-Dist: humanize
|
|
21
|
+
Requires-Dist: aiohttp>=3.8.0
|
|
22
|
+
Requires-Dist: requests>=2.28.0
|
|
23
|
+
Requires-Dist: python-dotenv>=0.19.0
|
|
24
|
+
Requires-Dist: pydantic>=2.0.0
|
|
25
|
+
Requires-Dist: asyncio>=3.4.3
|
|
15
26
|
Provides-Extra: dev
|
|
16
|
-
Requires-Dist: pytest
|
|
17
|
-
Requires-Dist: pytest-cov
|
|
18
|
-
Requires-Dist: pytest-asyncio
|
|
27
|
+
Requires-Dist: pytest; extra == "dev"
|
|
28
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
29
|
+
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
19
30
|
Dynamic: author
|
|
20
31
|
Dynamic: classifier
|
|
21
32
|
Dynamic: description
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: ostium-python-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.41
|
|
4
4
|
Summary: A python based SDK developed for interacting with Ostium, a leveraged trading application for trading currencies, commodities, indices, crypto and more.
|
|
5
5
|
Home-page: https://github.com/0xOstium/ostium-python-sdk
|
|
6
6
|
Author: ami@ostium.io
|
|
@@ -12,10 +12,21 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
12
12
|
Requires-Python: >=3.8
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
Requires-Dist: web3>=6.0.0
|
|
15
|
+
Requires-Dist: gql==3.5.0
|
|
16
|
+
Requires-Dist: graphql-core==3.2.5
|
|
17
|
+
Requires-Dist: pytest
|
|
18
|
+
Requires-Dist: pytest-cov
|
|
19
|
+
Requires-Dist: pytest-asyncio
|
|
20
|
+
Requires-Dist: humanize
|
|
21
|
+
Requires-Dist: aiohttp>=3.8.0
|
|
22
|
+
Requires-Dist: requests>=2.28.0
|
|
23
|
+
Requires-Dist: python-dotenv>=0.19.0
|
|
24
|
+
Requires-Dist: pydantic>=2.0.0
|
|
25
|
+
Requires-Dist: asyncio>=3.4.3
|
|
15
26
|
Provides-Extra: dev
|
|
16
|
-
Requires-Dist: pytest
|
|
17
|
-
Requires-Dist: pytest-cov
|
|
18
|
-
Requires-Dist: pytest-asyncio
|
|
27
|
+
Requires-Dist: pytest; extra == "dev"
|
|
28
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
29
|
+
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
19
30
|
Dynamic: author
|
|
20
31
|
Dynamic: classifier
|
|
21
32
|
Dynamic: description
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
web3>=6.0.0
|
|
2
|
+
gql==3.5.0
|
|
3
|
+
graphql-core==3.2.5
|
|
4
|
+
pytest
|
|
5
|
+
pytest-cov
|
|
6
|
+
pytest-asyncio
|
|
7
|
+
humanize
|
|
8
|
+
aiohttp>=3.8.0
|
|
9
|
+
requests>=2.28.0
|
|
10
|
+
python-dotenv>=0.19.0
|
|
11
|
+
pydantic>=2.0.0
|
|
12
|
+
asyncio>=3.4.3
|
|
13
|
+
|
|
14
|
+
[dev]
|
|
15
|
+
pytest
|
|
16
|
+
pytest-cov
|
|
17
|
+
pytest-asyncio
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
web3>=6.0.0
|
|
2
|
+
gql==3.5.0
|
|
3
|
+
graphql-core==3.2.5
|
|
4
|
+
pytest # for tests
|
|
5
|
+
pytest-cov # for coverage reports
|
|
6
|
+
pytest-asyncio
|
|
7
|
+
#
|
|
8
|
+
humanize
|
|
9
|
+
# HTTP clients for gql
|
|
10
|
+
aiohttp>=3.8.0
|
|
11
|
+
requests>=2.28.0
|
|
12
|
+
#
|
|
13
|
+
# Data handling
|
|
14
|
+
python-dotenv>=0.19.0 # for environment variables
|
|
15
|
+
pydantic>=2.0.0 # for data validation
|
|
16
|
+
#
|
|
17
|
+
# Async support
|
|
18
|
+
asyncio>=3.4.3
|
|
19
|
+
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
2
|
from pathlib import Path
|
|
3
3
|
|
|
4
|
-
# Read the contents of README.md and CHANGELOG.md
|
|
5
4
|
this_directory = Path(__file__).parent
|
|
5
|
+
|
|
6
|
+
# Read requirements.txt
|
|
7
|
+
def read_requirements(filename: str):
|
|
8
|
+
return [line.strip()
|
|
9
|
+
for line in (this_directory / filename).read_text().splitlines()
|
|
10
|
+
if line.strip() and not line.startswith('#')]
|
|
11
|
+
|
|
12
|
+
# Read the contents of README.md and CHANGELOG.md
|
|
6
13
|
long_description = (this_directory / "README.md").read_text()
|
|
7
14
|
|
|
8
15
|
# Try to append CHANGELOG.md if it exists
|
|
@@ -12,17 +19,14 @@ if changelog_path.exists():
|
|
|
12
19
|
|
|
13
20
|
setup(
|
|
14
21
|
name="ostium-python-sdk",
|
|
15
|
-
version="0.1.
|
|
22
|
+
version="0.1.41",
|
|
16
23
|
packages=find_packages(),
|
|
17
|
-
install_requires=
|
|
18
|
-
"web3>=6.0.0",
|
|
19
|
-
],
|
|
24
|
+
install_requires=read_requirements('requirements.txt'),
|
|
20
25
|
extras_require={
|
|
21
|
-
"dev":
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
],
|
|
26
|
+
"dev": read_requirements('requirements-dev.txt'),
|
|
27
|
+
},
|
|
28
|
+
package_data={
|
|
29
|
+
'': ['requirements.txt', 'requirements-dev.txt']
|
|
26
30
|
},
|
|
27
31
|
python_requires=">=3.8",
|
|
28
32
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ostium_python_sdk-0.1.40 → ostium_python_sdk-0.1.41}/ostium_python_sdk.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|