Coder Social home page Coder Social logo

dmuhs / web3data-py Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 3.0 159 KB

A Python library for the amberdata.io API

Home Page: https://web3data-py.readthedocs.io/

License: MIT License

Makefile 2.15% Python 97.85%
ethereum bitcoin bitcoin-cash litecoin zcash stellar rinkeby-network bitcoin-sv amberdata blockchain

web3data-py's Introduction

I work on Ethereum security stuff, independently and through Creed.

Always up for collaborating on bug bounties, security tooling and Python things.

๐Ÿ“ซ How to reach me: ZG11aHNAcHJvdG9ubWFpbC5jaA==

web3data-py's People

Contributors

dependabot[bot] avatar dmuhs avatar pyup-bot avatar renovate-bot avatar seedyrom avatar thatch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

web3data-py's Issues

Missing files in sdist

It appears that the manifest is missing at least one file necessary to build
from the sdist for version 0.1.4. You're in good company, about 5% of other
projects updated in the last year are also missing files.

+ /tmp/venv/bin/pip3 wheel --no-binary web3data -w /tmp/ext web3data==0.1.4
Looking in indexes: http://10.10.0.139:9191/root/pypi/+simple/
Collecting web3data==0.1.4
  Downloading http://10.10.0.139:9191/root/pypi/%2Bf/84e/f5d4dca531cd4/web3data-0.1.4.tar.gz (28 kB)
    ERROR: Command errored out with exit status 1:
     command: /tmp/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-9qvim_yd/web3data/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-9qvim_yd/web3data/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-wheel-9qvim_yd/web3data/pip-egg-info
         cwd: /tmp/pip-wheel-9qvim_yd/web3data/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-wheel-9qvim_yd/web3data/setup.py", line 13, in <module>
        with open("requirements.txt", "r") as f:
    FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/main.yml
  • actions/checkout v2
  • actions/setup-python v2
  • py-actions/py-dependency-install v3
  • codecov/codecov-action v2
  • actions/checkout v2
  • actions/setup-python v2
  • py-actions/py-dependency-install v3
pip_requirements
requirements.txt
  • requests ==2.27.1
  • websocket-client ==1.2.3

  • Check this box to trigger a request for Renovate to run again on this repository

Deprecate Aion change

  • web3data-py version:
  • Python version:
  • Operating System:

Description

Aion in Amberdata is no longer supported.

What should be removed

w3d.aion should be removed from API

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Out of date documentation?

Description

These docs list the coins that are supported, but after running "web3data.chains.Chains", two coins are missing: aoin and xlm

What I Did

import web3data
w3d = web3data.Web3Data("mykey")
for x in web3data.chains.Chains:
    print(x.name)
    try:
        getattr(w3d, x.name.lower())
    except:
        print('LIES')
        break

Add logging

As the library becomes more complex, standard library logging can come in handy in API interaction. Especially websocket payload and HTTP request logging (with censorship of API credentials) - on debug level - could come in handy.
Either loguru or STL logging will do the job just fine.

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.