DeFiPy 0.0.17__tar.gz → 0.0.18__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.
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/DeFiPy.egg-info/PKG-INFO +20 -3
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/DeFiPy.egg-info/SOURCES.txt +1 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/DeFiPy.egg-info/requires.txt +1 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/PKG-INFO +20 -3
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/README.md +19 -2
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/__init__.py +1 -0
- DeFiPy-0.0.18/python/prod/utils/client/__init__.py +1 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/setup.py +4 -2
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/DeFiPy.egg-info/dependency_links.txt +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/DeFiPy.egg-info/not-zip-safe +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/DeFiPy.egg-info/top_level.txt +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/LICENSE.txt +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/erc/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/math/basic/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/math/interest/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/math/interest/ips/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/math/interest/ips/aggregate/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/math/model/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/math/risk/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/process/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/process/burn/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/process/deposit/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/process/liquidity/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/process/mint/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/process/swap/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/simulate/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/utils/data/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/python/prod/utils/interfaces/__init__.py +0 -0
- {DeFiPy-0.0.17 → DeFiPy-0.0.18}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: DeFiPy
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.18
|
|
4
4
|
Summary: DeFi Analytics with Python
|
|
5
5
|
Home-page: http://github.com/defipy-devs/defipy
|
|
6
6
|
Author: icmoore
|
|
@@ -10,7 +10,7 @@ Platform: UNKNOWN
|
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE.txt
|
|
12
12
|
|
|
13
|
-
# DeFiPy: DeFi Analytics with Python (v 0.0.
|
|
13
|
+
'# DeFiPy: DeFi Analytics with Python (v 0.0.18)
|
|
14
14
|
|
|
15
15
|
Welcome to the worlds first DeFi Python package with all major protocols intergrated into one package! Implement your analytics in one package with DeFiPy. Since DeFiPy is built with a modular design in mind, your can also silo your analytics by protocol
|
|
16
16
|
using:
|
|
@@ -143,6 +143,23 @@ StableSwap Example
|
|
|
143
143
|
#OUTPUT:
|
|
144
144
|
Stableswap Exchange: DAI-USDC-USDT (LP)
|
|
145
145
|
Reserves: DAI = 79566307.55982581, USDC = 81345068.187939, USDT = 55663250.772939
|
|
146
|
-
Liquidity: 216573027.91811988
|
|
146
|
+
Liquidity: 216573027.91811988
|
|
147
|
+
|
|
148
|
+
## 0x Quant Terminal
|
|
149
|
+
|
|
150
|
+
This application utilizes the 0x API to produce a mock Uniswap pool which allows end-users to stress test
|
|
151
|
+
the limitations of a Uniswap pool setup using live price feeds from [0x API](https://0x.org); for backend setup, see
|
|
152
|
+
[notebook](https://github.com/defipy-devs/defipy/blob/main/notebooks/quant_terminal.ipynb)
|
|
153
|
+
|
|
154
|
+
Click [dashboard.defipy.org](https://dashboard.defipy.org/) for live link; for more detail see
|
|
155
|
+
[README](https://github.com/defipy-devs/defipy/tree/main/python/application/quant_terminal#readme)
|
|
156
|
+
|
|
157
|
+

|
|
158
|
+
|
|
159
|
+
### Run application locally
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
> bokeh serve --show python/application/quant_terminal/bokeh_server.py
|
|
163
|
+
```
|
|
147
164
|
|
|
148
165
|
|
|
@@ -29,5 +29,6 @@ python/prod/process/liquidity/__init__.py
|
|
|
29
29
|
python/prod/process/mint/__init__.py
|
|
30
30
|
python/prod/process/swap/__init__.py
|
|
31
31
|
python/prod/simulate/__init__.py
|
|
32
|
+
python/prod/utils/client/__init__.py
|
|
32
33
|
python/prod/utils/data/__init__.py
|
|
33
34
|
python/prod/utils/interfaces/__init__.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: DeFiPy
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.18
|
|
4
4
|
Summary: DeFi Analytics with Python
|
|
5
5
|
Home-page: http://github.com/defipy-devs/defipy
|
|
6
6
|
Author: icmoore
|
|
@@ -10,7 +10,7 @@ Platform: UNKNOWN
|
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE.txt
|
|
12
12
|
|
|
13
|
-
# DeFiPy: DeFi Analytics with Python (v 0.0.
|
|
13
|
+
'# DeFiPy: DeFi Analytics with Python (v 0.0.18)
|
|
14
14
|
|
|
15
15
|
Welcome to the worlds first DeFi Python package with all major protocols intergrated into one package! Implement your analytics in one package with DeFiPy. Since DeFiPy is built with a modular design in mind, your can also silo your analytics by protocol
|
|
16
16
|
using:
|
|
@@ -143,6 +143,23 @@ StableSwap Example
|
|
|
143
143
|
#OUTPUT:
|
|
144
144
|
Stableswap Exchange: DAI-USDC-USDT (LP)
|
|
145
145
|
Reserves: DAI = 79566307.55982581, USDC = 81345068.187939, USDT = 55663250.772939
|
|
146
|
-
Liquidity: 216573027.91811988
|
|
146
|
+
Liquidity: 216573027.91811988
|
|
147
|
+
|
|
148
|
+
## 0x Quant Terminal
|
|
149
|
+
|
|
150
|
+
This application utilizes the 0x API to produce a mock Uniswap pool which allows end-users to stress test
|
|
151
|
+
the limitations of a Uniswap pool setup using live price feeds from [0x API](https://0x.org); for backend setup, see
|
|
152
|
+
[notebook](https://github.com/defipy-devs/defipy/blob/main/notebooks/quant_terminal.ipynb)
|
|
153
|
+
|
|
154
|
+
Click [dashboard.defipy.org](https://dashboard.defipy.org/) for live link; for more detail see
|
|
155
|
+
[README](https://github.com/defipy-devs/defipy/tree/main/python/application/quant_terminal#readme)
|
|
156
|
+
|
|
157
|
+

|
|
158
|
+
|
|
159
|
+
### Run application locally
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
> bokeh serve --show python/application/quant_terminal/bokeh_server.py
|
|
163
|
+
```
|
|
147
164
|
|
|
148
165
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# DeFiPy: DeFi Analytics with Python (v 0.0.
|
|
1
|
+
'# DeFiPy: DeFi Analytics with Python (v 0.0.18)
|
|
2
2
|
|
|
3
3
|
Welcome to the worlds first DeFi Python package with all major protocols intergrated into one package! Implement your analytics in one package with DeFiPy. Since DeFiPy is built with a modular design in mind, your can also silo your analytics by protocol
|
|
4
4
|
using:
|
|
@@ -131,4 +131,21 @@ StableSwap Example
|
|
|
131
131
|
#OUTPUT:
|
|
132
132
|
Stableswap Exchange: DAI-USDC-USDT (LP)
|
|
133
133
|
Reserves: DAI = 79566307.55982581, USDC = 81345068.187939, USDT = 55663250.772939
|
|
134
|
-
Liquidity: 216573027.91811988
|
|
134
|
+
Liquidity: 216573027.91811988
|
|
135
|
+
|
|
136
|
+
## 0x Quant Terminal
|
|
137
|
+
|
|
138
|
+
This application utilizes the 0x API to produce a mock Uniswap pool which allows end-users to stress test
|
|
139
|
+
the limitations of a Uniswap pool setup using live price feeds from [0x API](https://0x.org); for backend setup, see
|
|
140
|
+
[notebook](https://github.com/defipy-devs/defipy/blob/main/notebooks/quant_terminal.ipynb)
|
|
141
|
+
|
|
142
|
+
Click [dashboard.defipy.org](https://dashboard.defipy.org/) for live link; for more detail see
|
|
143
|
+
[README](https://github.com/defipy-devs/defipy/tree/main/python/application/quant_terminal#readme)
|
|
144
|
+
|
|
145
|
+

|
|
146
|
+
|
|
147
|
+
### Run application locally
|
|
148
|
+
|
|
149
|
+
```
|
|
150
|
+
> bokeh serve --show python/application/quant_terminal/bokeh_server.py
|
|
151
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from uniswappy.utils.client import *
|
|
@@ -4,7 +4,7 @@ with open('README.md') as f:
|
|
|
4
4
|
long_description = f.read()
|
|
5
5
|
|
|
6
6
|
setup(name='DeFiPy',
|
|
7
|
-
version='0.0.
|
|
7
|
+
version='0.0.18',
|
|
8
8
|
description='DeFi Analytics with Python',
|
|
9
9
|
long_description=long_description,
|
|
10
10
|
long_description_content_type="text/markdown",
|
|
@@ -30,10 +30,12 @@ setup(name='DeFiPy',
|
|
|
30
30
|
'defipy.process.swap',
|
|
31
31
|
'defipy.simulate',
|
|
32
32
|
'defipy.utils.interfaces',
|
|
33
|
-
'defipy.utils.data'
|
|
33
|
+
'defipy.utils.data',
|
|
34
|
+
'defipy.utils.client'
|
|
34
35
|
],
|
|
35
36
|
install_requires=[
|
|
36
37
|
'scipy >= 1.7.3',
|
|
38
|
+
'bokeh == 3.3.4',
|
|
37
39
|
'uniswappy == 1.2.0',
|
|
38
40
|
'stableswappy == 0.0.11',
|
|
39
41
|
'balancerpy == 0.0.9'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|