Skip to content

Commit

Permalink
First raw version of DeribitCLient class.
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioVentilii committed Mar 29, 2024
1 parent 004616c commit 5d76fa2
Show file tree
Hide file tree
Showing 7 changed files with 705 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish Python package to PyPI

on:
push:
tags:
- 'v*'

jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine upload dist/* --verbose
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
1 change: 1 addition & 0 deletions deribit_wrapper/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .core import DeribitClient
Loading

0 comments on commit 5d76fa2

Please sign in to comment.