exchanges-wrapper 2.1.23__tar.gz → 2.1.25__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.
- exchanges_wrapper-2.1.25/.deepsource.toml +13 -0
- exchanges_wrapper-2.1.25/.dockerignore +3 -0
- exchanges_wrapper-2.1.25/.github/FUNDING.yml +1 -0
- exchanges_wrapper-2.1.25/.github/dependabot.yml +11 -0
- exchanges_wrapper-2.1.25/.github/workflows/docker-image.yml +32 -0
- exchanges_wrapper-2.1.25/.github/workflows/python-publish.yml +40 -0
- exchanges_wrapper-2.1.25/.run/exchanges-wrapper-image.run.xml +15 -0
- exchanges_wrapper-2.1.25/.run/exchanges-wrapper.run.xml +32 -0
- exchanges_wrapper-2.1.25/CHANGELOG.md +621 -0
- exchanges_wrapper-2.1.25/Dockerfile +23 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/PKG-INFO +1 -1
- exchanges_wrapper-2.1.25/example/exch_client.py +436 -0
- exchanges_wrapper-2.1.25/example/ms_cfg.toml +5 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/__init__.py +1 -1
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/client.py +19 -9
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/exch_srv.py +4 -6
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/http_client.py +24 -26
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/parsers/huobi.py +17 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/web_sockets.py +4 -1
- exchanges_wrapper-2.1.25/requirements.txt +10 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/LICENSE.md +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/README.md +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/definitions.py +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/errors.py +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/events.py +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/exch_srv_cfg.toml.template +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/lib.py +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/martin/__init__.py +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/parsers/bitfinex.py +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/parsers/bybit.py +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/parsers/okx.py +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/exchanges_wrapper/proto/martin.proto +0 -0
- {exchanges_wrapper-2.1.23 → exchanges_wrapper-2.1.25}/pyproject.toml +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
custom: ['https://github.com/DogsTailFarmer/exchanges-wrapper#donate']
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
|
3
|
+
# Please see the documentation for all configuration options:
|
|
4
|
+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
5
|
+
|
|
6
|
+
version: 2
|
|
7
|
+
updates:
|
|
8
|
+
- package-ecosystem: "pip" # See documentation for possible values
|
|
9
|
+
directory: "/" # Location of package manifests
|
|
10
|
+
schedule:
|
|
11
|
+
interval: "weekly"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: Docker Image CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
release:
|
|
6
|
+
types: [published]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- name: Checkout
|
|
13
|
+
uses: actions/checkout@v3
|
|
14
|
+
|
|
15
|
+
- name: PrepareReg Names
|
|
16
|
+
run: |
|
|
17
|
+
echo IMAGE_REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
|
18
|
+
echo IMAGE_TAG=$(echo ${{ github.ref }} | tr '[:upper:]' '[:lower:]' | awk '{split($0,a,"/"); print a[3]}') >> $GITHUB_ENV
|
|
19
|
+
|
|
20
|
+
- name: Login to GHCR
|
|
21
|
+
uses: docker/login-action@v2
|
|
22
|
+
with:
|
|
23
|
+
registry: ghcr.io
|
|
24
|
+
username: ${{ github.repository_owner }}
|
|
25
|
+
password: ${{ secrets.GITHUB_TOKEN }}
|
|
26
|
+
|
|
27
|
+
- name: Build and push
|
|
28
|
+
run: |
|
|
29
|
+
docker build . --tag ghcr.io/$IMAGE_REPOSITORY:$IMAGE_TAG
|
|
30
|
+
docker push ghcr.io/$IMAGE_REPOSITORY:$IMAGE_TAG
|
|
31
|
+
docker build . --tag ghcr.io/$IMAGE_REPOSITORY:latest
|
|
32
|
+
docker push ghcr.io/$IMAGE_REPOSITORY:latest
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# This workflow will upload a Python Package using Twine when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
|
|
3
|
+
|
|
4
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
5
|
+
# They are provided by a third-party and are governed by
|
|
6
|
+
# separate terms of service, privacy policy, and support
|
|
7
|
+
# documentation.
|
|
8
|
+
|
|
9
|
+
name: Upload Python Package
|
|
10
|
+
|
|
11
|
+
on:
|
|
12
|
+
workflow_dispatch:
|
|
13
|
+
release:
|
|
14
|
+
types: [published]
|
|
15
|
+
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
deploy:
|
|
21
|
+
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v3
|
|
26
|
+
- name: Set up Python
|
|
27
|
+
uses: actions/setup-python@v3
|
|
28
|
+
with:
|
|
29
|
+
python-version: '3.x'
|
|
30
|
+
- name: Install dependencies
|
|
31
|
+
run: |
|
|
32
|
+
python -m pip install --upgrade pip
|
|
33
|
+
pip install build
|
|
34
|
+
- name: Build package
|
|
35
|
+
run: python -m build
|
|
36
|
+
- name: Publish package
|
|
37
|
+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
|
|
38
|
+
with:
|
|
39
|
+
user: __token__
|
|
40
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<component name="ProjectRunConfigurationManager">
|
|
2
|
+
<configuration default="false" name="exchanges-wrapper-image" type="docker-deploy" factoryName="dockerfile" editBeforeRun="true" server-name="Docker">
|
|
3
|
+
<deployment type="dockerfile">
|
|
4
|
+
<settings>
|
|
5
|
+
<option name="imageTag" value="exchanges-wrapper:last" />
|
|
6
|
+
<option name="buildCliOptions" value="--no-cache --network=host" />
|
|
7
|
+
<option name="buildOnly" value="true" />
|
|
8
|
+
<option name="containerName" value="" />
|
|
9
|
+
<option name="showCommandPreview" value="true" />
|
|
10
|
+
<option name="sourceFilePath" value="Dockerfile" />
|
|
11
|
+
</settings>
|
|
12
|
+
</deployment>
|
|
13
|
+
<method v="2" />
|
|
14
|
+
</configuration>
|
|
15
|
+
</component>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<component name="ProjectRunConfigurationManager">
|
|
2
|
+
<configuration default="false" name="exchanges-wrapper" type="docker-deploy" factoryName="docker-image" editBeforeRun="true" server-name="Docker">
|
|
3
|
+
<deployment type="docker-image">
|
|
4
|
+
<settings>
|
|
5
|
+
<option name="imageTag" value="ghcr.io/dogstailfarmer/exchanges-wrapper:latest" />
|
|
6
|
+
<option name="containerName" value="exchanges-wrapper" />
|
|
7
|
+
<option name="commandLineOptions" value="-i -t -P" />
|
|
8
|
+
<option name="showCommandPreview" value="true" />
|
|
9
|
+
<option name="volumeBindings">
|
|
10
|
+
<list>
|
|
11
|
+
<DockerVolumeBindingImpl>
|
|
12
|
+
<option name="containerPath" value="$PROJECT_DIR$/../../../appuser/.MartinBinance" />
|
|
13
|
+
<option name="hostPath" value="$USER_HOME$/.MartinBinance" />
|
|
14
|
+
</DockerVolumeBindingImpl>
|
|
15
|
+
</list>
|
|
16
|
+
</option>
|
|
17
|
+
</settings>
|
|
18
|
+
</deployment>
|
|
19
|
+
<method v="2" />
|
|
20
|
+
</configuration>
|
|
21
|
+
<configuration default="false" name="exchanges-wrapper" type="docker-deploy" factoryName="docker-image" editBeforeRun="true" server-name="Docker">
|
|
22
|
+
<deployment type="docker-image">
|
|
23
|
+
<settings>
|
|
24
|
+
<option name="imageTag" value="exchanges-wrapper:last" />
|
|
25
|
+
<option name="containerName" value="exchanges-wrapper" />
|
|
26
|
+
<option name="commandLineOptions" value="-i -t -P --mount type=bind,source=$USER_HOME$/.MartinBinance,target=$PROJECT_DIR$/../../../appuser/.MartinBinance --network=host" />
|
|
27
|
+
<option name="showCommandPreview" value="true" />
|
|
28
|
+
</settings>
|
|
29
|
+
</deployment>
|
|
30
|
+
<method v="2" />
|
|
31
|
+
</configuration>
|
|
32
|
+
</component>
|