DeFiPy 1.0.2__tar.gz → 1.0.4__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 (42) hide show
  1. {defipy-1.0.2 → defipy-1.0.4/DeFiPy.egg-info}/PKG-INFO +19 -10
  2. defipy-1.0.4/DeFiPy.egg-info/requires.txt +5 -0
  3. defipy-1.0.4/LICENSE.txt +120 -0
  4. defipy-1.0.2/README.md → defipy-1.0.4/PKG-INFO +30 -5
  5. defipy-1.0.2/DeFiPy.egg-info/PKG-INFO → defipy-1.0.4/README.md +8 -22
  6. {defipy-1.0.2 → defipy-1.0.4}/python/prod/process/join/Join.py +13 -2
  7. {defipy-1.0.2 → defipy-1.0.4}/python/prod/process/liquidity/AddLiquidity.py +13 -2
  8. {defipy-1.0.2 → defipy-1.0.4}/python/prod/process/liquidity/RemoveLiquidity.py +13 -2
  9. {defipy-1.0.2 → defipy-1.0.4}/python/prod/process/swap/Swap.py +13 -2
  10. {defipy-1.0.2 → defipy-1.0.4}/setup.py +14 -5
  11. defipy-1.0.2/DeFiPy.egg-info/requires.txt +0 -5
  12. defipy-1.0.2/LICENSE.txt +0 -21
  13. {defipy-1.0.2 → defipy-1.0.4}/DeFiPy.egg-info/SOURCES.txt +0 -0
  14. {defipy-1.0.2 → defipy-1.0.4}/DeFiPy.egg-info/dependency_links.txt +0 -0
  15. {defipy-1.0.2 → defipy-1.0.4}/DeFiPy.egg-info/not-zip-safe +0 -0
  16. {defipy-1.0.2 → defipy-1.0.4}/DeFiPy.egg-info/top_level.txt +0 -0
  17. {defipy-1.0.2 → defipy-1.0.4}/python/prod/__init__.py +0 -0
  18. {defipy-1.0.2 → defipy-1.0.4}/python/prod/analytics/risk/__init__.py +0 -0
  19. {defipy-1.0.2 → defipy-1.0.4}/python/prod/analytics/simulate/__init__.py +0 -0
  20. {defipy-1.0.2 → defipy-1.0.4}/python/prod/erc/__init__.py +0 -0
  21. {defipy-1.0.2 → defipy-1.0.4}/python/prod/math/basic/__init__.py +0 -0
  22. {defipy-1.0.2 → defipy-1.0.4}/python/prod/math/interest/__init__.py +0 -0
  23. {defipy-1.0.2 → defipy-1.0.4}/python/prod/math/interest/ips/__init__.py +0 -0
  24. {defipy-1.0.2 → defipy-1.0.4}/python/prod/math/interest/ips/aggregate/__init__.py +0 -0
  25. {defipy-1.0.2 → defipy-1.0.4}/python/prod/math/model/__init__.py +0 -0
  26. {defipy-1.0.2 → defipy-1.0.4}/python/prod/math/risk/__init__.py +0 -0
  27. {defipy-1.0.2 → defipy-1.0.4}/python/prod/process/__init__.py +0 -0
  28. {defipy-1.0.2 → defipy-1.0.4}/python/prod/process/burn/__init__.py +0 -0
  29. {defipy-1.0.2 → defipy-1.0.4}/python/prod/process/deposit/__init__.py +0 -0
  30. {defipy-1.0.2 → defipy-1.0.4}/python/prod/process/join/__init__.py +0 -0
  31. {defipy-1.0.2 → defipy-1.0.4}/python/prod/process/liquidity/__init__.py +0 -0
  32. {defipy-1.0.2 → defipy-1.0.4}/python/prod/process/mint/__init__.py +0 -0
  33. {defipy-1.0.2 → defipy-1.0.4}/python/prod/process/swap/__init__.py +0 -0
  34. {defipy-1.0.2 → defipy-1.0.4}/python/prod/utils/client/__init__.py +0 -0
  35. {defipy-1.0.2 → defipy-1.0.4}/python/prod/utils/client/contract/ExecuteScript.py +0 -0
  36. {defipy-1.0.2 → defipy-1.0.4}/python/prod/utils/client/contract/__init__.py +0 -0
  37. {defipy-1.0.2 → defipy-1.0.4}/python/prod/utils/data/__init__.py +0 -0
  38. {defipy-1.0.2 → defipy-1.0.4}/python/prod/utils/interfaces/__init__.py +0 -0
  39. {defipy-1.0.2 → defipy-1.0.4}/python/prod/utils/tools/UniswapScriptHelper.py +0 -0
  40. {defipy-1.0.2 → defipy-1.0.4}/python/prod/utils/tools/__init__.py +0 -0
  41. {defipy-1.0.2 → defipy-1.0.4}/python/prod/utils/tools/v3/__init__.py +0 -0
  42. {defipy-1.0.2 → defipy-1.0.4}/setup.cfg +0 -0
@@ -1,27 +1,36 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: DeFiPy
3
- Version: 1.0.2
3
+ Version: 1.0.4
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
- License: MIT
8
+ License: Apache-2.0
9
+ Classifier: License :: OSI Approved :: Apache Software License
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
15
+ Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
9
16
  Description-Content-Type: text/markdown
10
17
  License-File: LICENSE.txt
11
18
  Requires-Dist: scipy>=1.7.3
12
19
  Requires-Dist: bokeh==3.3.4
13
- Requires-Dist: uniswappy==1.7.0
14
- Requires-Dist: stableswappy==1.0.0
15
- Requires-Dist: balancerpy==1.0.1
20
+ Requires-Dist: uniswappy==1.7.2
21
+ Requires-Dist: stableswappy==1.0.1
22
+ Requires-Dist: balancerpy==1.0.2
16
23
 
17
- # DeFiPy: DeFi Analytics with Python (v 1.0.2)
24
+ # DeFiPy: Python SDK for DeFi Analytics and Agents
25
+
26
+ DeFiPy is the first unified Python SDK for DeFi analytics, simulation, and autonomous agents. Built with modularity in mind, DeFiPy lets you isolate and extend your analytics by protocol using:
18
27
 
19
- 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
20
- using:
21
28
  * [UniswapPy](https://github.com/defipy-devs/uniswappy)
22
29
  * [BalancerPy](https://github.com/defipy-devs/balancerpy)
23
30
  * [StableSwapPy](https://github.com/defipy-devs/stableswappy)
24
31
 
32
+ For onchain event access and scripting, pair it with [Web3Scout](https://github.com/defipy-devs/web3scout) — a companion tool for [decoding pool events](https://defipy.readthedocs.io/en/latest/onchain/pool_events.html) and [interfacing with Solidity contracts](https://defipy.readthedocs.io/en/latest/onchain/testnet_sim_univ2.html). Whether you’re building dashboards, simulations, or agent-based trading systems, DeFiPy + Web3Scout deliver a uniquely powerful toolset — unlike anything else in the ecosystem.
33
+
25
34
  ## Docs
26
35
  Visit [DeFiPy docs](https://defipy.org) for full documentation with walk-through tutorials
27
36
 
@@ -153,7 +162,7 @@ Balancer Example
153
162
  # Check reserves and liquidity
154
163
  lp.summary()
155
164
 
156
- #OUTPUT:
165
+ # OUTPUT:
157
166
  Balancer Exchange: DAI-USDC (BSP)
158
167
  Reserves: DAI = 9979.92478694547, USDC = 20010
159
168
  Weights: DAI = 0.2, USDC = 0.8
@@ -198,7 +207,7 @@ StableSwap Example
198
207
  # Check reserves and liquidity
199
208
  lp.summary()
200
209
 
201
- #OUTPUT:
210
+ # OUTPUT:
202
211
  Stableswap Exchange: DAI-USDC (LP)
203
212
  Reserves: DAI = 10010, USDC = 19989.996791
204
213
  Liquidity: 29999.063056285642
@@ -0,0 +1,5 @@
1
+ scipy>=1.7.3
2
+ bokeh==3.3.4
3
+ uniswappy==1.7.2
4
+ stableswappy==1.0.1
5
+ balancerpy==1.0.2
@@ -0,0 +1,120 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License.
67
+
68
+ Subject to the terms and conditions of this License, each Contributor
69
+ hereby grants to You a perpetual, worldwide, non-exclusive,
70
+ no-charge, royalty-free, irrevocable copyright license to reproduce,
71
+ prepare Derivative Works of, publicly display, publicly perform,
72
+ sublicense, and distribute the Work and such Derivative Works in
73
+ Source or Object form.
74
+
75
+ 3. Grant of Patent License.
76
+
77
+ Subject to the terms and conditions of this License, each Contributor
78
+ hereby grants to You a perpetual, worldwide, non-exclusive,
79
+ no-charge, royalty-free, irrevocable (except as stated in this
80
+ section) patent license to make, have made, use, offer to sell, sell,
81
+ import, and otherwise transfer the Work, where such license applies
82
+ only to those patent claims licensable by such Contributor that are
83
+ necessarily infringed by their Contribution(s) alone or by combination
84
+ of their Contribution(s) with the Work to which such Contribution(s)
85
+ was submitted. If You institute patent litigation against any entity
86
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
87
+ the Work or a Contribution incorporated within the Work constitutes
88
+ direct or contributory patent infringement, then any patent licenses
89
+ granted to You under this License for that Work shall terminate as of
90
+ the date such litigation is filed.
91
+
92
+ 4. Redistribution.
93
+
94
+ You may reproduce and distribute copies of the Work or Derivative
95
+ Works thereof in any medium, with or without modifications, and in
96
+ Source or Object form, provided that You meet the following conditions:
97
+
98
+ (a) You must give any other recipients of the Work or
99
+ Derivative Works a copy of this License; and
100
+
101
+ (b) You must cause any modified files to carry prominent notices
102
+ stating that You changed the files; and
103
+
104
+ (c) You must retain, in the Source form of any Derivative Works
105
+ that You distribute, all copyright, patent, trademark, and
106
+ attribution notices from the Source form of the Work,
107
+ excluding those notices that do not pertain to any part of
108
+ the Derivative Works; and
109
+
110
+ (d) If the Work includes a "NOTICE" text file as part of its
111
+ distribution, then any Derivative Works that You distribute must
112
+ include a readable copy of the attribution notices contained
113
+ within such NOTICE file, excluding those notices that do not
114
+ pertain to any part of the Derivative Works, in at least one
115
+ of the following places: within a NOTICE text file distributed
116
+ as part of the Derivative Works; within the Source form or
117
+ documentation, if provided along with the Derivative Works; or,
118
+ within a display generated by the Derivative Works, if and
119
+ wherever such third-party notices normally appear. The contents
120
+ of the NOTICE file are for inform
@@ -1,11 +1,36 @@
1
- # DeFiPy: DeFi Analytics with Python (v 1.0.2)
1
+ Metadata-Version: 2.1
2
+ Name: DeFiPy
3
+ Version: 1.0.4
4
+ Summary: DeFi Analytics with Python
5
+ Home-page: http://github.com/defipy-devs/defipy
6
+ Author: icmoore
7
+ Author-email: defipy.devs@gmail.com
8
+ License: Apache-2.0
9
+ Classifier: License :: OSI Approved :: Apache Software License
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
15
+ Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE.txt
18
+ Requires-Dist: scipy>=1.7.3
19
+ Requires-Dist: bokeh==3.3.4
20
+ Requires-Dist: uniswappy==1.7.2
21
+ Requires-Dist: stableswappy==1.0.1
22
+ Requires-Dist: balancerpy==1.0.2
23
+
24
+ # DeFiPy: Python SDK for DeFi Analytics and Agents
25
+
26
+ DeFiPy is the first unified Python SDK for DeFi analytics, simulation, and autonomous agents. Built with modularity in mind, DeFiPy lets you isolate and extend your analytics by protocol using:
2
27
 
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
28
  * [UniswapPy](https://github.com/defipy-devs/uniswappy)
6
29
  * [BalancerPy](https://github.com/defipy-devs/balancerpy)
7
30
  * [StableSwapPy](https://github.com/defipy-devs/stableswappy)
8
31
 
32
+ For onchain event access and scripting, pair it with [Web3Scout](https://github.com/defipy-devs/web3scout) — a companion tool for [decoding pool events](https://defipy.readthedocs.io/en/latest/onchain/pool_events.html) and [interfacing with Solidity contracts](https://defipy.readthedocs.io/en/latest/onchain/testnet_sim_univ2.html). Whether you’re building dashboards, simulations, or agent-based trading systems, DeFiPy + Web3Scout deliver a uniquely powerful toolset — unlike anything else in the ecosystem.
33
+
9
34
  ## Docs
10
35
  Visit [DeFiPy docs](https://defipy.org) for full documentation with walk-through tutorials
11
36
 
@@ -137,7 +162,7 @@ Balancer Example
137
162
  # Check reserves and liquidity
138
163
  lp.summary()
139
164
 
140
- #OUTPUT:
165
+ # OUTPUT:
141
166
  Balancer Exchange: DAI-USDC (BSP)
142
167
  Reserves: DAI = 9979.92478694547, USDC = 20010
143
168
  Weights: DAI = 0.2, USDC = 0.8
@@ -182,7 +207,7 @@ StableSwap Example
182
207
  # Check reserves and liquidity
183
208
  lp.summary()
184
209
 
185
- #OUTPUT:
210
+ # OUTPUT:
186
211
  Stableswap Exchange: DAI-USDC (LP)
187
212
  Reserves: DAI = 10010, USDC = 19989.996791
188
213
  Liquidity: 29999.063056285642
@@ -1,27 +1,13 @@
1
- Metadata-Version: 2.1
2
- Name: DeFiPy
3
- Version: 1.0.2
4
- Summary: DeFi Analytics with Python
5
- Home-page: http://github.com/defipy-devs/defipy
6
- Author: icmoore
7
- Author-email: defipy.devs@gmail.com
8
- License: MIT
9
- Description-Content-Type: text/markdown
10
- License-File: LICENSE.txt
11
- Requires-Dist: scipy>=1.7.3
12
- Requires-Dist: bokeh==3.3.4
13
- Requires-Dist: uniswappy==1.7.0
14
- Requires-Dist: stableswappy==1.0.0
15
- Requires-Dist: balancerpy==1.0.1
16
-
17
- # DeFiPy: DeFi Analytics with Python (v 1.0.2)
18
-
19
- 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
20
- using:
1
+ # DeFiPy: Python SDK for DeFi Analytics and Agents
2
+
3
+ DeFiPy is the first unified Python SDK for DeFi analytics, simulation, and autonomous agents. Built with modularity in mind, DeFiPy lets you isolate and extend your analytics by protocol using:
4
+
21
5
  * [UniswapPy](https://github.com/defipy-devs/uniswappy)
22
6
  * [BalancerPy](https://github.com/defipy-devs/balancerpy)
23
7
  * [StableSwapPy](https://github.com/defipy-devs/stableswappy)
24
8
 
9
+ For onchain event access and scripting, pair it with [Web3Scout](https://github.com/defipy-devs/web3scout) — a companion tool for [decoding pool events](https://defipy.readthedocs.io/en/latest/onchain/pool_events.html) and [interfacing with Solidity contracts](https://defipy.readthedocs.io/en/latest/onchain/testnet_sim_univ2.html). Whether you’re building dashboards, simulations, or agent-based trading systems, DeFiPy + Web3Scout deliver a uniquely powerful toolset — unlike anything else in the ecosystem.
10
+
25
11
  ## Docs
26
12
  Visit [DeFiPy docs](https://defipy.org) for full documentation with walk-through tutorials
27
13
 
@@ -153,7 +139,7 @@ Balancer Example
153
139
  # Check reserves and liquidity
154
140
  lp.summary()
155
141
 
156
- #OUTPUT:
142
+ # OUTPUT:
157
143
  Balancer Exchange: DAI-USDC (BSP)
158
144
  Reserves: DAI = 9979.92478694547, USDC = 20010
159
145
  Weights: DAI = 0.2, USDC = 0.8
@@ -198,7 +184,7 @@ StableSwap Example
198
184
  # Check reserves and liquidity
199
185
  lp.summary()
200
186
 
201
- #OUTPUT:
187
+ # OUTPUT:
202
188
  Stableswap Exchange: DAI-USDC (LP)
203
189
  Reserves: DAI = 10010, USDC = 19989.996791
204
190
  Liquidity: 29999.063056285642
@@ -1,6 +1,17 @@
1
- # Copyright [2024] [Ian Moore]
2
- # Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
1
+ # Copyright 2023–2025 Ian Moore
3
2
  # Email: defipy.devs@gmail.com
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from uniswappy.process.join import Join as UniswapJoin
6
17
  from balancerpy.process.join import Join as BalancerJoin
@@ -1,6 +1,17 @@
1
- # Copyright [2025] [Ian Moore]
2
- # Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
1
+ # Copyright 2023–2025 Ian Moore
3
2
  # Email: defipy.devs@gmail.com
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from uniswappy.process.liquidity import AddLiquidity as UniswapAddLiquidity
6
17
  from balancerpy.process.liquidity import AddLiquidity as BalancerAddLiquidity
@@ -1,6 +1,17 @@
1
- # Copyright [2025] [Ian Moore]
2
- # Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
1
+ # Copyright 2023–2025 Ian Moore
3
2
  # Email: defipy.devs@gmail.com
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from uniswappy.process.liquidity import RemoveLiquidity as UniswapRemoveLiquidity
6
17
  from balancerpy.process.liquidity import RemoveLiquidity as BalancerRemoveLiquidity
@@ -1,6 +1,17 @@
1
- # Copyright [2025] [Ian Moore]
2
- # Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
1
+ # Copyright 2023–2025 Ian Moore
3
2
  # Email: defipy.devs@gmail.com
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from uniswappy.process.swap import Swap as UniswapSwap
6
17
  from balancerpy.process.swap import Swap as BalancerSwap
@@ -4,14 +4,23 @@ with open('README.md') as f:
4
4
  long_description = f.read()
5
5
 
6
6
  setup(name='DeFiPy',
7
- version='1.0.2',
7
+ version='1.0.4',
8
8
  description='DeFi Analytics with Python',
9
9
  long_description=long_description,
10
10
  long_description_content_type="text/markdown",
11
11
  url='http://github.com/defipy-devs/defipy',
12
12
  author = "icmoore",
13
13
  author_email = "defipy.devs@gmail.com",
14
- license='MIT',
14
+ license="Apache-2.0",
15
+ classifiers=[
16
+ "License :: OSI Approved :: Apache Software License",
17
+ "Programming Language :: Python :: 3",
18
+ "Operating System :: OS Independent",
19
+ "Intended Audience :: Developers",
20
+ "Topic :: Software Development :: Libraries :: Python Modules",
21
+ "Topic :: Scientific/Engineering :: Information Analysis",
22
+ "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
23
+ ],
15
24
  package_dir = {"defipy": "python/prod"},
16
25
  packages=[
17
26
  'defipy',
@@ -41,8 +50,8 @@ setup(name='DeFiPy',
41
50
  install_requires=[
42
51
  'scipy >= 1.7.3',
43
52
  'bokeh == 3.3.4',
44
- 'uniswappy == 1.7.0',
45
- 'stableswappy == 1.0.0',
46
- 'balancerpy == 1.0.1'
53
+ 'uniswappy == 1.7.2',
54
+ 'stableswappy == 1.0.1',
55
+ 'balancerpy == 1.0.2'
47
56
  ],
48
57
  zip_safe=False)
@@ -1,5 +0,0 @@
1
- scipy>=1.7.3
2
- bokeh==3.3.4
3
- uniswappy==1.7.0
4
- stableswappy==1.0.0
5
- balancerpy==1.0.1
defipy-1.0.2/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 Ian Moore
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
File without changes
File without changes