Skip to main content

An Etherscan web scrapy package which contain Neo4J's connection.

Project description

scuEtherNeoJ Documentation

Package overview

The scuEtherNeoJ is a Python package providing Etherscan web scraping function which can directly export data as csv or put the data in a graph database(Neo4j). It's easy to get started by giving an address and the optional arguments, then you will completely craw the transaction data in a hierarchy-based.

Getting started

  • How do I install the package? Run the following command to install:
$ pip install scuEtherNeoJ
  • How to import the package? Run the following command to install:
from scuEtherNeoJ.Etherscan import Etherscan

The solutions of scuEtherNeoJ package

  • Solution 1: Import the unique address as a address input.
list_ = Etherscan.from_csv_to_uniq_addr("2022_03_21_Etherscan_Data_93BBB","D:/Jupyter Files/")
eth = Etherscan(list_,1,extra_info=False)
resp = eth.req_etherscan()
print(resp)
  • Solution 2: Giving a list or set of address.
eth = Etherscan(['0xed5af388653567af2f388e6224dc7c4b3241c544'],1,extra_info=False)
resp = eth.req_etherscan()
print(resp)

The perameters of package

  • Etherscan

    • Description: Initialize the package funtion.
    • Parameters:
      • addressess :: list | set :: Required. The wallet or contract address to start scraping.
      • hierarchy :: int :: Default is 3. The level data to scrap.
      • extra_info :: bool :: Default is True. To get the input data and date info for the current scraping.
      • by_hrchy :: bool :: Default is False. To export data by hierarchy.
      • by_addr :: bool :: Default is True. To export data by address.
    • Returns: Object.
    • Usage:
      eth = Etherscan(['ADDRESSESS_TO_SCRAP'])
      
  • req_etherscan

    • Description: Start to web scraping process.
    • Returns: List. The fail addressess in scraping.
    • Usage:
      resp = eth.req_etherscan()
      

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scuEtherNeoJ-0.0.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

scuEtherNeoJ-0.0.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file scuEtherNeoJ-0.0.2.tar.gz.

File metadata

  • Download URL: scuEtherNeoJ-0.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.0

File hashes

Hashes for scuEtherNeoJ-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8f7a752eb60ba6e5b4a380ed56c838533ddd0e065c766b5490e7f32c5ec36ed2
MD5 eb706db6f008f87e5ce3126dd144b586
BLAKE2b-256 d7ecf5363815094087a69b53bc33054e6d163326f0f7af941bd4456f949eafcd

See more details on using hashes here.

File details

Details for the file scuEtherNeoJ-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for scuEtherNeoJ-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 651abcafc3c8749304222fbb563d73edd0b23c8b69dbd13c9088a6c04d922063
MD5 184b988eac744094ae5e0a2299ce33e5
BLAKE2b-256 2972a1e9ec5b3ae22c7c4592eb4ea957ec3a24481175f54eaada7311cd6cda1b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page