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.3.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file scuEtherNeoJ-0.0.3.tar.gz
.
File metadata
- Download URL: scuEtherNeoJ-0.0.3.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 | f56709ae35a29633f5dd580b2128af8909f40b49a6838a31fea885b5f7db48c5 |
|
MD5 | fe07bfe717df65ae8c11a611b8b4aad3 |
|
BLAKE2b-256 | fb168d42929f0a64666d27fcefa722f908e8daecd89f8415c9a12ba0cd6a0171 |
File details
Details for the file scuEtherNeoJ-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: scuEtherNeoJ-0.0.3-py3-none-any.whl
- Upload date:
- Size: 13.9 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 | d5af26dde265a6fee6475981cf39dc8e78872199065be6faab301ae2fbd1ee77 |
|
MD5 | fe9ddf3a914063eabe6d282de45af6a2 |
|
BLAKE2b-256 | 71a3bfcf5184083744bb134bc5cd63b0a817a3b652fbf5b9628a8dd6362d9315 |