From 6275a92c6f8a8710c328fc970d884a24c071150c Mon Sep 17 00:00:00 2001 From: bt3gl Date: Thu, 14 Mar 2024 20:38:16 +0100 Subject: [PATCH] quick fixes --- boilerplates/click/setup.py | 2 +- boilerplates/project_boilerplate/setup.py | 2 +- boilerplates/tests/setup.py | 2 +- web2-projects/enconding-decimals/setup.py | 2 +- web2-projects/other-puzzles/falling-rain-On.py | 2 +- web2-projects/other-puzzles/falling-rain-On2.py | 2 +- web3-toolkit/pyproject.toml | 2 +- web3-toolkit/scripts/decode_calldata.py | 2 +- web3-toolkit/scripts/get_contracts_deployed.py | 2 +- web3-toolkit/scripts/get_deep_block_data.py | 2 +- web3-toolkit/scripts/get_deep_tx_data.py | 2 +- web3-toolkit/scripts/get_reserve_history_by_block.py | 2 +- .../get_transfer_logs_and_wallets_balance_for_a_token.py | 2 +- web3-toolkit/scripts/scrape_transfer_events.py | 2 +- web3-toolkit/scripts/utils/arithmetics.py | 2 +- web3-toolkit/scripts/utils/plots.py | 2 +- web3-toolkit/scripts/utils/strings.py | 2 +- web3-toolkit/scripts/utils/web3_wrapper.py | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/boilerplates/click/setup.py b/boilerplates/click/setup.py index 124b241..eaec6e0 100644 --- a/boilerplates/click/setup.py +++ b/boilerplates/click/setup.py @@ -5,7 +5,7 @@ version='0.0.1', packages=find_packages(), include_package_data=True, - author='steinkirch', + author='Mia Stein', install_requires=[ 'Click', ], diff --git a/boilerplates/project_boilerplate/setup.py b/boilerplates/project_boilerplate/setup.py index 7c655f2..15df9ef 100644 --- a/boilerplates/project_boilerplate/setup.py +++ b/boilerplates/project_boilerplate/setup.py @@ -5,7 +5,7 @@ version='0.1', packages=find_packages(include=['src', \ 'src.utils']), - author="bt3gl", + author="mia stein", install_requires=['python-dotenv'], entry_points={ 'console_scripts': ['my_package=src.main:run'] diff --git a/boilerplates/tests/setup.py b/boilerplates/tests/setup.py index 4b7241c..b4a632d 100644 --- a/boilerplates/tests/setup.py +++ b/boilerplates/tests/setup.py @@ -5,7 +5,7 @@ version='0.0.1', packages=find_packages(), include_package_data=True, - author='steinkirch', + author='Mia Stein', install_requires=[ ], entry_points=''' diff --git a/web2-projects/enconding-decimals/setup.py b/web2-projects/enconding-decimals/setup.py index 70a4768..65d4d38 100644 --- a/web2-projects/enconding-decimals/setup.py +++ b/web2-projects/enconding-decimals/setup.py @@ -5,7 +5,7 @@ version='0.0.1', packages=find_packages(), include_package_data=True, - author='steinkirch', + author='Mia Stein', install_requires=[ ], entry_points=''' diff --git a/web2-projects/other-puzzles/falling-rain-On.py b/web2-projects/other-puzzles/falling-rain-On.py index dd42936..8b78e1e 100644 --- a/web2-projects/other-puzzles/falling-rain-On.py +++ b/web2-projects/other-puzzles/falling-rain-On.py @@ -8,7 +8,7 @@ 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. -Solution by bt3gl +Solution by Mia Stein ''' def _create_wall_array(size) -> list: diff --git a/web2-projects/other-puzzles/falling-rain-On2.py b/web2-projects/other-puzzles/falling-rain-On2.py index 4a95c58..29dcd37 100644 --- a/web2-projects/other-puzzles/falling-rain-On2.py +++ b/web2-projects/other-puzzles/falling-rain-On2.py @@ -8,7 +8,7 @@ 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. -Solution by bt3gl +Solution by Mia Stein ''' diff --git a/web3-toolkit/pyproject.toml b/web3-toolkit/pyproject.toml index d075c72..6e30269 100644 --- a/web3-toolkit/pyproject.toml +++ b/web3-toolkit/pyproject.toml @@ -2,7 +2,7 @@ name = "web3-python-toolkit" version = "0.1.0" description="toolkit for web3" -authors=["bt3gl"] +authors=["mia stein"] readme = "README.md" packages = [{include = "scripts"}] diff --git a/web3-toolkit/scripts/decode_calldata.py b/web3-toolkit/scripts/decode_calldata.py index 9696693..eae3c35 100644 --- a/web3-toolkit/scripts/decode_calldata.py +++ b/web3-toolkit/scripts/decode_calldata.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- encoding: utf-8 -*- -# author: steinkirch +# author: Mia Stein from utils.strings import pprint from utils.os import load_config diff --git a/web3-toolkit/scripts/get_contracts_deployed.py b/web3-toolkit/scripts/get_contracts_deployed.py index d8c8c52..58f1b49 100755 --- a/web3-toolkit/scripts/get_contracts_deployed.py +++ b/web3-toolkit/scripts/get_contracts_deployed.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- encoding: utf-8 -*- -# author: steinkirch +# author: Mia Stein import os import ethereumetl diff --git a/web3-toolkit/scripts/get_deep_block_data.py b/web3-toolkit/scripts/get_deep_block_data.py index 593c1d1..df98c74 100755 --- a/web3-toolkit/scripts/get_deep_block_data.py +++ b/web3-toolkit/scripts/get_deep_block_data.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- encoding: utf-8 -*- -# author: steinkirch +# author: Mia Stein from utils.strings import pprint from utils.os import load_config diff --git a/web3-toolkit/scripts/get_deep_tx_data.py b/web3-toolkit/scripts/get_deep_tx_data.py index daaeb6a..ffd8d82 100755 --- a/web3-toolkit/scripts/get_deep_tx_data.py +++ b/web3-toolkit/scripts/get_deep_tx_data.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- encoding: utf-8 -*- -# author: steinkirch +# author: Mia Stein from utils.strings import pprint from utils.os import load_config diff --git a/web3-toolkit/scripts/get_reserve_history_by_block.py b/web3-toolkit/scripts/get_reserve_history_by_block.py index 8f2b7f2..8151e50 100755 --- a/web3-toolkit/scripts/get_reserve_history_by_block.py +++ b/web3-toolkit/scripts/get_reserve_history_by_block.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- encoding: utf-8 -*- -# author: steinkirch +# author: Mia Stein from utils.os import load_config, open_json, log_info from utils.web3_wrapper import Web3Wrapper diff --git a/web3-toolkit/scripts/get_transfer_logs_and_wallets_balance_for_a_token.py b/web3-toolkit/scripts/get_transfer_logs_and_wallets_balance_for_a_token.py index 6897e41..52d5a16 100644 --- a/web3-toolkit/scripts/get_transfer_logs_and_wallets_balance_for_a_token.py +++ b/web3-toolkit/scripts/get_transfer_logs_and_wallets_balance_for_a_token.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- encoding: utf-8 -*- -# author: steinkirch +# author: Mia Stein # ############################################################################################ # diff --git a/web3-toolkit/scripts/scrape_transfer_events.py b/web3-toolkit/scripts/scrape_transfer_events.py index 4e29839..1ba35e6 100644 --- a/web3-toolkit/scripts/scrape_transfer_events.py +++ b/web3-toolkit/scripts/scrape_transfer_events.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- encoding: utf-8 -*- -# author: steinkirch +# author: Mia Stein # ############################################################################################ # diff --git a/web3-toolkit/scripts/utils/arithmetics.py b/web3-toolkit/scripts/utils/arithmetics.py index 6039896..3a60425 100644 --- a/web3-toolkit/scripts/utils/arithmetics.py +++ b/web3-toolkit/scripts/utils/arithmetics.py @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- # arithmetics.py # This class implements math methods used by the other classes. -# author: steinkirch +# author: Mia Stein from decimal import Decimal, getcontext diff --git a/web3-toolkit/scripts/utils/plots.py b/web3-toolkit/scripts/utils/plots.py index 0c74306..f481892 100644 --- a/web3-toolkit/scripts/utils/plots.py +++ b/web3-toolkit/scripts/utils/plots.py @@ -1,6 +1,6 @@ # -*- encoding: utf-8 -*- # This class implements plot scripts -# author: steinkirch +# author: Mia Stein import pandas as pd from utils.os import exit_with_error, log_error diff --git a/web3-toolkit/scripts/utils/strings.py b/web3-toolkit/scripts/utils/strings.py index bf9e581..e8afa07 100644 --- a/web3-toolkit/scripts/utils/strings.py +++ b/web3-toolkit/scripts/utils/strings.py @@ -1,6 +1,6 @@ # -*- encoding: utf-8 -*- # This class implements string methods used by the other classes. -# author: steinkirch +# author: Mia Stein from pprint import PrettyPrinter diff --git a/web3-toolkit/scripts/utils/web3_wrapper.py b/web3-toolkit/scripts/utils/web3_wrapper.py index fa642e4..fd8cbb4 100644 --- a/web3-toolkit/scripts/utils/web3_wrapper.py +++ b/web3-toolkit/scripts/utils/web3_wrapper.py @@ -1,6 +1,6 @@ # -*- encoding: utf-8 -*- # This class implements an (ongoing) wrapper for web3 libs. -# author: steinkirch +# author: Mia Stein from web3 import Web3, HTTPProvider, WebsocketProvider, IPCProvider from web3.middleware import geth_poa_middleware