mirror of
https://github.com/autistic-symposium/web3-starter-py.git
synced 2025-05-15 05:02:12 -04:00
quick fixes
This commit is contained in:
parent
d11285412e
commit
6275a92c6f
18 changed files with 18 additions and 18 deletions
|
@ -5,7 +5,7 @@ setup(
|
||||||
version='0.0.1',
|
version='0.0.1',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
author='steinkirch',
|
author='Mia Stein',
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'Click',
|
'Click',
|
||||||
],
|
],
|
||||||
|
|
|
@ -5,7 +5,7 @@ setup(
|
||||||
version='0.1',
|
version='0.1',
|
||||||
packages=find_packages(include=['src', \
|
packages=find_packages(include=['src', \
|
||||||
'src.utils']),
|
'src.utils']),
|
||||||
author="bt3gl",
|
author="mia stein",
|
||||||
install_requires=['python-dotenv'],
|
install_requires=['python-dotenv'],
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': ['my_package=src.main:run']
|
'console_scripts': ['my_package=src.main:run']
|
||||||
|
|
|
@ -5,7 +5,7 @@ setup(
|
||||||
version='0.0.1',
|
version='0.0.1',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
author='steinkirch',
|
author='Mia Stein',
|
||||||
install_requires=[
|
install_requires=[
|
||||||
],
|
],
|
||||||
entry_points='''
|
entry_points='''
|
||||||
|
|
|
@ -5,7 +5,7 @@ setup(
|
||||||
version='0.0.1',
|
version='0.0.1',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
author='steinkirch',
|
author='Mia Stein',
|
||||||
install_requires=[
|
install_requires=[
|
||||||
],
|
],
|
||||||
entry_points='''
|
entry_points='''
|
||||||
|
|
|
@ -8,7 +8,7 @@ describing the height of each unit-width section of terrain, from left to
|
||||||
right. Your solution will return the total amount of width-times-height
|
right. Your solution will return the total amount of width-times-height
|
||||||
retained by the terrain. You may assume that heights are non-negative integers.
|
retained by the terrain. You may assume that heights are non-negative integers.
|
||||||
|
|
||||||
Solution by bt3gl
|
Solution by Mia Stein
|
||||||
'''
|
'''
|
||||||
|
|
||||||
def _create_wall_array(size) -> list:
|
def _create_wall_array(size) -> list:
|
||||||
|
|
|
@ -8,7 +8,7 @@ describing the height of each unit-width section of terrain, from left to
|
||||||
right. Your solution will return the total amount of width-times-height
|
right. Your solution will return the total amount of width-times-height
|
||||||
retained by the terrain. You may assume that heights are non-negative integers.
|
retained by the terrain. You may assume that heights are non-negative integers.
|
||||||
|
|
||||||
Solution by bt3gl
|
Solution by Mia Stein
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
name = "web3-python-toolkit"
|
name = "web3-python-toolkit"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description="toolkit for web3"
|
description="toolkit for web3"
|
||||||
authors=["bt3gl"]
|
authors=["mia stein"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
packages = [{include = "scripts"}]
|
packages = [{include = "scripts"}]
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# author: steinkirch
|
# author: Mia Stein
|
||||||
|
|
||||||
from utils.strings import pprint
|
from utils.strings import pprint
|
||||||
from utils.os import load_config
|
from utils.os import load_config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# author: steinkirch
|
# author: Mia Stein
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import ethereumetl
|
import ethereumetl
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# author: steinkirch
|
# author: Mia Stein
|
||||||
|
|
||||||
from utils.strings import pprint
|
from utils.strings import pprint
|
||||||
from utils.os import load_config
|
from utils.os import load_config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# author: steinkirch
|
# author: Mia Stein
|
||||||
|
|
||||||
from utils.strings import pprint
|
from utils.strings import pprint
|
||||||
from utils.os import load_config
|
from utils.os import load_config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# author: steinkirch
|
# author: Mia Stein
|
||||||
|
|
||||||
from utils.os import load_config, open_json, log_info
|
from utils.os import load_config, open_json, log_info
|
||||||
from utils.web3_wrapper import Web3Wrapper
|
from utils.web3_wrapper import Web3Wrapper
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# author: steinkirch
|
# author: Mia Stein
|
||||||
#
|
#
|
||||||
############################################################################################
|
############################################################################################
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# author: steinkirch
|
# author: Mia Stein
|
||||||
#
|
#
|
||||||
############################################################################################
|
############################################################################################
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# arithmetics.py
|
# arithmetics.py
|
||||||
# This class implements math methods used by the other classes.
|
# This class implements math methods used by the other classes.
|
||||||
# author: steinkirch
|
# author: Mia Stein
|
||||||
|
|
||||||
|
|
||||||
from decimal import Decimal, getcontext
|
from decimal import Decimal, getcontext
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# This class implements plot scripts
|
# This class implements plot scripts
|
||||||
# author: steinkirch
|
# author: Mia Stein
|
||||||
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from utils.os import exit_with_error, log_error
|
from utils.os import exit_with_error, log_error
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# This class implements string methods used by the other classes.
|
# This class implements string methods used by the other classes.
|
||||||
# author: steinkirch
|
# author: Mia Stein
|
||||||
|
|
||||||
from pprint import PrettyPrinter
|
from pprint import PrettyPrinter
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# This class implements an (ongoing) wrapper for web3 libs.
|
# This class implements an (ongoing) wrapper for web3 libs.
|
||||||
# author: steinkirch
|
# author: Mia Stein
|
||||||
|
|
||||||
from web3 import Web3, HTTPProvider, WebsocketProvider, IPCProvider
|
from web3 import Web3, HTTPProvider, WebsocketProvider, IPCProvider
|
||||||
from web3.middleware import geth_poa_middleware
|
from web3.middleware import geth_poa_middleware
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue