Skip to main content

bcoscli

*** more convenient then the official sdk ***

easy to use the FISCO-BCOS blockchain for a interactive terminal!

easy to use the FISCO-BCOS blockchain as sdk!

  1. config so easy
  2. support autocompetation
  3. support arrow up or down for history command
  4. colorful

Installing

Install and update using pip:

pip install -U bcoscli

A Simple Example

as terminal just:

# default rpc port is 8545

bcoscli 127.0.0.1:8545

as sdk:

class MyConfig:

    HOST_RPC = 'http://192.168.0.107:9545' # your fisco-bcos node's rpc address
    ECHO = 0 # close the terminal output 

if __name__ == "__main__":
    import bcoscli
    # define your config
    bcoscli.set_config(MyConfig)
    print(bcoscli.getClientVersion())
    print(bcoscli.getBlockNumber(11))

image

Metadata

Release files for bcoscli 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bcoscli 0.0.1
File Size Uploaded Provenance Actions
bcoscli-0.0.1.tar.gz 3.6 kB Without provenance Details for bcoscli-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bcoscli 0.0.1
File Interpreter ABI Platform Actions
bcoscli-0.0.1-py3-none-any.whl Python 3 none any Details for bcoscli-0.0.1-py3-none-any.whl

Total release size: 12.1 kB

Release files / bcoscli-0.0.1.tar.gz

Download URL bcoscli-0.0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
89fd9552d05c519cb87008fa95c83fc37a921259167bd6cc8dc04d55fa844036
BLAKE2b-256 checksum
How to use checksums
fa275d364943efa3c10822c3cb06d3ae2b0ab63f73b24a214d0fd9a48b68829a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

Release files / bcoscli-0.0.1-py3-none-any.whl

Download URL bcoscli-0.0.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ece542355e0f85422a35d349759163643b421a58372234e7a2915eee8172adf
BLAKE2b-256 checksum
How to use checksums
7e14852a866ab08b5f53b7b124432fc7a6e56eb12233cae87f2138c259c01960
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

Security for bcoscli 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page