Skip to content

Commit

Permalink
release of v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-volz committed Sep 21, 2023
1 parent 057000f commit c855e27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,19 @@
html_favicon = 'logo/logo.png'

# Code Blocks
code_blocks = [{"url": "https://gist.githubusercontent.com/eric-volz/964cbb9ab2906c132632689b99b1fcab/raw/6ef58341fba7a5f0f544de14d49dcccab49f4281/multiple_transactions_in_one_block.py", "filename": "guides/example/chainedTransactions.py"},
code_blocks = [{"url": "https://gist.githubusercontent.com/eric-volz/964cbb9ab2906c132632689b99b1fcab/raw/a1fec9ad25bd4deb0d361b33f8f05b2dc9b74ca0/multiple_transactions_in_one_block.py", "filename": "guides/example/chainedTransactions.py"},
{"url": "https://gist.githubusercontent.com/eric-volz/987579be543cbb72c2c5bffaedea105b/raw/1aa5f9bb891d1fdd3759ca34f79a6a0b2a2674a8/defichainExtractPrivateKeys.py", "filename": "guides/example/extractPrivateKeys.py"},
]


def load_code():
for code_block in code_blocks:
raw_code = requests.get(code_block.get("url")).text
with open(code_block.get("filename"), "w") as f:
url = code_block.get("url")
filename = code_block.get("filename")
if os.path.exists(filename):
os.remove(filename)
raw_code = requests.get(url).text
with open(filename, "w") as f:
f.write(raw_code)


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
from os import path

VERSION = '3.0.0'
VERSION = '3.1.0'
DESCRIPTION = 'Defichain Python Library'

# Project URLs
Expand Down

0 comments on commit c855e27

Please sign in to comment.