ankr-network / ankr-python-sdk Goto Github PK
View Code? Open in Web Editor NEWCompact Python library for interacting with Ankr's Advanced APIs
Home Page: https://pypi.org/project/ankr-sdk/
License: MIT License
Compact Python library for interacting with Ankr's Advanced APIs
Home Page: https://pypi.org/project/ankr-sdk/
License: MIT License
Some of the dependencies (python packages) have a old version (for example, pydantic
). For this reason, it is difficult to use this ankr-sdk
in a modern python stack or new python apps.
For example:
# create new conda env
conda create -n web3_demo python=3.11
conda activate web3_demo
# it's just a typical data science app package list with ankr-sdk
cat requirements.txt
> # data models
> pydantic>=2.6.1,<2.7
> pydantic-settings>=2.1.0,<2.2
> # data processing
> pandas>=2.2.0,<2.3
> pyarrow>=15.0.0,<15.1
> pandera>=0.18.0,<0.19
> # network and web
> httpx>=0.26.0,<0.27
> backoff>=2.2.1,<2.3
> fastapi>=0.109.2,<0.110
> # numerics and finance
> numpy>=1.26.4,<1.27
> scipy>=1.12.0,<1.13
> # blockchain
> web3>=6.15.1,<6.16
> ankr-sdk>=1.0.0,<1.1 # <---- Ankr SDK
> # others
> PyYAML>=6.0.1,<6.1
pip install -U -r requirements.txt
> ERROR: Cannot install -r requirements.txt (line 11), -r requirements.txt (line 17), -r requirements.txt (line 3), -r requirements.txt (line 7) and pydantic<2.7 and >=2.6.1 because these package versions have conflicting dependencies.
>
> The conflict is caused by:
> The user requested pydantic<2.7 and >=2.6.1
> pydantic-settings 2.1.0 depends on pydantic>=2.3.0
> pandera 0.18.0 depends on pydantic
> fastapi 0.109.2 depends on pydantic!=1.8, !=1.8.1, !=2.0.0, !=2.0.1, !=2.1.0, <3.0.0 and >=1.7.4
> ankr-sdk 1.0.0 depends on pydantic<2.0.0 and >=1.10.8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.