Skip to content

Commit

Permalink
Merge pull request #1 from aoki-h-jp/feature/1.0.0/setup
Browse files Browse the repository at this point in the history
Feature/1.0.0/setup
  • Loading branch information
aoki-h-jp committed Aug 30, 2023
2 parents dd80fba + f70f0a2 commit e28406a
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/Formatter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Format code

on: push

jobs:
formatter:
name: formatter
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11.0]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install autoflake black isort
- name: autoflake
run: autoflake -r .
- name: black
run: black .
- name: isort
run: isort .
- name: Auto Commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply Code Formatter Change
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3110//)
[![Format code](https://github.com/aoki-h-jp/py-liquidation-map/actions/workflows/Formatter.yml/badge.svg)](https://github.com/aoki-h-jp/py-liquidation-map/actions/workflows/Formatter.yml)

# py-liquidation-map
Visualize Liquidation Map from actual execution data.
4 changes: 4 additions & 0 deletions liqmap/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"""
py-liquidation-map
"""
from liqmap import download, draw
Empty file added liqmap/download.py
Empty file.
Empty file added liqmap/draw.py
Empty file.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-e git+https://github.com/aoki-h-jp/binance-bulk-downloader.git#egg=binance-bulk-downloader
-e git+https://github.com/aoki-h-jp/bybit-bulk-downloader.git#egg=bybit-bulk-downloader
15 changes: 15 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from setuptools import setup

setup(
name="py-liquidation-map",
version="1.0.0",
description="Visualize Liquidation Map from actual execution data.",
install_requires=[
"binance-bulk-downloader @ git+https://github.com/aoki-h-jp/binance-bulk-downloader",
"bybit-bulk-downloader @ git+https://github.com/aoki-h-jp/bybit-bulk-downloader",
],
author="aoki-h-jp",
author_email="aoki.hirotaka.biz@gmail.com",
license="MIT",
packages=["liqmap"],
)

0 comments on commit e28406a

Please sign in to comment.