Giter VIP home page Giter VIP logo

ankr-python-sdk's People

Contributors

codez0mb1e avatar fasashen avatar redcuckoo avatar romanankr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ankr-python-sdk's Issues

Old versions of packages

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.