DeFiPy 0.0.16__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.
Files changed (29) hide show
  1. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/DeFiPy.egg-info/PKG-INFO +32 -10
  2. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/DeFiPy.egg-info/SOURCES.txt +1 -0
  3. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/DeFiPy.egg-info/requires.txt +2 -1
  4. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/PKG-INFO +32 -10
  5. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/README.md +28 -5
  6. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/__init__.py +1 -0
  7. DeFiPy-0.0.18/python/prod/utils/client/__init__.py +1 -0
  8. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/setup.py +5 -3
  9. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/DeFiPy.egg-info/dependency_links.txt +0 -0
  10. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/DeFiPy.egg-info/not-zip-safe +0 -0
  11. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/DeFiPy.egg-info/top_level.txt +0 -0
  12. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/LICENSE.txt +0 -0
  13. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/erc/__init__.py +0 -0
  14. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/math/basic/__init__.py +0 -0
  15. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/math/interest/__init__.py +0 -0
  16. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/math/interest/ips/__init__.py +0 -0
  17. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/math/interest/ips/aggregate/__init__.py +0 -0
  18. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/math/model/__init__.py +0 -0
  19. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/math/risk/__init__.py +0 -0
  20. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/process/__init__.py +0 -0
  21. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/process/burn/__init__.py +0 -0
  22. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/process/deposit/__init__.py +0 -0
  23. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/process/liquidity/__init__.py +0 -0
  24. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/process/mint/__init__.py +0 -0
  25. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/process/swap/__init__.py +0 -0
  26. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/simulate/__init__.py +0 -0
  27. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/utils/data/__init__.py +0 -0
  28. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/python/prod/utils/interfaces/__init__.py +0 -0
  29. {DeFiPy-0.0.16 → DeFiPy-0.0.18}/setup.cfg +0 -0
@@ -1,22 +1,25 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: DeFiPy
3
- Version: 0.0.16
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
7
7
  Author-email: defipy.devs@gmail.com
8
8
  License: MIT
9
+ Platform: UNKNOWN
9
10
  Description-Content-Type: text/markdown
10
11
  License-File: LICENSE.txt
11
- Requires-Dist: scipy>=1.7.3
12
- Requires-Dist: uniswappy==1.1.4
13
- Requires-Dist: stableswappy==0.0.11
14
- Requires-Dist: balancerpy==0.0.9
15
12
 
16
- # defipy
17
- DeFi Analytics with Python (version 0.0.16)
18
- * Decoupled into [UniswapPy](https://github.com/icmoore/uniswappy),
19
- [BalancerPy](https://github.com/icmoore/balancerpy), and [StableSwapPy](https://github.com/icmoore/stableswappy) python packages
13
+ '# DeFiPy: DeFi Analytics with Python (v 0.0.18)
14
+
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
+ using:
17
+ * [UniswapPy](https://github.com/defipy-devs/uniswappy)
18
+ * [BalancerPy](https://github.com/defipy-devs/balancerpy)
19
+ * [StableSwapPy](https://github.com/defipy-devs/stableswappy)
20
+
21
+ ## Docs
22
+ Visit [DeFiPy docs](https://defipy.org) for full documentation with walk-through tutorials
20
23
 
21
24
  ## Install
22
25
  Must first install gmpy2 python package to handle the precision within the StableSwap protocol (requires CPython 3.7 or above). To install the latest release with pip:
@@ -140,4 +143,23 @@ StableSwap Example
140
143
  #OUTPUT:
141
144
  Stableswap Exchange: DAI-USDC-USDT (LP)
142
145
  Reserves: DAI = 79566307.55982581, USDC = 81345068.187939, USDT = 55663250.772939
143
- 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
+ ![plot](./doc/quant_terminal/screenshot.png)
158
+
159
+ ### Run application locally
160
+
161
+ ```
162
+ > bokeh serve --show python/application/quant_terminal/bokeh_server.py
163
+ ```
164
+
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,4 +1,5 @@
1
1
  scipy>=1.7.3
2
- uniswappy==1.1.4
2
+ bokeh==3.3.4
3
+ uniswappy==1.2.0
3
4
  stableswappy==0.0.11
4
5
  balancerpy==0.0.9
@@ -1,22 +1,25 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: DeFiPy
3
- Version: 0.0.16
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
7
7
  Author-email: defipy.devs@gmail.com
8
8
  License: MIT
9
+ Platform: UNKNOWN
9
10
  Description-Content-Type: text/markdown
10
11
  License-File: LICENSE.txt
11
- Requires-Dist: scipy>=1.7.3
12
- Requires-Dist: uniswappy==1.1.4
13
- Requires-Dist: stableswappy==0.0.11
14
- Requires-Dist: balancerpy==0.0.9
15
12
 
16
- # defipy
17
- DeFi Analytics with Python (version 0.0.16)
18
- * Decoupled into [UniswapPy](https://github.com/icmoore/uniswappy),
19
- [BalancerPy](https://github.com/icmoore/balancerpy), and [StableSwapPy](https://github.com/icmoore/stableswappy) python packages
13
+ '# DeFiPy: DeFi Analytics with Python (v 0.0.18)
14
+
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
+ using:
17
+ * [UniswapPy](https://github.com/defipy-devs/uniswappy)
18
+ * [BalancerPy](https://github.com/defipy-devs/balancerpy)
19
+ * [StableSwapPy](https://github.com/defipy-devs/stableswappy)
20
+
21
+ ## Docs
22
+ Visit [DeFiPy docs](https://defipy.org) for full documentation with walk-through tutorials
20
23
 
21
24
  ## Install
22
25
  Must first install gmpy2 python package to handle the precision within the StableSwap protocol (requires CPython 3.7 or above). To install the latest release with pip:
@@ -140,4 +143,23 @@ StableSwap Example
140
143
  #OUTPUT:
141
144
  Stableswap Exchange: DAI-USDC-USDT (LP)
142
145
  Reserves: DAI = 79566307.55982581, USDC = 81345068.187939, USDT = 55663250.772939
143
- 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
+ ![plot](./doc/quant_terminal/screenshot.png)
158
+
159
+ ### Run application locally
160
+
161
+ ```
162
+ > bokeh serve --show python/application/quant_terminal/bokeh_server.py
163
+ ```
164
+
165
+
@@ -1,7 +1,13 @@
1
- # defipy
2
- DeFi Analytics with Python (version 0.0.16)
3
- * Decoupled into [UniswapPy](https://github.com/icmoore/uniswappy),
4
- [BalancerPy](https://github.com/icmoore/balancerpy), and [StableSwapPy](https://github.com/icmoore/stableswappy) python packages
1
+ '# DeFiPy: DeFi Analytics with Python (v 0.0.18)
2
+
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
+ using:
5
+ * [UniswapPy](https://github.com/defipy-devs/uniswappy)
6
+ * [BalancerPy](https://github.com/defipy-devs/balancerpy)
7
+ * [StableSwapPy](https://github.com/defipy-devs/stableswappy)
8
+
9
+ ## Docs
10
+ Visit [DeFiPy docs](https://defipy.org) for full documentation with walk-through tutorials
5
11
 
6
12
  ## Install
7
13
  Must first install gmpy2 python package to handle the precision within the StableSwap protocol (requires CPython 3.7 or above). To install the latest release with pip:
@@ -125,4 +131,21 @@ StableSwap Example
125
131
  #OUTPUT:
126
132
  Stableswap Exchange: DAI-USDC-USDT (LP)
127
133
  Reserves: DAI = 79566307.55982581, USDC = 81345068.187939, USDT = 55663250.772939
128
- 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
+ ![plot](./doc/quant_terminal/screenshot.png)
146
+
147
+ ### Run application locally
148
+
149
+ ```
150
+ > bokeh serve --show python/application/quant_terminal/bokeh_server.py
151
+ ```
@@ -14,6 +14,7 @@ from defipy.process.swap import *
14
14
  from defipy.simulate import *
15
15
  from defipy.utils.interfaces import *
16
16
  from defipy.utils.data import *
17
+ from defipy.utils.client import *
17
18
 
18
19
  from uniswappy.cpt.exchg import *
19
20
  from uniswappy.cpt.factory import *
@@ -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.16',
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,11 +30,13 @@ 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',
37
- 'uniswappy == 1.1.4',
38
+ 'bokeh == 3.3.4',
39
+ 'uniswappy == 1.2.0',
38
40
  'stableswappy == 0.0.11',
39
41
  'balancerpy == 0.0.9'
40
42
  ],
File without changes
File without changes