Skip to main content

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.2.2.tar.gz (769.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.2.2-py3-none-any.whl (86.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blockchainpype-0.2.2.tar.gz
  • Upload date:
  • Size: 769.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for blockchainpype-0.2.2.tar.gz
Algorithm Hash digest
SHA256 5681d3037e53faf168fdf3faa89297d55dcfaf750cbb5628ba8e8f76ea6e8d31
MD5 6432a2a263947245520d7bbbf1a5299b
BLAKE2b-256 697ea1122513f5b157f323292da739b67adb91683b3813b545671b808b04756d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blockchainpype-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 86.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for blockchainpype-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 affb5aff1620c5728538b5aade2ea3fff7c5112eb3913bb1a0873354f07a2fe2
MD5 40be09e241f154104087f8fd7077c1f6
BLAKE2b-256 20abe97581bf23ce71bbc30ba77efe8edd972c0332362d4748529a8ec23381ab

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