Skip to main content

This package implements some of the Lightning Network protocol in pure python. It is intended for protocol testing and some minor tooling only. It is not deemed secure enough to handle any amount of real funds (you have been warned!).

Project description

pyln-proto: Lightning Network protocol implementation

This package implements some of the Lightning Network protocol in pure python. It is intended for protocol testing and some minor tooling only. It is not deemed secure enough to handle any amount of real funds (you have been warned!).

Installation

pyln-proto is available on pip:

pip install pyln-proto

Alternatively you can also install the development version to get access to currently unreleased features by checking out the Core Lightning source code and installing into your python3 environment:

git clone https://github.com/ElementsProject/lightning.git
cd lightning/contrib/pyln-proto
uv sync

This will add links to the library into your environment so changing the checked out source code will also result in the environment picking up these changes. Notice however that unreleased versions may change API without warning, so test thoroughly with the released version.

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

pyln_proto-26.6.2.tar.gz (44.9 kB view details)

Uploaded Source

Built Distribution

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

pyln_proto-26.6.2-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file pyln_proto-26.6.2.tar.gz.

File metadata

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

File hashes

Hashes for pyln_proto-26.6.2.tar.gz
Algorithm Hash digest
SHA256 7b8ac1175fa03e44d05ca546ce0b0db016691afa4499f7bb4afde00c28e3e451
MD5 0163d1bc7df2483aecfe5622ede12126
BLAKE2b-256 409de2a421f8f3470367291d82337b3d6dfb51f0da5dcdfc2a016af7034bcc5c

See more details on using hashes here.

File details

Details for the file pyln_proto-26.6.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pyln_proto-26.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d4616d6efff06d3346653018404d02c6769f144c014661c647681c91aa00902e
MD5 a1bcb3d68609fbd54ce18281e7502d73
BLAKE2b-256 df1511560ee7f7950de35a0848b06f6940fd48497a860f52052fbcd5d9c22a5d

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