From a77a538c0391c1ee22bb0a6162e8ab0b85071c33 Mon Sep 17 00:00:00 2001 From: Mike M Date: Mon, 29 Feb 2016 20:05:21 -0500 Subject: [PATCH 01/23] minor docstring corrections; wording/spelling --- geminipy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geminipy.py b/geminipy.py index e1a68c9..3954fb3 100644 --- a/geminipy.py +++ b/geminipy.py @@ -32,7 +32,7 @@ def __init__(self, api_key='', secret_key='', live=False): Arguments: api_key -- your Gemini API key secret_key -- your Gemini API secret key for signatures - live -- use the live API or the Sandbox API (default False) + live -- use the live API? otherwise, use the sandbox (default False) """ self.api_key = api_key self.secret_key = secret_key @@ -234,7 +234,7 @@ def prepare(self, params): Prepare, return the required HTTP headers. Base 64 encode the parameters, sign it with the secret key, - create the HTTP headres,, return the whole payload. + create the HTTP headers, return the whole payload. Arguments: params -- a dictionary of parameters From 5d7e5ab4e500c9beec6413a659fa83fef00cae1c Mon Sep 17 00:00:00 2001 From: Mike M Date: Sat, 9 Apr 2016 14:57:19 -0400 Subject: [PATCH 02/23] for public requests, return full response, not just response content --- geminipy.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/geminipy.py b/geminipy.py index 3954fb3..6425977 100644 --- a/geminipy.py +++ b/geminipy.py @@ -44,8 +44,8 @@ def __init__(self, api_key='', secret_key='', live=False): def symbols(self): """Send a request for all trading symbols, return the response.""" url = self.base_url + '/v1/symbols' - response = requests.get(url) - return response.content + + return requests.get(url) def book(self, symbol='btcusd', limit_bids=0, limit_asks=0): """ @@ -61,8 +61,8 @@ def book(self, symbol='btcusd', limit_bids=0, limit_asks=0): 'limit_bids': limit_bids, 'limit_asks': limit_asks } - response = requests.get(url, params) - return response.content + + return requests.get(url, params) def trades(self, symbol='btcusd', since=0, limit_trades=50, include_breaks=0): @@ -81,8 +81,8 @@ def trades(self, symbol='btcusd', since=0, limit_trades=50, 'limit_trades': limit_trades, 'include_breaks': include_breaks } - response = requests.get(url, params) - return response.content + + return requests.get(url, params) # authenticated requests def new_order(self, amount, price, side, client_order_id=None, From 4d6d7a2741cb3c803d0a286c851be748aae62c14 Mon Sep 17 00:00:00 2001 From: Marzig Date: Sat, 9 Apr 2016 15:06:23 -0400 Subject: [PATCH 03/23] added return type options --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d85ffe9..3eef5da 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,17 @@ Example # public request symbols = con.symbols() + # a Requests response is returned. + # So we can access the HTTP reponse code, + # the raw response content, or a json object + print symbols.status_code print symbols.content + print symbols.json() # authenticated request order = con.new_order(amount='1', price='200',side='buy') - print order.content + print order.json() #send a heartbeat con.heartbeat() From a074e7f2773d4ace9561a0a93bf012cb19909868 Mon Sep 17 00:00:00 2001 From: Emmanuel Odeke Date: Wed, 9 Aug 2017 21:42:14 -0600 Subject: [PATCH 04/23] all: make pip installable Fixes #9 With this updated, after publishing, geminipy can then be installable by running ```shell pip install geminipy ``` --- MANIFEST.in | 2 ++ README.md | 49 +++++++++++++++-------------- geminipy.py => geminipy/__init__.py | 0 requirements.txt | 1 + setup.py | 23 ++++++++++++++ 5 files changed, 51 insertions(+), 24 deletions(-) create mode 100644 MANIFEST.in rename geminipy.py => geminipy/__init__.py (100%) create mode 100644 requirements.txt create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..04f196a --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include README.md +include LICENSE diff --git a/README.md b/README.md index 3eef5da..141fc97 100644 --- a/README.md +++ b/README.md @@ -5,42 +5,43 @@ Easily communicate with the Gemini Bitcoin exchange API without having to deal with HTTP requests. +Requirements +============ +Please get an API key from [https://exchange.gemini.com/settings/api](https://exchange.gemini.com/settings/api) + + Installation ============ -Just download geminipy.py +```shell +pip install geminipy +``` Example ======= - from geminipy import Geminipy +```python +from geminipy import Geminipy - con = Geminipy(api_key='your API key', secret_key='your secret key') +con = Geminipy(api_key='your API key', secret_key='your secret key') - # public request - symbols = con.symbols() +# public request +symbols = con.symbols() - # a Requests response is returned. - # So we can access the HTTP reponse code, - # the raw response content, or a json object - print symbols.status_code - print symbols.content - print symbols.json() +# a Requests response is returned. +# So we can access the HTTP reponse code, +# the raw response content, or a json object +print symbols.status_code +print symbols.content +print symbols.json() - # authenticated request - order = con.new_order(amount='1', price='200',side='buy') +# authenticated request +order = con.new_order(amount='1', price='200',side='buy') - print order.json() +print order.json() - #send a heartbeat - con.heartbeat() +#send a heartbeat +con.heartbeat() +``` The required nonce is the current millisecond timestamp. - -Dependencies -============ - -requests >=2.9.1 - - sudo pip install requests --upgrade - diff --git a/geminipy.py b/geminipy/__init__.py similarity index 100% rename from geminipy.py rename to geminipy/__init__.py diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..28fbc91 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +requests>=2.9.1 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..065d966 --- /dev/null +++ b/setup.py @@ -0,0 +1,23 @@ +from setuptools import setup + +with open('README.md') as f: + readme = f.read() + +setup( + name='geminipy', + version='0.0.1', + packages=['geminipy'], + url='https://github.com/geminipy/geminipy', + license='GNU GPL', + author='Mike Marzigliano', + zip_safe=False, + long_description=readme, + description='API client for Gemini', + classifiers=[ + 'Gemin exchange', + 'Cryptocurrency', + 'Cryptoexchange', + 'Topic :: Cryptocurrency', + 'Topic :: Cryptocurrency:: Digital Assets Management', + ], +) From f88ea951a38e56bd3949035275fc8c11624c1519 Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Fri, 11 Aug 2017 20:50:57 +0000 Subject: [PATCH 05/23] removed invalid classifiers --- setup.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/setup.py b/setup.py index 065d966..8ce78ec 100644 --- a/setup.py +++ b/setup.py @@ -13,11 +13,4 @@ zip_safe=False, long_description=readme, description='API client for Gemini', - classifiers=[ - 'Gemin exchange', - 'Cryptocurrency', - 'Cryptoexchange', - 'Topic :: Cryptocurrency', - 'Topic :: Cryptocurrency:: Digital Assets Management', - ], ) From efc42600856c6ea18edd5814ba253064316f2629 Mon Sep 17 00:00:00 2001 From: Marzig Date: Mon, 28 Aug 2017 10:44:12 -0400 Subject: [PATCH 06/23] clarify connection parameters The connection defaults to the Gemini sandbox site, but can be user specified --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 141fc97..833ab0b 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,10 @@ Example ```python from geminipy import Geminipy - -con = Geminipy(api_key='your API key', secret_key='your secret key') + +# The connection defaults to the Gemini sandbox. +# Add 'live=True' to use the live exchange +con = Geminipy(api_key='your API key', secret_key='your secret key', live=True) # public request symbols = con.symbols() From e742a06356687c37feccfe852c730820d4bd1b24 Mon Sep 17 00:00:00 2001 From: Lorenzo Racca Date: Tue, 29 Aug 2017 13:27:47 -0500 Subject: [PATCH 07/23] Fixed bug in Python 3.6 Fixed an issue that would prevent the prepare method from throwing an exception in Python 3.6 (due to the differences in bytes and str types) --- geminipy/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geminipy/__init__.py b/geminipy/__init__.py index 6425977..1440d60 100644 --- a/geminipy/__init__.py +++ b/geminipy/__init__.py @@ -240,8 +240,8 @@ def prepare(self, params): params -- a dictionary of parameters """ jsonparams = json.dumps(params) - payload = base64.b64encode(jsonparams) - signature = hmac.new(self.secret_key, payload, + payload = base64.b64encode(jsonparams.encode()) + signature = hmac.new(self.secret_key.encode(), payload, hashlib.sha384).hexdigest() return {'X-GEMINI-APIKEY': self.api_key, From 2e2e922140cd5e36eef925b6b836288ed6f8c770 Mon Sep 17 00:00:00 2001 From: Bojan Joveski Date: Wed, 11 Oct 2017 13:05:07 +0200 Subject: [PATCH 08/23] adds options to new_order --- geminipy/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/geminipy/__init__.py b/geminipy/__init__.py index 1440d60..4800e1e 100644 --- a/geminipy/__init__.py +++ b/geminipy/__init__.py @@ -86,7 +86,7 @@ def trades(self, symbol='btcusd', since=0, limit_trades=50, # authenticated requests def new_order(self, amount, price, side, client_order_id=None, - symbol='btcusd', type='exchange limit'): + symbol='btcusd', type='exchange limit', options=None): """ Send a request to place an order, return the response. @@ -113,6 +113,9 @@ def new_order(self, amount, price, side, client_order_id=None, if client_order_id is not None: params['client_order_id'] = client_order_id + if options is not None: + params['options'] = options + return requests.post(url, headers=self.prepare(params)) def cancel_order(self, order_id): From 17ac057e95f522536147b3fd8a62b3805b7dc410 Mon Sep 17 00:00:00 2001 From: Marzig Date: Tue, 24 Oct 2017 17:47:36 -0400 Subject: [PATCH 09/23] update version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8ce78ec..464a394 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='geminipy', - version='0.0.1', + version='0.0.2', packages=['geminipy'], url='https://github.com/geminipy/geminipy', license='GNU GPL', From 13ea61b4174ec2bb10cdccf07091239440594400 Mon Sep 17 00:00:00 2001 From: Marzig Date: Tue, 24 Oct 2017 18:08:05 -0400 Subject: [PATCH 10/23] added email address --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 464a394..6de423b 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ url='https://github.com/geminipy/geminipy', license='GNU GPL', author='Mike Marzigliano', + author_email='marzig76@gmail.com', zip_safe=False, long_description=readme, description='API client for Gemini', From e9029758ea4d7129dc01c63adec76be80ce75102 Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Fri, 27 Oct 2017 17:55:46 -0400 Subject: [PATCH 11/23] added function for the public endpoint pubticker --- geminipy/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/geminipy/__init__.py b/geminipy/__init__.py index 4800e1e..6a378e0 100644 --- a/geminipy/__init__.py +++ b/geminipy/__init__.py @@ -47,6 +47,12 @@ def symbols(self): return requests.get(url) + def pubticker(self, symbol='btcusd'): + """Send a request for latest ticker info, return the response""" + url = self.base_url + '/v1/pubticker/' + symbol + + return requests.get(url) + def book(self, symbol='btcusd', limit_bids=0, limit_asks=0): """ Send a request to get the public order book, return the response. From 6b323fb3409dbf7add0b16d33156efb50589deb1 Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Fri, 27 Oct 2017 18:13:26 -0400 Subject: [PATCH 12/23] added function for the auction endpoint --- geminipy/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/geminipy/__init__.py b/geminipy/__init__.py index 6a378e0..13ce73b 100644 --- a/geminipy/__init__.py +++ b/geminipy/__init__.py @@ -90,6 +90,12 @@ def trades(self, symbol='btcusd', since=0, limit_trades=50, return requests.get(url, params) + def auction(self, symbol='btcusd'): + """Send a request for latest auction info, return the response""" + url = self.base_url + '/v1/auction/' + symbol + + return requests.get(url) + # authenticated requests def new_order(self, amount, price, side, client_order_id=None, symbol='btcusd', type='exchange limit', options=None): From 3e648ec657b6029560a6db31f64bc322006c7e39 Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Fri, 27 Oct 2017 18:30:09 -0400 Subject: [PATCH 13/23] added function for the auction_history endpoint --- geminipy/__init__.py | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/geminipy/__init__.py b/geminipy/__init__.py index 13ce73b..843f6d3 100644 --- a/geminipy/__init__.py +++ b/geminipy/__init__.py @@ -48,7 +48,7 @@ def symbols(self): return requests.get(url) def pubticker(self, symbol='btcusd'): - """Send a request for latest ticker info, return the response""" + """Send a request for latest ticker info, return the response.""" url = self.base_url + '/v1/pubticker/' + symbol return requests.get(url) @@ -91,11 +91,33 @@ def trades(self, symbol='btcusd', since=0, limit_trades=50, return requests.get(url, params) def auction(self, symbol='btcusd'): - """Send a request for latest auction info, return the response""" + """Send a request for latest auction info, return the response.""" url = self.base_url + '/v1/auction/' + symbol return requests.get(url) + def auction_history(self, symbol='btcusd', since=0, + limit_auction_results=50, include_indicative=1): + """ + Send a request for auction history info, return the response. + + Arguments: + symbol -- currency symbol (default 'btcusd') + since -- only return auction events after this timestamp (default 0) + limit_auction_results -- maximum number of auction events to return + (default 50). + include_indicative -- whether to include publication of indicative + prices and quantities. (default True) + """ + url = self.base_url + '/v1/auction/' + symbol + '/history' + params = { + 'since': since, + 'limit_auction_results': limit_auction_results, + 'include_indicative': include_indicative + } + + return requests.get(url, params) + # authenticated requests def new_order(self, amount, price, side, client_order_id=None, symbol='btcusd', type='exchange limit', options=None): From bfb4e87a4e15d38a082718dbe3ab73ba6dc24ce3 Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Fri, 27 Oct 2017 19:43:10 -0400 Subject: [PATCH 14/23] started a changelog --- changelog | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..d09655b --- /dev/null +++ b/changelog @@ -0,0 +1,9 @@ +# Geminipy Changelog + +# v0.0.3 +Added a function for the public ticker "pubticker" API endpoint +Added functions for auction data (including history) + +# v0.0.2 +Changed project layout to make it compatible with PyPi (pip) +Added an "options" argument to the "new_order" function From 65b6bb5474706526344d3cb4a6609ddb8457bd5f Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Fri, 27 Oct 2017 20:39:39 -0400 Subject: [PATCH 15/23] added a tradeolume function and updated changelog --- changelog | 5 +++-- geminipy/__init__.py | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/changelog b/changelog index d09655b..86e18ff 100644 --- a/changelog +++ b/changelog @@ -1,8 +1,9 @@ # Geminipy Changelog # v0.0.3 -Added a function for the public ticker "pubticker" API endpoint -Added functions for auction data (including history) +Added "pubticker" function for the public ticker API endpoint +Added "auction" and "auction_history" functions for auction data +Added "tradevolume" function to get user trade volume # v0.0.2 Changed project layout to make it compatible with PyPi (pip) diff --git a/geminipy/__init__.py b/geminipy/__init__.py index 843f6d3..bacf307 100644 --- a/geminipy/__init__.py +++ b/geminipy/__init__.py @@ -240,6 +240,17 @@ def past_trades(self, symbol='btcusd', limit_trades=50, timestamp=0): return requests.post(url, headers=self.prepare(params)) + def tradevolume(self): + """Send a request to get your trade volume, return the response.""" + request = '/v1/tradevolume' + url = self.base_url + request + params = { + 'request': request, + 'nonce': self.get_nonce() + } + + return requests.post(url, headers=self.prepare(params)) + def balances(self): """Send an account balance request, return the response.""" request = '/v1/balances' From dbc2f20907f542d0ec054c52b510f929a9b3b86e Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Fri, 27 Oct 2017 21:18:24 -0400 Subject: [PATCH 16/23] added a newAddress function --- geminipy/__init__.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/geminipy/__init__.py b/geminipy/__init__.py index bacf307..93a1c19 100644 --- a/geminipy/__init__.py +++ b/geminipy/__init__.py @@ -262,6 +262,27 @@ def balances(self): return requests.post(url, headers=self.prepare(params)) + def newAddress(self, currency='btc', label=''): + """ + Send a request for a new cryptocurrency deposit address + with an optional label. Return the response. + + Arguements: + currency -- a Gemini supported cryptocurrency (btc, eth) + label -- optional label for the deposit address + """ + request = '/v1/deposit/' + currency + '/newAddress' + url = self.base_url + request + params = { + 'request': request, + 'nonce': self.get_nonce() + } + + if label != '': + params['label'] = label + + return requests.post(url, headers=self.prepare(params)) + def heartbeat(self): """Send a heartbeat message, return the response.""" request = '/v1/heartbeat' From 4e4f77ef61a0a65e37e08daec8fe3b572158bc7e Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Fri, 27 Oct 2017 21:19:22 -0400 Subject: [PATCH 17/23] updated changelog with newaddress details --- changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog b/changelog index 86e18ff..7d531d3 100644 --- a/changelog +++ b/changelog @@ -4,6 +4,7 @@ Added "pubticker" function for the public ticker API endpoint Added "auction" and "auction_history" functions for auction data Added "tradevolume" function to get user trade volume +Added "newAddress" function to get a new cryptocurrency deposit address # v0.0.2 Changed project layout to make it compatible with PyPi (pip) From 0d83fe225b746ac4c8bb800aa6091e1b606231e8 Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Fri, 27 Oct 2017 21:31:30 -0400 Subject: [PATCH 18/23] update version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6de423b..384b9ce 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='geminipy', - version='0.0.2', + version='0.0.3', packages=['geminipy'], url='https://github.com/geminipy/geminipy', license='GNU GPL', From 0572d972a2e98bf71daa57522052b4fe4d6102af Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Fri, 27 Oct 2017 21:42:01 -0400 Subject: [PATCH 19/23] setup for v0.0.4 --- changelog | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index 7d531d3..1d080d1 100644 --- a/changelog +++ b/changelog @@ -1,5 +1,7 @@ # Geminipy Changelog +# v0.0.4 + # v0.0.3 Added "pubticker" function for the public ticker API endpoint Added "auction" and "auction_history" functions for auction data diff --git a/setup.py b/setup.py index 384b9ce..e0eb96d 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='geminipy', - version='0.0.3', + version='0.0.4', packages=['geminipy'], url='https://github.com/geminipy/geminipy', license='GNU GPL', From 77f8fa21f4f72e4e88857ffdb01878550e3eec13 Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Tue, 1 Oct 2019 11:56:52 -0400 Subject: [PATCH 20/23] added api call for fees --- geminipy/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/geminipy/__init__.py b/geminipy/__init__.py index 93a1c19..bb0373f 100644 --- a/geminipy/__init__.py +++ b/geminipy/__init__.py @@ -283,6 +283,17 @@ def newAddress(self, currency='btc', label=''): return requests.post(url, headers=self.prepare(params)) + def fees(self): + """Send a request to get your trade volume, return the response.""" + request = '/v1/notionalvolume' + url = self.base_url + request + params = { + 'request': request, + 'nonce': self.get_nonce() + } + + return requests.post(url, headers=self.prepare(params)) + def heartbeat(self): """Send a heartbeat message, return the response.""" request = '/v1/heartbeat' From 72d8acb6366ff967180ab1f0b269ca013d2b81ea Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Tue, 1 Oct 2019 12:07:52 -0400 Subject: [PATCH 21/23] fixed comments for new fee api call --- geminipy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geminipy/__init__.py b/geminipy/__init__.py index bb0373f..20c0a3c 100644 --- a/geminipy/__init__.py +++ b/geminipy/__init__.py @@ -284,7 +284,7 @@ def newAddress(self, currency='btc', label=''): return requests.post(url, headers=self.prepare(params)) def fees(self): - """Send a request to get your trade volume, return the response.""" + """Send a request to get fee and notional volume, return the response.""" request = '/v1/notionalvolume' url = self.base_url + request params = { From 399213fa29bc7211f3f9a3a96b72f0075353dd12 Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Tue, 1 Oct 2019 12:23:10 -0400 Subject: [PATCH 22/23] change version info and changelog for v0.0.4 --- changelog | 3 +++ setup.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index 7d531d3..274a0ad 100644 --- a/changelog +++ b/changelog @@ -1,5 +1,8 @@ # Geminipy Changelog +# v0.0.4 +Added "fees" function for the fee and notional volume API endpoint + # v0.0.3 Added "pubticker" function for the public ticker API endpoint Added "auction" and "auction_history" functions for auction data diff --git a/setup.py b/setup.py index 6de423b..e0eb96d 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='geminipy', - version='0.0.2', + version='0.0.4', packages=['geminipy'], url='https://github.com/geminipy/geminipy', license='GNU GPL', From 92b49fbb4a5b29abb04b98ce4740593a8068bae5 Mon Sep 17 00:00:00 2001 From: Mike Marzigliano Date: Tue, 1 Oct 2019 13:56:39 -0400 Subject: [PATCH 23/23] twine didn't like the triple tick-mark in the README file, so I'm removing it when uploading to pypi --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e0eb96d..c9d0387 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup with open('README.md') as f: - readme = f.read() + readme = f.read().replace('```', '') setup( name='geminipy',