Skip to main content

img.png


image image

A modern, easy-to-use library for interacting with the IPN, written in Python.


Key Features


  • Interaction with the IPN API.
  • Creating and managing transactions.

Installing


Python 3.9 or higher is required

To install the library, use the command

pip install ipnpy

To install the development version, do the following:

git clone https://github.com/IPNTools/ipn-py
cd ipn-py

Quick Example


Send transaction:

from ipnpy.rpc import EvmJsonRPC

provider = EvmJsonRPC('https://data-seed-prebsc-1-s2.binance.org:8545/')
transaction = provider.send_native_token(
    private_key='YOUR_PRIVATE_KEY',
    from_address='0xdB87EE96B5D2D7F5b0e9eC400240D605f870756f',
    to_address='0xdB87EE96B5D2D7F5b0e9eC400240D605f870756f',
    amount=23000,
)

print(transaction)

Add, replace and delete address in IPN:

from ipnpy.ipn import IPNTools

ipn = IPNTools(secret_key='YOUR_SECRET_KEY')
ipn.add_address('address4')
ipn.replace_addresses(addresses=['address1', 'address2', 'address3'])
ipn.delete_address('address3')

Metadata

Release files for ipnpy 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 ipnpy 0.0.1
File Size Uploaded Provenance Actions
ipnpy-0.0.1.tar.gz 9.4 kB Without provenance Details for ipnpy-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 22.9 kB

Release files / ipnpy-0.0.1.tar.gz

Download URL ipnpy-0.0.1.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1e5e4b0761df2f997c2e9e00d6e33d5d9698141f32662e85c8c53899c403395e
BLAKE2b-256 checksum
How to use checksums
9f657452afe70261f0f83509714372c9605b6032df873e551ce55b17bf874bc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

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

Download URL ipnpy-0.0.1-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
853e5472e3c50d3a1a045c606f94e52a0d2e17897584f13c989ed625214a2f00
BLAKE2b-256 checksum
How to use checksums
ee9331525d45b12567448b7a6b926f299826ff2a1bf386acefab5a7cc6b0af4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for ipnpy 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