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.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

scuEtherNeoJ-0.0.5-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scuEtherNeoJ-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 339c88ae91021dd5887220bf0d523614643e4c6047aa74d3782b4e67af64e08e
MD5 928585f3c9dc78555badd50ff66e31cb
BLAKE2b-256 bee3ef94e93a92e450305dbca14cc9c3c3d258f06bb11d651fbe21d97619f385

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scuEtherNeoJ-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7f328cf8df524cdde78cf2a18145f82b2fef3556538dc38ba577ce7030068510
MD5 e2d98bf20de02c042f03f145109f3209
BLAKE2b-256 e5159deabf0da4ed4a869f305f8abc8f708d2b8118a7da6cbe7843c1123166ca

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