EITRI.py
usage
$ pip install EITRI
from EITRI.eitri import eitri
if __name__ == "__main__":
# eitri 노드 연결정보 전달
e = eitri(
ip = "127.0.0.1",
port = "3000",
user = "user",
password = "password"
)
last_block = e.block.get_last_block()
print(last_block)
block = e.block.get_block(0)
print(block)
node = e.node.get_info()
print(node)
txhash = e.transaction.get_transaction('0x123')
print(txhash)
validators = e.validator.get_validators()
print(validators)
development
- test
test 코드를 실행하기 위해 test.py 실행
$ python test.py
- deploy
$ ./publish.sh
배포하기 위해 setup.py 의 version 변경
pip 배포
Similar libraries in other languages
- javascript EITRI.js
Metadata
Release files for EITRI 1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| EITRI-1.9-py3-none-any.whl | Python 3 | none | any | Details for EITRI-1.9-py3-none-any.whl |
Release files / EITRI-1.9-py3-none-any.whl
| Download URL | EITRI-1.9-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae92e472b805bca90cd1ba8814ec35502b3793a0a71a69e1f0568cf23335d9fa
|
|
BLAKE2b-256 checksum How to use checksums |
12f410fd37042243c91d1b3f6e4e612aec7e80fedfb9128c7da565f57061282d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Security for EITRI 1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.