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.4.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file scuEtherNeoJ-0.0.4.tar.gz
.
File metadata
- Download URL: scuEtherNeoJ-0.0.4.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 309f674e2e631b47416c66599ec86b60e2ccd31a222ebe34289c1b7f5cf20ea8 |
|
MD5 | 20e95deddfdeb91b3f10e1ca52a4dbca |
|
BLAKE2b-256 | ac4e9f981b21e0d3e06f43c2968ab4402fc466ad55aedb736075cef92f03ccee |
File details
Details for the file scuEtherNeoJ-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: scuEtherNeoJ-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 072b06a0909de465fd9f2afa6cfaf67dc6e9b6e3b802f7c0f5c8574432a11479 |
|
MD5 | 45fa2dc4c7db016ad46a3ee77610b606 |
|
BLAKE2b-256 | d04e7da746cc91c7c0edfb78de08fb735c717efa00d681ed34797894602250c5 |