eth-portfolio-temp 0.2.10.dev0__tar.gz → 0.2.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of eth-portfolio-temp might be problematic. Click here for more details.

Files changed (114) hide show
  1. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/.github/workflows/black.yaml +3 -0
  2. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/.github/workflows/compile.yaml +20 -3
  3. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/.github/workflows/release.yaml +41 -7
  4. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/PKG-INFO +3 -3
  5. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/exporter.rst +1 -1
  6. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_ledgers/address.py +1 -1
  7. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_loaders/token_transfer.py +1 -1
  8. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_loaders/transaction.py +1 -1
  9. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_loaders/utils.py +1 -1
  10. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_utils.py +1 -1
  11. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/buckets.py +1 -1
  12. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/lending/liquity.py +1 -1
  13. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/lending/maker.py +1 -1
  14. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/_portfolio.py +1 -1
  15. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/docker/docker-compose.yaml +1 -1
  16. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/main.py +2 -2
  17. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_temp.egg-info/PKG-INFO +3 -3
  18. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_temp.egg-info/requires.txt +2 -2
  19. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_temp.egg-info/top_level.txt +1 -1
  20. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/pyproject.toml +2 -2
  21. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/requirements.txt +2 -2
  22. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/setup.py +1 -0
  23. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/.env.sample +0 -0
  24. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/.github/workflows/deploy_docs.yaml +0 -0
  25. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/.github/workflows/mypy.yaml +0 -0
  26. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/.gitignore +0 -0
  27. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/Makefile +0 -0
  28. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/README.md +0 -0
  29. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/brownie-config.yaml +0 -0
  30. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/Makefile +0 -0
  31. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/alabaster.css +0 -0
  32. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/basic.css +0 -0
  33. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/custom.css +0 -0
  34. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/doctools.js +0 -0
  35. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/documentation_options.js +0 -0
  36. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/file.png +0 -0
  37. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/language_data.js +0 -0
  38. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/minus.png +0 -0
  39. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/plus.png +0 -0
  40. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/pygments.css +0 -0
  41. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/searchtools.js +0 -0
  42. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/_build/html/_static/sphinx_highlight.js +0 -0
  43. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/caching.rst +0 -0
  44. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/conf.py +0 -0
  45. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/index.rst +0 -0
  46. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/make.bat +0 -0
  47. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/docs/new-protocols.rst +0 -0
  48. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/__init__.py +0 -0
  49. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_argspec.py +0 -0
  50. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_cache.py +0 -0
  51. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_config.py +0 -0
  52. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_db/__init__.py +0 -0
  53. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_db/decorators.py +0 -0
  54. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_db/entities.py +0 -0
  55. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_db/utils.py +0 -0
  56. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_decimal.py +0 -0
  57. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_decorators.py +0 -0
  58. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_exceptions.py +0 -0
  59. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_ledgers/__init__.py +0 -0
  60. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_ledgers/portfolio.py +0 -0
  61. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_loaders/__init__.py +0 -0
  62. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_loaders/_nonce.py +0 -0
  63. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_loaders/balances.py +0 -0
  64. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_shitcoins.py +0 -0
  65. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_stableish.py +0 -0
  66. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_submodules.py +0 -0
  67. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_ydb/__init__.py +0 -0
  68. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/_ydb/token_transfers.py +0 -0
  69. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/address.py +0 -0
  70. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/constants.py +0 -0
  71. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/portfolio.py +0 -0
  72. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/__init__.py +0 -0
  73. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/_base.py +0 -0
  74. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/convex.py +0 -0
  75. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/dsr.py +0 -0
  76. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/lending/README.md +0 -0
  77. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/lending/__init__.py +0 -0
  78. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/lending/_base.py +0 -0
  79. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/lending/compound.py +0 -0
  80. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/lending/unit.py +0 -0
  81. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/protocols/liquity.py +0 -0
  82. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/py.typed +0 -0
  83. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/structs/__init__.py +0 -0
  84. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/structs/modified.py +0 -0
  85. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/structs/structs.py +0 -0
  86. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/typing/__init__.py +0 -0
  87. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio/typing/balance/single.py +0 -0
  88. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/__init__.py +0 -0
  89. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/_args.py +0 -0
  90. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/_logging.py +0 -0
  91. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/_utils.py +0 -0
  92. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/balances.py +0 -0
  93. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/docker/.grafana/dashboards/Portfolio/Balances.json +0 -0
  94. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/docker/.grafana/dashboards/dashboards.yaml +0 -0
  95. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/docker/.grafana/datasources/datasources.yml +0 -0
  96. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/docker/__init__.py +0 -0
  97. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/docker/check.py +0 -0
  98. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/docker/docker_compose.py +0 -0
  99. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/py.typed +0 -0
  100. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/victoria/__init__.py +0 -0
  101. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_scripts/victoria/types.py +0 -0
  102. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_temp.egg-info/SOURCES.txt +0 -0
  103. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_temp.egg-info/dependency_links.txt +0 -0
  104. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_temp.egg-info/entry_points.txt +0 -0
  105. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/eth_portfolio_temp.egg-info/not-zip-safe +0 -0
  106. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/renovate.json +0 -0
  107. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/setup.cfg +0 -0
  108. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/tests/_test_completeness.py +0 -0
  109. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/tests/conftest.py +0 -0
  110. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/tests/fixtures.py +0 -0
  111. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/tests/protocols/test_external.py +0 -0
  112. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/tests/scripts/test_utils.py +0 -0
  113. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/tests/test_portfolio.py +0 -0
  114. {eth_portfolio_temp-0.2.10.dev0 → eth_portfolio_temp-0.2.11}/tests/test_typing.py +0 -0
@@ -4,6 +4,9 @@ on:
4
4
  pull_request:
5
5
  branches:
6
6
  - master
7
+ paths-ignore:
8
+ - '.github/workflows/**'
9
+ - '!.github/workflows/black.yaml'
7
10
 
8
11
  jobs:
9
12
  format:
@@ -4,6 +4,9 @@ on:
4
4
  pull_request:
5
5
  branches:
6
6
  - master
7
+ paths-ignore:
8
+ - '.github/workflows/**'
9
+ - '!.github/workflows/compile.yaml'
7
10
 
8
11
  concurrency:
9
12
  group: ${{ github.workflow }}-${{ github.ref }}
@@ -23,12 +26,26 @@ jobs:
23
26
  uses: actions/setup-python@v6
24
27
  with:
25
28
  python-version: "3.13"
26
-
27
- - name: Install Requirements
28
- run: pip install -r requirements.txt
29
+
30
+ - name: Delete existing build files
31
+ run: rm -rf build
29
32
 
30
33
  - name: Install Eth Portfolio
31
34
  run: pip install .
35
+
36
+ - name: Normalize C files for diffchecking
37
+ # This makes it much easier to diffcheck changes in the C files
38
+ run: |
39
+ # Insert DIFFCHECK_PLACEHOLDER macro at the top if not present
40
+ for f in build/*.c; do
41
+ if ! grep -q 'DIFFCHECK_PLACEHOLDER' "$f"; then
42
+ sed -i '1i#ifndef DIFFCHECK_PLACEHOLDER\n#define DIFFCHECK_PLACEHOLDER 0\n#endif' "$f"
43
+ fi
44
+ done
45
+ # Replace line number in CPy_AddTraceback with macro
46
+ sed -i 's/\(CPy_AddTraceback([^,]*, *[^,]*, *\)[0-9]\+\(, *[^)]*)\)/\1DIFFCHECK_PLACEHOLDER\2/g' build/*.c
47
+ # Replace index in CPyStatics[...] with macro
48
+ sed -i 's/CPyStatics\[[0-9]\+\]/CPyStatics[DIFFCHECK_PLACEHOLDER]/g' build/*.c
32
49
 
33
50
  - name: Check for changes
34
51
  run: |
@@ -5,6 +5,11 @@ on:
5
5
  branches:
6
6
  - master
7
7
  types: [published]
8
+ workflow_dispatch:
9
+ inputs:
10
+ fake_tag:
11
+ description: 'Fake tag name to use for dry run (e.g. v2.3.4)'
12
+ required: true
8
13
 
9
14
  jobs:
10
15
  build_wheels:
@@ -73,8 +78,19 @@ jobs:
73
78
  uses: actions/checkout@v5
74
79
  with:
75
80
  fetch-depth: 0
76
- fetch-tags: true
77
- ref: refs/tags/${{ github.event.release.tag_name }}
81
+
82
+ # ----------------------------------------------------
83
+ # Extract version from git tag or use fake tag for dry run (strip leading 'v')
84
+ # ----------------------------------------------------
85
+ - name: Extract version from tag
86
+ id: get_version
87
+ shell: bash
88
+ run: |
89
+ if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
90
+ echo "version=$(echo '${{ github.event.inputs.fake_tag }}' | sed 's/^v//')" >> $GITHUB_OUTPUT
91
+ else
92
+ echo "version=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT
93
+ fi
78
94
 
79
95
  - name: Set up Python
80
96
  uses: actions/setup-python@v6
@@ -95,6 +111,10 @@ jobs:
95
111
  CIBW_ARCHS_WINDOWS: ${{ matrix.cibw_archs_windows || '' }}
96
112
  # Which wheels to build for Linux (manylinux vs. musllinux)
97
113
  CIBW_BUILD: ${{ matrix.cibw_build || '' }}
114
+ # Use version from git tag (stripped 'v')
115
+ SETUPTOOLS_SCM_PRETEND_VERSION: ${{ steps.get_version.outputs.version }}
116
+ # Pass version into Docker for Linux builds
117
+ CIBW_ENVIRONMENT: "SETUPTOOLS_SCM_PRETEND_VERSION=${{ steps.get_version.outputs.version }}"
98
118
  run: |
99
119
  python -m cibuildwheel --output-dir wheelhouse
100
120
 
@@ -113,8 +133,19 @@ jobs:
113
133
  uses: actions/checkout@v5
114
134
  with:
115
135
  fetch-depth: 0
116
- fetch-tags: true
117
- ref: refs/tags/${{ github.event.release.tag_name }}
136
+
137
+ # ----------------------------------------------------
138
+ # Extract version from git tag or use fake tag for dry run (strip leading 'v')
139
+ # ----------------------------------------------------
140
+ - name: Extract version from tag
141
+ id: get_version
142
+ shell: bash
143
+ run: |
144
+ if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
145
+ echo "version=$(echo '${{ github.event.inputs.fake_tag }}' | sed 's/^v//')" >> $GITHUB_OUTPUT
146
+ else
147
+ echo "version=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT
148
+ fi
118
149
 
119
150
  - name: Set up Python
120
151
  uses: actions/setup-python@v6
@@ -127,8 +158,10 @@ jobs:
127
158
  pip install setuptools wheel twine mypy[mypyc] types-aiofiles
128
159
 
129
160
  - name: Build sdist
130
- run: |
131
- python setup.py sdist
161
+ env:
162
+ # Use version from git tag (stripped 'v')
163
+ SETUPTOOLS_SCM_PRETEND_VERSION: ${{ steps.get_version.outputs.version }}
164
+ run: python setup.py sdist
132
165
 
133
166
  # ----------------------------------------------------
134
167
  # Download wheels built on each runner
@@ -170,9 +203,10 @@ jobs:
170
203
  path: wheelhouse/windows-x86
171
204
 
172
205
  # ----------------------------------------------------
173
- # Publish all built artifacts to PyPI
206
+ # Publish sdist and wheels to PyPI
174
207
  # ----------------------------------------------------
175
208
  - name: Publish sdist and wheels to PyPI
209
+ if: ${{ github.event_name != 'workflow_dispatch' }}
176
210
  env:
177
211
  TWINE_USERNAME: __token__
178
212
  TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eth_portfolio_temp
3
- Version: 0.2.10.dev0
3
+ Version: 0.2.11
4
4
  Summary: eth-portfolio makes it easy to analyze your portfolio.
5
5
  Home-page: https://github.com/BobTheBuidler/eth-portfolio
6
6
  Author: BobTheBuidler
@@ -8,7 +8,7 @@ Author-email: bobthebuidlerdefi@gmail.com
8
8
  Requires-Python: >=3.10,<3.14
9
9
  Requires-Dist: checksum_dict>=2.1.7
10
10
  Requires-Dist: dank_mids>=4.20.154
11
- Requires-Dist: eth-brownie<1.23,>=1.21.0
11
+ Requires-Dist: eth-brownie<1.23,>=1.22.0.dev0
12
12
  Requires-Dist: eth_retry<1,>=0.3.4
13
13
  Requires-Dist: evmspec>=0.4.1
14
14
  Requires-Dist: ez-a-sync>=0.32.27
@@ -16,7 +16,7 @@ Requires-Dist: faster-eth-utils
16
16
  Requires-Dist: numpy<3
17
17
  Requires-Dist: pandas<3,>=1.4.3
18
18
  Requires-Dist: typed-envs>=0.0.9
19
- Requires-Dist: ypricemagic<5,>=4.7.1.dev0
19
+ Requires-Dist: ypricemagic<5,>=4.10.0
20
20
  Dynamic: author
21
21
  Dynamic: author-email
22
22
  Dynamic: home-page
@@ -34,7 +34,7 @@ The Portfolio Exporter supports several command-line options to customize its be
34
34
  The time interval between datapoints. default: 6h
35
35
 
36
36
  - ``--concurrency <concurrency>``
37
- The max number of historical blocks to export concurrently. default: 60
37
+ The max number of historical blocks to export concurrently. default: 40
38
38
 
39
39
  - ``--first-tx-block <block>``
40
40
  The block of your portfolio's first transaction, if known. This value, if provided, allows us to speed up processing of your data by limiting the block range we need to query. If not provided, the whole blockchain will be scanned. default: 0
@@ -37,13 +37,13 @@ import dank_mids
37
37
  import eth_retry
38
38
  from a_sync.asyncio import sleep0 as yield_to_loop
39
39
  from aiohttp import ClientResponseError
40
- from async_lru import alru_cache
41
40
  from brownie import chain
42
41
  from dank_mids.eth import TraceFilterParams
43
42
  from eth_typing import BlockNumber, ChecksumAddress
44
43
  from evmspec import FilterTrace
45
44
  from evmspec.structs.receipt import Status
46
45
  from evmspec.structs.trace import call, reward
46
+ from faster_async_lru import alru_cache
47
47
  from typing_extensions import Unpack
48
48
  from pandas import DataFrame # type: ignore
49
49
  from tqdm import tqdm
@@ -7,10 +7,10 @@ from logging import getLogger
7
7
  from typing import Final, Optional, Set
8
8
 
9
9
  from a_sync import create_task, gather
10
- from async_lru import alru_cache
11
10
  from dank_mids import BlockSemaphore
12
11
  from eth_typing import ChecksumAddress
13
12
  from evmspec.data import TransactionIndex
13
+ from faster_async_lru import alru_cache
14
14
  from msgspec import Struct, ValidationError
15
15
  from msgspec.json import decode
16
16
  from pony.orm import TransactionIntegrityError, UnexpectedError
@@ -15,9 +15,9 @@ import eth_retry
15
15
  import evmspec
16
16
  import msgspec
17
17
  from a_sync import SmartProcessingQueue
18
- from async_lru import alru_cache
19
18
  from eth_typing import ChecksumAddress
20
19
  from evmspec import data
20
+ from faster_async_lru import alru_cache
21
21
  from pony.orm import TransactionIntegrityError
22
22
  from y import get_price
23
23
  from y._decorators import stuck_coro_debugger
@@ -4,8 +4,8 @@ import dank_mids
4
4
  import eth_retry
5
5
  import msgspec
6
6
  from a_sync import SmartProcessingQueue
7
- from async_lru import alru_cache
8
7
  from eth_typing import HexStr
8
+ from faster_async_lru import alru_cache
9
9
  from y._decorators import stuck_coro_debugger
10
10
 
11
11
 
@@ -18,9 +18,9 @@ from typing import (
18
18
 
19
19
  import dank_mids
20
20
  from a_sync import ASyncGenericBase, ASyncIterable, ASyncIterator, as_yielded
21
- from async_lru import alru_cache
22
21
  from brownie import chain
23
22
  from brownie.exceptions import ContractNotFound
23
+ from faster_async_lru import alru_cache
24
24
  from faster_eth_abi.exceptions import InsufficientDataBytes
25
25
  from eth_typing import ChecksumAddress
26
26
  from pandas import DataFrame # type: ignore
@@ -2,8 +2,8 @@ import logging
2
2
  from typing import Any, Final, Optional, Set
3
3
 
4
4
  from a_sync import igather
5
- from async_lru import alru_cache
6
5
  from eth_typing import ChecksumAddress
6
+ from faster_async_lru import alru_cache
7
7
  from y.constants import CHAINID, STABLECOINS, WRAPPED_GAS_COIN
8
8
  from y.convert import to_address
9
9
  from y.datatypes import Address, AnyAddressType
@@ -1,6 +1,6 @@
1
1
  from typing import Optional
2
2
 
3
- from async_lru import alru_cache
3
+ from faster_async_lru import alru_cache
4
4
  from y import Contract, Network, get_price
5
5
  from y._decorators import stuck_coro_debugger
6
6
  from y.constants import EEE_ADDRESS
@@ -2,10 +2,10 @@ from asyncio import gather
2
2
  from typing import Final, List, Optional
3
3
 
4
4
  from a_sync import igather
5
- from async_lru import alru_cache
6
5
  from brownie import ZERO_ADDRESS
7
6
  from dank_mids.exceptions import Revert
8
7
  from eth_typing import HexStr
8
+ from faster_async_lru import alru_cache
9
9
  from faster_eth_abi import encode
10
10
  from y import Contract, Network, contract_creation_block_async, get_price
11
11
  from y._decorators import stuck_coro_debugger
@@ -58,7 +58,7 @@ class ExportablePortfolio(Portfolio):
58
58
  *,
59
59
  start_block: int = 0,
60
60
  label: str = _DEFAULT_LABEL,
61
- concurrency: int = 60,
61
+ concurrency: int = 40,
62
62
  load_prices: bool = True,
63
63
  get_bucket: Callable[[ChecksumAddress], Awaitable[str]] = get_token_bucket,
64
64
  num_workers_transactions: int = 1000,
@@ -47,7 +47,7 @@ services:
47
47
  restart: always
48
48
 
49
49
  victoria-metrics:
50
- image: victoriametrics/victoria-metrics:v1.126.0
50
+ image: victoriametrics/victoria-metrics:v1.127.0
51
51
  volumes:
52
52
  - ~/.eth-portfolio/data/victoria/:/victoria-metrics-data
53
53
  command:
@@ -57,8 +57,8 @@ export_parser.add_argument(
57
57
  export_parser.add_argument(
58
58
  "--concurrency",
59
59
  type=int,
60
- help="The max number of historical blocks to export concurrently. default: 60",
61
- default=60,
60
+ help="The max number of historical blocks to export concurrently. default: 40",
61
+ default=40,
62
62
  )
63
63
  export_parser.add_argument(
64
64
  "--first-tx-block",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eth_portfolio_temp
3
- Version: 0.2.10.dev0
3
+ Version: 0.2.11
4
4
  Summary: eth-portfolio makes it easy to analyze your portfolio.
5
5
  Home-page: https://github.com/BobTheBuidler/eth-portfolio
6
6
  Author: BobTheBuidler
@@ -8,7 +8,7 @@ Author-email: bobthebuidlerdefi@gmail.com
8
8
  Requires-Python: >=3.10,<3.14
9
9
  Requires-Dist: checksum_dict>=2.1.7
10
10
  Requires-Dist: dank_mids>=4.20.154
11
- Requires-Dist: eth-brownie<1.23,>=1.21.0
11
+ Requires-Dist: eth-brownie<1.23,>=1.22.0.dev0
12
12
  Requires-Dist: eth_retry<1,>=0.3.4
13
13
  Requires-Dist: evmspec>=0.4.1
14
14
  Requires-Dist: ez-a-sync>=0.32.27
@@ -16,7 +16,7 @@ Requires-Dist: faster-eth-utils
16
16
  Requires-Dist: numpy<3
17
17
  Requires-Dist: pandas<3,>=1.4.3
18
18
  Requires-Dist: typed-envs>=0.0.9
19
- Requires-Dist: ypricemagic<5,>=4.7.1.dev0
19
+ Requires-Dist: ypricemagic<5,>=4.10.0
20
20
  Dynamic: author
21
21
  Dynamic: author-email
22
22
  Dynamic: home-page
@@ -1,6 +1,6 @@
1
1
  checksum_dict>=2.1.7
2
2
  dank_mids>=4.20.154
3
- eth-brownie<1.23,>=1.21.0
3
+ eth-brownie<1.23,>=1.22.0.dev0
4
4
  eth_retry<1,>=0.3.4
5
5
  evmspec>=0.4.1
6
6
  ez-a-sync>=0.32.27
@@ -8,4 +8,4 @@ faster-eth-utils
8
8
  numpy<3
9
9
  pandas<3,>=1.4.3
10
10
  typed-envs>=0.0.9
11
- ypricemagic<5,>=4.7.1.dev0
11
+ ypricemagic<5,>=4.10.0
@@ -1,3 +1,3 @@
1
- 295eace8438df6ec133b__mypyc
2
1
  eth_portfolio
2
+ eth_portfolio__mypyc
3
3
  eth_portfolio_scripts
@@ -4,8 +4,8 @@ requires = [
4
4
  "wheel",
5
5
  "mypy[mypyc]>=1.18.2,<1.18.3",
6
6
  "types-aiofiles",
7
- "eth-brownie==1.21.0; sys_platform=='linux'",
8
- "eth-typing==4.4.0",
7
+ "eth-brownie==1.22.0.dev0; sys_platform=='linux' and platform_machine != 'i686'",
8
+ "eth-typing==5.2.1",
9
9
  "ez-a-sync>=0.32.7,<0.33",
10
10
  ]
11
11
 
@@ -1,6 +1,6 @@
1
1
  checksum_dict>=2.1.7
2
2
  dank_mids>=4.20.154
3
- eth-brownie>=1.21.0,<1.23
3
+ eth-brownie>=1.22.0.dev0,<1.23
4
4
  eth_retry>=0.3.4,<1
5
5
  evmspec>=0.4.1
6
6
  ez-a-sync>=0.32.27
@@ -8,4 +8,4 @@ faster-eth-utils
8
8
  numpy<3
9
9
  pandas>=1.4.3,<3
10
10
  typed-envs>=0.0.9
11
- ypricemagic>=4.7.1.dev0,<5
11
+ ypricemagic>=4.10.0,<5
@@ -95,6 +95,7 @@ try:
95
95
  "--disable-error-code=typeddict-item",
96
96
  "--disable-error-code=index",
97
97
  ],
98
+ group_name="eth_portfolio",
98
99
  )
99
100
  except Exception as e: # fallback in case build fails
100
101
  logging.error("Error compiling eth-portfolio:", exc_info=True)