From 813cf0181a0f3931c1b7eb2bbd383f339119b63c Mon Sep 17 00:00:00 2001 From: Davide Casale Date: Mon, 8 Apr 2024 16:40:17 +0200 Subject: [PATCH 1/3] Use literal string version in setup.py. --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 6af03ce..5f87451 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,8 @@ from distutils.core import setup -from bfxapi._version import __version__ - setup( name="bitfinex-api-py", - version=__version__, + version="3.0.0", description="Official Bitfinex Python API", long_description=( "A Python reference implementation of the Bitfinex API " From 735cf5bb1900348265c9f6c291b806ba895e2809 Mon Sep 17 00:00:00 2001 From: Davide Casale Date: Mon, 8 Apr 2024 16:57:03 +0200 Subject: [PATCH 2/3] Add badges to documentation in README.md. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ee849b..0edadc3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # bitfinex-api-py +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bitfinex-api-py)](https://pypi.org/project/bitfinex-api-py/) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +![GitHub Action](https://github.com/bitfinexcom/bitfinex-api-py/actions/workflows/build.yml/badge.svg) + Official implementation of the [Bitfinex APIs (V2)](https://docs.bitfinex.com/docs) for `Python 3.8+`. ### Features @@ -12,7 +16,7 @@ Official implementation of the [Bitfinex APIs (V2)](https://docs.bitfinex.com/do ## Installation ```console -python3 -m pip install --pre bitfinex-api-py +python3 -m pip install bitfinex-api-py ``` --- From 0f1e2bc2846cfe6bfb14ff87970da8d70df6408e Mon Sep 17 00:00:00 2001 From: Davide Casale Date: Mon, 8 Apr 2024 16:58:15 +0200 Subject: [PATCH 3/3] Rename workflow bitfinex-api-py-ci.yml to build.yml (for documentation purposes). --- .github/workflows/{bitfinex-api-py-ci.yml => build.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{bitfinex-api-py-ci.yml => build.yml} (92%) diff --git a/.github/workflows/bitfinex-api-py-ci.yml b/.github/workflows/build.yml similarity index 92% rename from .github/workflows/bitfinex-api-py-ci.yml rename to .github/workflows/build.yml index b82e55f..59d76c6 100644 --- a/.github/workflows/bitfinex-api-py-ci.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: bitfinex-api-py-ci +name: build on: push: