Skip to main content

BlockchainPype is a Python library for interacting with multiple blockchain networks.

Project description

Blockchain Pypeline

A powerful Python library for interacting with multiple blockchain networks, providing a unified interface for EVM-compatible chains and Solana. This library simplifies blockchain interactions, asset management, and transaction handling with a clean, type-safe API.

Overview

Blockchain Pypeline is designed to streamline blockchain development by providing:

  • A unified interface for multiple blockchain networks
  • Type-safe interactions with smart contracts and programs
  • Simplified wallet and transaction management
  • Comprehensive asset handling across different chains

Features

  • Multi-Chain Support

    • EVM-compatible chains (Ethereum, Polygon, BSC, etc.)
    • Solana blockchain
    • Extensible architecture for adding new chains
  • Wallet Management

    • Secure key management
    • Transaction signing
    • Multiple wallet support
  • Asset Operations

    • Token transfers and management
    • NFT handling
    • Dapps interactions (Smart contracts, Programs)
  • Transaction Handling

    • Transaction building and signing
    • Gas estimation and optimization
    • Transaction monitoring
    • Block explorer integration

Installation

The package requires Python 3.13 or later. You can install it using Poetry:

poetry add blockchainpype

Or with pip:

pip install blockchainpype

Quick Start

Here's a simple example of how to use blockchainpype:

...

Development

Setup

  1. Clone the repository:
git clone https://github.com/gianlucapagliara/blockchainpype.git
cd blockchainpype
  1. Install dependencies with Poetry:
poetry install
  1. Set up pre-commit hooks:
poetry run pre-commit install

Testing

Run the test suite:

poetry run pytest

Code Quality

The project uses several tools to maintain code quality:

  • Black for code formatting
  • isort for import sorting
  • mypy for static type checking
  • ruff for linting
  • pre-commit hooks for automated checks

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

blockchainpype-0.1.0.tar.gz (34.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blockchainpype-0.1.0-py3-none-any.whl (48.3 kB view details)

Uploaded Python 3

File details

Details for the file blockchainpype-0.1.0.tar.gz.

File metadata

  • Download URL: blockchainpype-0.1.0.tar.gz
  • Upload date:
  • Size: 34.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.1.0

File hashes

Hashes for blockchainpype-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0e781be2315ffb081a6c43fe45a6ea52f5682be12e461f55a5b42858452dd561
MD5 024b4611d89b80f354a71ffd279421f2
BLAKE2b-256 0f12f952795a95ae0db3802a5987b136a93e603fdb22857c0e75a67d8da7da2f

See more details on using hashes here.

File details

Details for the file blockchainpype-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: blockchainpype-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 48.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.1.0

File hashes

Hashes for blockchainpype-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 780c6fbd9d55ae560421f7c91b335abfdff7a6aea9a69210adee3cdfc783dbfb
MD5 9c0b2ca6de90b58c7c2922caacc8352d
BLAKE2b-256 cde7d805fe4f7e3ae5d11e4a3bc21065d9a63e8dba8d027d921b7bc9e13e7ee7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page