Skip to main content
cpc-fusion

cpc-fusion

python3License: GPL v3Pull RequestsFollow Twitter

A Python package based on web3.py to interact with cpchain.

  • Python 3.5+ support

Installation

cpc_fusion.py can be installed (preferably in a virtualenv) using pip as follows:

pip install cpc-fusion

Installation from source can be done from the root of the project with the following command.

pip install .

Using Fusion

To use the web3 library you will need to initialize the Web3 class.

Use the auto module to guess at common node connection options.

from cpc_fusion import Web3
cf = Web3(Web3.HTTPProvider('http://127.0.0.1:8501'))
cf.cpc.blockNumber
>>> 34341

Note

If you get the result UnhandledRequest: No providers responded to the RPC request then you are not connected to a node.

Read more in the documentation on CPChain.

Metadata

Release files for cpc-fusion 0.1.29

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

Source distribution (sdist)

Source distribution for cpc-fusion 0.1.29
File Size Uploaded Provenance Actions
cpc-fusion-0.1.29.tar.gz 143.9 kB Without provenance Details for cpc-fusion-0.1.29.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cpc-fusion 0.1.29
File Interpreter ABI Platform Actions
cpc_fusion-0.1.29-py3-none-any.whl Python 3 none any Details for cpc_fusion-0.1.29-py3-none-any.whl

Total release size: 331.1 kB

Release files / cpc-fusion-0.1.29.tar.gz

Download URL cpc-fusion-0.1.29.tar.gz
Size 143.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f6b47d677afe656590623011aaae6b7360b3098c59a8f892019b8ac82baa1354
BLAKE2b-256 checksum
How to use checksums
c085303f6c4758f8189f466b23cd626ae40492c548428bb50b6161048023f4a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release files / cpc_fusion-0.1.29-py3-none-any.whl

Download URL cpc_fusion-0.1.29-py3-none-any.whl
Size 187.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75e74583d7f32bb6cee6c65cc66934a638b15b34ff14e79c3ce0aeba09b5d79b
BLAKE2b-256 checksum
How to use checksums
403f967a7ebce3ee704c63344b2382c9f442f1fd2984c9e93a011a2e365ce39b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Security for cpc-fusion 0.1.29

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.1.29 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