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-25.12.1.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-25.12.1-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyln_proto-25.12.1.tar.gz
  • Upload date:
  • Size: 44.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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-25.12.1.tar.gz
Algorithm Hash digest
SHA256 7167f361a6bdc9c225749c572fcc23f28f9734dee367252f7fbad13df200984b
MD5 17ca19e4591b753db3280d0855f6735f
BLAKE2b-256 5bb70be4a1b81e99eb9d4ad6b048ee7cdb2ae0b50fdad4e9f2e61b2e3f51efe3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyln_proto-25.12.1-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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-25.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 84990233ae7ba6a39e4ec9c44fc978efbf74dcfb82953f32921c242807c85764
MD5 c6cc05bc4e60d042fb26de8d9ffc34b3
BLAKE2b-256 acabf11c2f4d7a74c79f3a89f37e051461e5e93049263eb6dd9f98944aee90a0

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