whatisgithub

What is lbry-sdk?

lbryio/lbry-sdk — explained in plain English

Analysis updated 2026-06-24

7,175PythonAudience · developerComplexity · 4/5LicenseSetup · hard

In one sentence

A Python SDK for building apps on LBRY, a decentralized peer-to-peer content network where files are shared across computers and indexed on a blockchain, accessed via a local daemon that exposes a JSON-RPC API.

Mindmap

mindmap
  root((LBRY SDK))
    What it does
      Decentralized content
      Peer-to-peer sharing
    Components
      JSON-RPC daemon
      Wallet manager
      DHT peer discovery
      Blockchain index
    Use cases
      Publish content
      Download content
      Manage wallet
    Tech stack
      Python
      Blockchain
      JSON-RPC
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build a decentralized content publishing app where creators upload files without relying on a central server

USE CASE 2

Search and download content from the LBRY peer-to-peer network using the JSON-RPC HTTP API from any programming language

USE CASE 3

Manage a LBRY blockchain wallet and sign transactions programmatically inside a Python application

What is it built with?

PythonJSON-RPCBlockchain

How does it compare?

lbryio/lbry-sdkmwouts/jupytextdocker/docker-py
Stars7,1757,1757,174
LanguagePythonPythonPython
Setup difficultyhardeasymoderate
Complexity4/52/52/5
Audiencedeveloperdatadeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires running a local daemon process that connects to a live blockchain network before any API calls work.

Use freely for any purpose including commercial use, as long as you keep the copyright notice.

So what is it?

The LBRY SDK is a Python library for building apps on top of the LBRY network, a decentralized peer-to-peer system for publishing and accessing digital content. Instead of storing content on a central server that a company controls, LBRY spreads it across many computers, similar to how BitTorrent works for file sharing. A blockchain (a public, tamper-resistant ledger) acts as the global index where content metadata, creator identities, and access rules are recorded and can be searched. The SDK bundles several components that developers use to interact with this network. A distributed hash table helps peers find each other to exchange content. A blob exchange layer handles transferring encrypted chunks of data between peers and negotiating payments. A wallet component manages LBRY blockchain transactions. A schema layer encodes and decodes the metadata stored on the blockchain. The most accessible part of the SDK for most developers is a background daemon process that exposes a JSON-RPC API over HTTP. You start it by running lbrynet start, after which it listens on localhost port 5279. Any programming language that can make HTTP requests can call this API to search for content, publish files, download files, manage a wallet, and perform other operations. The full API is documented separately on the LBRY developer site. Pre-built binaries are available for macOS, Linux, and Windows so you do not have to install Python and build from source to try it. Source installation instructions are in a separate INSTALL.md file in the repository. The project is MIT licensed. It was the primary reference implementation of the LBRY network protocols and underlies applications built on the LBRY ecosystem.

Copy-paste prompts

Prompt 1
I have the LBRY daemon running on localhost. Show me how to call its JSON-RPC API from Python to search for videos and download one to my machine.
Prompt 2
How do I publish a file to the LBRY network using the lbry-sdk, including setting the title, description, and price metadata?
Prompt 3
Walk me through starting the lbrynet daemon and making my first API call to list available content from the LBRY network.
Prompt 4
Explain how the LBRY blob exchange layer works and how peers find each other to transfer encrypted content chunks.

Frequently asked questions

What is lbry-sdk?

A Python SDK for building apps on LBRY, a decentralized peer-to-peer content network where files are shared across computers and indexed on a blockchain, accessed via a local daemon that exposes a JSON-RPC API.

What language is lbry-sdk written in?

Mainly Python. The stack also includes Python, JSON-RPC, Blockchain.

What license does lbry-sdk use?

Use freely for any purpose including commercial use, as long as you keep the copyright notice.

How hard is lbry-sdk to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is lbry-sdk for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.