From 85d7adc0b53659931a72399f967901b3e268cc23 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Thu, 20 Jun 2019 15:05:49 -0400 Subject: [PATCH] moved lbrynet into lbry directory --- lbry/README.md | 56 ++++++++++++++++++ {docs => lbry/docs}/404.html | 0 {docs => lbry/docs}/api.json | 0 {docs => lbry/docs}/assets/images/favicon.png | Bin .../images/icons/bitbucket.4ebea66e.svg | 0 .../assets/images/icons/github.a4034fb1.svg | 0 .../assets/images/icons/gitlab.348cdb3a.svg | 0 .../javascripts/application.8eb9be28.js | 0 .../docs}/assets/javascripts/lunr/lunr.da.js | 0 .../docs}/assets/javascripts/lunr/lunr.de.js | 0 .../docs}/assets/javascripts/lunr/lunr.du.js | 0 .../docs}/assets/javascripts/lunr/lunr.es.js | 0 .../docs}/assets/javascripts/lunr/lunr.fi.js | 0 .../docs}/assets/javascripts/lunr/lunr.fr.js | 0 .../docs}/assets/javascripts/lunr/lunr.hu.js | 0 .../docs}/assets/javascripts/lunr/lunr.it.js | 0 .../docs}/assets/javascripts/lunr/lunr.jp.js | 0 .../assets/javascripts/lunr/lunr.multi.js | 0 .../docs}/assets/javascripts/lunr/lunr.no.js | 0 .../docs}/assets/javascripts/lunr/lunr.pt.js | 0 .../docs}/assets/javascripts/lunr/lunr.ro.js | 0 .../docs}/assets/javascripts/lunr/lunr.ru.js | 0 .../javascripts/lunr/lunr.stemmer.support.js | 0 .../docs}/assets/javascripts/lunr/lunr.sv.js | 0 .../docs}/assets/javascripts/lunr/lunr.tr.js | 0 .../docs}/assets/javascripts/lunr/tinyseg.js | 0 .../assets/javascripts/modernizr.1aa3b519.js | 0 .../application-palette.6079476c.css | 0 .../stylesheets/application.78aab2dc.css | 0 {docs => lbry/docs}/cli/index.html | 0 {docs => lbry/docs}/index.html | 0 {docs => lbry/docs}/search/search_index.json | 0 .../example_daemon_settings.yml | 0 {lbrynet => lbry/lbrynet}/__init__.py | 0 {lbrynet => lbry/lbrynet}/blob/__init__.py | 0 {lbrynet => lbry/lbrynet}/blob/blob_file.py | 0 {lbrynet => lbry/lbrynet}/blob/blob_info.py | 0 .../lbrynet}/blob/blob_manager.py | 0 {lbrynet => lbry/lbrynet}/blob/writer.py | 0 .../lbrynet}/blob_exchange/__init__.py | 0 .../lbrynet}/blob_exchange/client.py | 0 .../lbrynet}/blob_exchange/downloader.py | 0 .../lbrynet}/blob_exchange/serialization.py | 0 .../lbrynet}/blob_exchange/server.py | 0 {lbrynet => lbry/lbrynet}/build_type.py | 0 {lbrynet => lbry/lbrynet}/conf.py | 0 .../lbrynet}/connection_manager.py | 0 {lbrynet => lbry/lbrynet}/cryptoutils.py | 0 {lbrynet => lbry/lbrynet}/dht/__init__.py | 0 .../lbrynet}/dht/blob_announcer.py | 0 {lbrynet => lbry/lbrynet}/dht/constants.py | 0 {lbrynet => lbry/lbrynet}/dht/error.py | 0 {lbrynet => lbry/lbrynet}/dht/node.py | 0 {lbrynet => lbry/lbrynet}/dht/peer.py | 0 .../lbrynet}/dht/protocol/__init__.py | 0 .../lbrynet}/dht/protocol/data_store.py | 0 .../lbrynet}/dht/protocol/distance.py | 0 .../lbrynet}/dht/protocol/iterative_find.py | 0 .../lbrynet}/dht/protocol/protocol.py | 0 .../lbrynet}/dht/protocol/routing_table.py | 0 .../lbrynet}/dht/serialization/__init__.py | 0 .../lbrynet}/dht/serialization/bencoding.py | 0 .../lbrynet}/dht/serialization/datagram.py | 0 {lbrynet => lbry/lbrynet}/error.py | 0 {lbrynet => lbry/lbrynet}/extras/__init__.py | 0 {lbrynet => lbry/lbrynet}/extras/cli.py | 0 .../lbrynet}/extras/daemon/Component.py | 0 .../extras/daemon/ComponentManager.py | 0 .../lbrynet}/extras/daemon/Components.py | 0 .../lbrynet}/extras/daemon/Daemon.py | 0 .../lbrynet}/extras/daemon/__init__.py | 0 .../lbrynet}/extras/daemon/analytics.py | 0 .../lbrynet}/extras/daemon/client.py | 0 .../lbrynet}/extras/daemon/comment_client.py | 0 .../extras/daemon/exchange_rate_manager.py | 0 .../extras/daemon/json_response_encoder.py | 0 .../lbrynet}/extras/daemon/loggly_handler.py | 0 .../extras/daemon/migrator/__init__.py | 0 .../extras/daemon/migrator/dbmigrator.py | 0 .../extras/daemon/migrator/migrate10to11.py | 0 .../extras/daemon/migrator/migrate1to2.py | 0 .../extras/daemon/migrator/migrate2to3.py | 0 .../extras/daemon/migrator/migrate3to4.py | 0 .../extras/daemon/migrator/migrate4to5.py | 0 .../extras/daemon/migrator/migrate5to6.py | 0 .../extras/daemon/migrator/migrate6to7.py | 0 .../extras/daemon/migrator/migrate7to8.py | 0 .../extras/daemon/migrator/migrate8to9.py | 0 .../extras/daemon/migrator/migrate9to10.py | 0 .../lbrynet}/extras/daemon/storage.py | 0 .../lbrynet}/extras/daemon/undecorated.py | 0 .../lbrynet}/extras/system_info.py | 0 {lbrynet => lbry/lbrynet}/schema/Makefile | 0 {lbrynet => lbry/lbrynet}/schema/__init__.py | 0 {lbrynet => lbry/lbrynet}/schema/attrs.py | 0 {lbrynet => lbry/lbrynet}/schema/base.py | 0 {lbrynet => lbry/lbrynet}/schema/claim.py | 0 {lbrynet => lbry/lbrynet}/schema/compat.py | 0 .../lbrynet}/schema/mime_types.py | 0 {lbrynet => lbry/lbrynet}/schema/result.py | 0 {lbrynet => lbry/lbrynet}/schema/support.py | 0 .../lbrynet}/schema/types/__init__.py | 0 .../lbrynet}/schema/types/v1/__init__.py | 0 .../schema/types/v1/certificate_pb2.py | 0 .../lbrynet}/schema/types/v1/fee_pb2.py | 0 .../schema/types/v1/legacy_claim_pb2.py | 0 .../lbrynet}/schema/types/v1/metadata_pb2.py | 0 .../lbrynet}/schema/types/v1/signature_pb2.py | 0 .../lbrynet}/schema/types/v1/source_pb2.py | 0 .../lbrynet}/schema/types/v1/stream_pb2.py | 0 .../lbrynet}/schema/types/v2/__init__.py | 0 .../lbrynet}/schema/types/v2/claim_pb2.py | 0 .../lbrynet}/schema/types/v2/result_pb2.py | 0 {lbrynet => lbry/lbrynet}/schema/url.py | 0 {lbrynet => lbry/lbrynet}/stream/__init__.py | 0 .../lbrynet}/stream/descriptor.py | 0 .../lbrynet}/stream/downloader.py | 0 .../lbrynet}/stream/managed_stream.py | 0 .../lbrynet}/stream/reflector/__init__.py | 0 .../lbrynet}/stream/reflector/client.py | 0 .../lbrynet}/stream/reflector/server.py | 0 .../lbrynet}/stream/stream_manager.py | 0 {lbrynet => lbry/lbrynet}/testcase.py | 0 {lbrynet => lbry/lbrynet}/utils.py | 0 {lbrynet => lbry/lbrynet}/wallet/__init__.py | 0 {lbrynet => lbry/lbrynet}/wallet/account.py | 0 .../lbrynet}/wallet/claim_proofs.py | 0 {lbrynet => lbry/lbrynet}/wallet/database.py | 0 {lbrynet => lbry/lbrynet}/wallet/dewies.py | 0 {lbrynet => lbry/lbrynet}/wallet/header.py | 0 {lbrynet => lbry/lbrynet}/wallet/ledger.py | 0 {lbrynet => lbry/lbrynet}/wallet/manager.py | 0 {lbrynet => lbry/lbrynet}/wallet/network.py | 0 {lbrynet => lbry/lbrynet}/wallet/resolve.py | 0 {lbrynet => lbry/lbrynet}/wallet/script.py | 0 .../lbrynet}/wallet/server/__init__.py | 0 .../lbrynet}/wallet/server/block_processor.py | 0 .../lbrynet}/wallet/server/canonical.py | 0 .../lbrynet}/wallet/server/coin.py | 0 .../lbrynet}/wallet/server/daemon.py | 0 {lbrynet => lbry/lbrynet}/wallet/server/db.py | 0 .../lbrynet}/wallet/server/session.py | 0 .../lbrynet}/wallet/server/trending.py | 0 .../lbrynet}/wallet/transaction.py | 0 {lbrynet => lbry/lbrynet}/winpaths.py | 0 mkdocs.yml => lbry/mkdocs.yml | 0 setup.py => lbry/setup.py | 0 {tests => lbry/tests}/__init__.py | 0 {tests => lbry/tests}/dht_mocks.py | 0 {tests => lbry/tests}/integration/__init__.py | 0 .../integration/test_account_commands.py | 0 .../tests}/integration/test_chris45.py | 0 .../tests}/integration/test_claim_commands.py | 0 {tests => lbry/tests}/integration/test_cli.py | 0 .../integration/test_comment_commands.py | 0 {tests => lbry/tests}/integration/test_dht.py | 0 .../tests}/integration/test_file_commands.py | 0 .../test_internal_transaction_api.py | 0 .../integration/test_resolve_command.py | 0 .../tests}/integration/test_streaming.py | 0 .../tests}/integration/test_sync.py | 0 .../integration/test_transaction_commands.py | 0 {tests => lbry/tests}/test_utils.py | 0 {tests => lbry/tests}/unit/__init__.py | 0 .../tests}/unit/analytics/__init__.py | 0 .../tests}/unit/analytics/test_track.py | 0 {tests => lbry/tests}/unit/blob/__init__.py | 0 .../tests}/unit/blob/test_blob_file.py | 0 .../tests}/unit/blob/test_blob_manager.py | 0 .../tests}/unit/blob_exchange/__init__.py | 0 .../unit/blob_exchange/test_transfer_blob.py | 0 .../tests}/unit/comments/__init__.py | 0 .../unit/comments/test_comment_signing.py | 0 .../tests}/unit/components/__init__.py | 0 .../unit/components/test_component_manager.py | 0 {tests => lbry/tests}/unit/core/__init__.py | 0 {tests => lbry/tests}/unit/core/test_utils.py | 0 .../tests}/unit/database/__init__.py | 0 .../unit/database/test_SQLiteStorage.py | 0 {tests => lbry/tests}/unit/dht/__init__.py | 0 .../tests}/unit/dht/protocol/__init__.py | 0 .../unit/dht/protocol/test_data_store.py | 0 .../tests}/unit/dht/protocol/test_distance.py | 0 .../tests}/unit/dht/protocol/test_kbucket.py | 0 .../tests}/unit/dht/protocol/test_protocol.py | 0 .../unit/dht/protocol/test_routing_table.py | 0 .../tests}/unit/dht/serialization/__init__.py | 0 .../unit/dht/serialization/test_bencoding.py | 0 .../unit/dht/serialization/test_datagram.py | 0 .../tests}/unit/dht/test_blob_announcer.py | 0 {tests => lbry/tests}/unit/dht/test_node.py | 0 {tests => lbry/tests}/unit/dht/test_peer.py | 0 .../tests}/unit/lbrynet_daemon/__init__.py | 0 .../tests}/unit/lbrynet_daemon/test_Daemon.py | 0 .../test_ExchangeRateManager.py | 0 .../lbrynet_daemon/test_claims_comparator.py | 0 .../unit/lbrynet_daemon/test_mime_types.py | 0 {tests => lbry/tests}/unit/schema/__init__.py | 0 .../unit/schema/test_claim_from_bytes.py | 0 .../tests}/unit/schema/test_models.py | 0 {tests => lbry/tests}/unit/schema/test_url.py | 0 {tests => lbry/tests}/unit/stream/__init__.py | 0 .../tests}/unit/stream/test_managed_stream.py | 0 .../tests}/unit/stream/test_reflector.py | 0 .../unit/stream/test_stream_descriptor.py | 0 .../tests}/unit/stream/test_stream_manager.py | 0 {tests => lbry/tests}/unit/test_cli.py | 0 {tests => lbry/tests}/unit/test_conf.py | 0 {tests => lbry/tests}/unit/wallet/__init__.py | 0 .../tests}/unit/wallet/server/__init__.py | 0 .../tests}/unit/wallet/server/test_sqldb.py | 0 .../tests}/unit/wallet/test_account.py | 0 .../tests}/unit/wallet/test_claim_proofs.py | 0 .../tests}/unit/wallet/test_dewies.py | 0 .../tests}/unit/wallet/test_headers.py | 0 .../tests}/unit/wallet/test_ledger.py | 0 .../tests}/unit/wallet/test_schema_signing.py | 0 .../tests}/unit/wallet/test_script.py | 0 .../tests}/unit/wallet/test_transaction.py | 0 tox.ini => lbry/tox.ini | 0 220 files changed, 56 insertions(+) create mode 100644 lbry/README.md rename {docs => lbry/docs}/404.html (100%) rename {docs => lbry/docs}/api.json (100%) rename {docs => lbry/docs}/assets/images/favicon.png (100%) rename {docs => lbry/docs}/assets/images/icons/bitbucket.4ebea66e.svg (100%) rename {docs => lbry/docs}/assets/images/icons/github.a4034fb1.svg (100%) rename {docs => lbry/docs}/assets/images/icons/gitlab.348cdb3a.svg (100%) rename {docs => lbry/docs}/assets/javascripts/application.8eb9be28.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.da.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.de.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.du.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.es.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.fi.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.fr.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.hu.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.it.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.jp.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.multi.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.no.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.pt.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.ro.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.ru.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.stemmer.support.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.sv.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/lunr.tr.js (100%) rename {docs => lbry/docs}/assets/javascripts/lunr/tinyseg.js (100%) rename {docs => lbry/docs}/assets/javascripts/modernizr.1aa3b519.js (100%) rename {docs => lbry/docs}/assets/stylesheets/application-palette.6079476c.css (100%) rename {docs => lbry/docs}/assets/stylesheets/application.78aab2dc.css (100%) rename {docs => lbry/docs}/cli/index.html (100%) rename {docs => lbry/docs}/index.html (100%) rename {docs => lbry/docs}/search/search_index.json (100%) rename example_daemon_settings.yml => lbry/example_daemon_settings.yml (100%) rename {lbrynet => lbry/lbrynet}/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/blob/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/blob/blob_file.py (100%) rename {lbrynet => lbry/lbrynet}/blob/blob_info.py (100%) rename {lbrynet => lbry/lbrynet}/blob/blob_manager.py (100%) rename {lbrynet => lbry/lbrynet}/blob/writer.py (100%) rename {lbrynet => lbry/lbrynet}/blob_exchange/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/blob_exchange/client.py (100%) rename {lbrynet => lbry/lbrynet}/blob_exchange/downloader.py (100%) rename {lbrynet => lbry/lbrynet}/blob_exchange/serialization.py (100%) rename {lbrynet => lbry/lbrynet}/blob_exchange/server.py (100%) rename {lbrynet => lbry/lbrynet}/build_type.py (100%) rename {lbrynet => lbry/lbrynet}/conf.py (100%) rename {lbrynet => lbry/lbrynet}/connection_manager.py (100%) rename {lbrynet => lbry/lbrynet}/cryptoutils.py (100%) rename {lbrynet => lbry/lbrynet}/dht/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/dht/blob_announcer.py (100%) rename {lbrynet => lbry/lbrynet}/dht/constants.py (100%) rename {lbrynet => lbry/lbrynet}/dht/error.py (100%) rename {lbrynet => lbry/lbrynet}/dht/node.py (100%) rename {lbrynet => lbry/lbrynet}/dht/peer.py (100%) rename {lbrynet => lbry/lbrynet}/dht/protocol/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/dht/protocol/data_store.py (100%) rename {lbrynet => lbry/lbrynet}/dht/protocol/distance.py (100%) rename {lbrynet => lbry/lbrynet}/dht/protocol/iterative_find.py (100%) rename {lbrynet => lbry/lbrynet}/dht/protocol/protocol.py (100%) rename {lbrynet => lbry/lbrynet}/dht/protocol/routing_table.py (100%) rename {lbrynet => lbry/lbrynet}/dht/serialization/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/dht/serialization/bencoding.py (100%) rename {lbrynet => lbry/lbrynet}/dht/serialization/datagram.py (100%) rename {lbrynet => lbry/lbrynet}/error.py (100%) rename {lbrynet => lbry/lbrynet}/extras/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/extras/cli.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/Component.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/ComponentManager.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/Components.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/Daemon.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/analytics.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/client.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/comment_client.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/exchange_rate_manager.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/json_response_encoder.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/loggly_handler.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/dbmigrator.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/migrate10to11.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/migrate1to2.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/migrate2to3.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/migrate3to4.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/migrate4to5.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/migrate5to6.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/migrate6to7.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/migrate7to8.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/migrate8to9.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/migrator/migrate9to10.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/storage.py (100%) rename {lbrynet => lbry/lbrynet}/extras/daemon/undecorated.py (100%) rename {lbrynet => lbry/lbrynet}/extras/system_info.py (100%) rename {lbrynet => lbry/lbrynet}/schema/Makefile (100%) rename {lbrynet => lbry/lbrynet}/schema/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/schema/attrs.py (100%) rename {lbrynet => lbry/lbrynet}/schema/base.py (100%) rename {lbrynet => lbry/lbrynet}/schema/claim.py (100%) rename {lbrynet => lbry/lbrynet}/schema/compat.py (100%) rename {lbrynet => lbry/lbrynet}/schema/mime_types.py (100%) rename {lbrynet => lbry/lbrynet}/schema/result.py (100%) rename {lbrynet => lbry/lbrynet}/schema/support.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/v1/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/v1/certificate_pb2.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/v1/fee_pb2.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/v1/legacy_claim_pb2.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/v1/metadata_pb2.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/v1/signature_pb2.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/v1/source_pb2.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/v1/stream_pb2.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/v2/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/v2/claim_pb2.py (100%) rename {lbrynet => lbry/lbrynet}/schema/types/v2/result_pb2.py (100%) rename {lbrynet => lbry/lbrynet}/schema/url.py (100%) rename {lbrynet => lbry/lbrynet}/stream/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/stream/descriptor.py (100%) rename {lbrynet => lbry/lbrynet}/stream/downloader.py (100%) rename {lbrynet => lbry/lbrynet}/stream/managed_stream.py (100%) rename {lbrynet => lbry/lbrynet}/stream/reflector/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/stream/reflector/client.py (100%) rename {lbrynet => lbry/lbrynet}/stream/reflector/server.py (100%) rename {lbrynet => lbry/lbrynet}/stream/stream_manager.py (100%) rename {lbrynet => lbry/lbrynet}/testcase.py (100%) rename {lbrynet => lbry/lbrynet}/utils.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/account.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/claim_proofs.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/database.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/dewies.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/header.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/ledger.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/manager.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/network.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/resolve.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/script.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/server/__init__.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/server/block_processor.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/server/canonical.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/server/coin.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/server/daemon.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/server/db.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/server/session.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/server/trending.py (100%) rename {lbrynet => lbry/lbrynet}/wallet/transaction.py (100%) rename {lbrynet => lbry/lbrynet}/winpaths.py (100%) rename mkdocs.yml => lbry/mkdocs.yml (100%) rename setup.py => lbry/setup.py (100%) rename {tests => lbry/tests}/__init__.py (100%) rename {tests => lbry/tests}/dht_mocks.py (100%) rename {tests => lbry/tests}/integration/__init__.py (100%) rename {tests => lbry/tests}/integration/test_account_commands.py (100%) rename {tests => lbry/tests}/integration/test_chris45.py (100%) rename {tests => lbry/tests}/integration/test_claim_commands.py (100%) rename {tests => lbry/tests}/integration/test_cli.py (100%) rename {tests => lbry/tests}/integration/test_comment_commands.py (100%) rename {tests => lbry/tests}/integration/test_dht.py (100%) rename {tests => lbry/tests}/integration/test_file_commands.py (100%) rename {tests => lbry/tests}/integration/test_internal_transaction_api.py (100%) rename {tests => lbry/tests}/integration/test_resolve_command.py (100%) rename {tests => lbry/tests}/integration/test_streaming.py (100%) rename {tests => lbry/tests}/integration/test_sync.py (100%) rename {tests => lbry/tests}/integration/test_transaction_commands.py (100%) rename {tests => lbry/tests}/test_utils.py (100%) rename {tests => lbry/tests}/unit/__init__.py (100%) rename {tests => lbry/tests}/unit/analytics/__init__.py (100%) rename {tests => lbry/tests}/unit/analytics/test_track.py (100%) rename {tests => lbry/tests}/unit/blob/__init__.py (100%) rename {tests => lbry/tests}/unit/blob/test_blob_file.py (100%) rename {tests => lbry/tests}/unit/blob/test_blob_manager.py (100%) rename {tests => lbry/tests}/unit/blob_exchange/__init__.py (100%) rename {tests => lbry/tests}/unit/blob_exchange/test_transfer_blob.py (100%) rename {tests => lbry/tests}/unit/comments/__init__.py (100%) rename {tests => lbry/tests}/unit/comments/test_comment_signing.py (100%) rename {tests => lbry/tests}/unit/components/__init__.py (100%) rename {tests => lbry/tests}/unit/components/test_component_manager.py (100%) rename {tests => lbry/tests}/unit/core/__init__.py (100%) rename {tests => lbry/tests}/unit/core/test_utils.py (100%) rename {tests => lbry/tests}/unit/database/__init__.py (100%) rename {tests => lbry/tests}/unit/database/test_SQLiteStorage.py (100%) rename {tests => lbry/tests}/unit/dht/__init__.py (100%) rename {tests => lbry/tests}/unit/dht/protocol/__init__.py (100%) rename {tests => lbry/tests}/unit/dht/protocol/test_data_store.py (100%) rename {tests => lbry/tests}/unit/dht/protocol/test_distance.py (100%) rename {tests => lbry/tests}/unit/dht/protocol/test_kbucket.py (100%) rename {tests => lbry/tests}/unit/dht/protocol/test_protocol.py (100%) rename {tests => lbry/tests}/unit/dht/protocol/test_routing_table.py (100%) rename {tests => lbry/tests}/unit/dht/serialization/__init__.py (100%) rename {tests => lbry/tests}/unit/dht/serialization/test_bencoding.py (100%) rename {tests => lbry/tests}/unit/dht/serialization/test_datagram.py (100%) rename {tests => lbry/tests}/unit/dht/test_blob_announcer.py (100%) rename {tests => lbry/tests}/unit/dht/test_node.py (100%) rename {tests => lbry/tests}/unit/dht/test_peer.py (100%) rename {tests => lbry/tests}/unit/lbrynet_daemon/__init__.py (100%) rename {tests => lbry/tests}/unit/lbrynet_daemon/test_Daemon.py (100%) rename {tests => lbry/tests}/unit/lbrynet_daemon/test_ExchangeRateManager.py (100%) rename {tests => lbry/tests}/unit/lbrynet_daemon/test_claims_comparator.py (100%) rename {tests => lbry/tests}/unit/lbrynet_daemon/test_mime_types.py (100%) rename {tests => lbry/tests}/unit/schema/__init__.py (100%) rename {tests => lbry/tests}/unit/schema/test_claim_from_bytes.py (100%) rename {tests => lbry/tests}/unit/schema/test_models.py (100%) rename {tests => lbry/tests}/unit/schema/test_url.py (100%) rename {tests => lbry/tests}/unit/stream/__init__.py (100%) rename {tests => lbry/tests}/unit/stream/test_managed_stream.py (100%) rename {tests => lbry/tests}/unit/stream/test_reflector.py (100%) rename {tests => lbry/tests}/unit/stream/test_stream_descriptor.py (100%) rename {tests => lbry/tests}/unit/stream/test_stream_manager.py (100%) rename {tests => lbry/tests}/unit/test_cli.py (100%) rename {tests => lbry/tests}/unit/test_conf.py (100%) rename {tests => lbry/tests}/unit/wallet/__init__.py (100%) rename {tests => lbry/tests}/unit/wallet/server/__init__.py (100%) rename {tests => lbry/tests}/unit/wallet/server/test_sqldb.py (100%) rename {tests => lbry/tests}/unit/wallet/test_account.py (100%) rename {tests => lbry/tests}/unit/wallet/test_claim_proofs.py (100%) rename {tests => lbry/tests}/unit/wallet/test_dewies.py (100%) rename {tests => lbry/tests}/unit/wallet/test_headers.py (100%) rename {tests => lbry/tests}/unit/wallet/test_ledger.py (100%) rename {tests => lbry/tests}/unit/wallet/test_schema_signing.py (100%) rename {tests => lbry/tests}/unit/wallet/test_script.py (100%) rename {tests => lbry/tests}/unit/wallet/test_transaction.py (100%) rename tox.ini => lbry/tox.ini (100%) diff --git a/lbry/README.md b/lbry/README.md new file mode 100644 index 000000000..c487e0e42 --- /dev/null +++ b/lbry/README.md @@ -0,0 +1,56 @@ +# LBRY LBRY SDK [![Build Status](https://travis-ci.org/lbryio/lbry.svg?branch=master)](https://travis-ci.org/lbryio/lbry) [![Test Coverage](https://codecov.io/gh/lbryio/lbry/branch/master/graph/badge.svg)](https://codecov.io/gh/lbryio/lbry) + +LBRY is a decentralized peer-to-peer protocol for publishing and accessing digital content. It utilizes the [LBRY blockchain](https://github.com/lbryio/lbrycrd) as a global namespace and database of digital content. Blockchain entries contain searchable content metadata, identities, rights and access rules. LBRY also provides a data network that consists of peers (seeders) uploading and downloading data from other peers, possibly in exchange for payments, as well as a distributed hash table used by peers to discover other peers. + +LBRY SDK for Python is currently the most full featured implementation of the LBRY Network protocols and includes many useful components and tools for building decentralized applications. Primary features and components: + + * Built on Python 3.7+ and `asyncio`. + * Kademlia DHT (Distributed Hash Table) implementation for finding peers to download from and announcing to peers what we have to host ([lbrynet.dht](https://github.com/lbryio/lbry/tree/master/lbrynet/dht)). + * Blob exchange protocol for transferring encrypted blobs of content and negotiating payments ([lbrynet.blob_exchange](https://github.com/lbryio/lbry/tree/master/lbrynet/blob_exchange)). + * Protobuf schema for encoding and decoding metadata stored on the blockchain ([lbrynet.schema](https://github.com/lbryio/lbry/tree/master/lbrynet/schema)). + * Wallet implementation for the LBRY blockchain ([lbrynet.wallet](https://github.com/lbryio/lbry/tree/master/lbrynet/wallet)). + * Daemon with a JSON-RPC API to ease building end user applications in any language and for automating various tasks ([lbrynet.extras.daemon](https://github.com/lbryio/lbry/tree/master/lbrynet/extras/daemon)). + +## Installation + +Our [releases page](https://github.com/lbryio/lbry/releases) contains pre-built binaries of the latest release, pre-releases, and past releases for macOS, Debian-based Linux, and Windows. [Automated travis builds](http://build.lbry.io/daemon/) are also available for testing. + +## Usage + +Run `lbrynet start` to launch the API server. + +By default, `lbrynet` will provide a JSON-RPC server at `http://localhost:5279`. It is easy to interact with via cURL or sane programming languages. + +Our [quickstart guide](https://lbry.tech/playground) provides a simple walkthrough and examples for learning. + +With the daemon running, `lbrynet commands` will show you a list of commands. + +The full API is documented [here](https://lbry.tech/api/sdk). + +## Running from source + +Installing from source is also relatively painless. Full instructions are in [INSTALL.md](INSTALL.md) + +## Contributing + +Contributions to this project are welcome, encouraged, and compensated. For more details, please check [this](https://lbry.tech/contribute) link. + +## License + +This project is MIT licensed. For the full license, see [LICENSE](LICENSE). + +## Security + +We take security seriously. Please contact security@lbry.com regarding any security issues. [Our GPG key is here](https://lbry.com/faq/gpg-key) if you need it. + +## Contact + +The primary contact for this project is [@eukreign](mailto:lex@lbry.com). + +## Additional information and links + +The documentation for the API can be found [here](https://lbry.tech/api/sdk). + +Daemon defaults, ports, and other settings are documented [here](https://lbry.tech/resources/daemon-settings). + +Settings can be configured using a daemon-settings.yml file. An example can be found [here](https://github.com/lbryio/lbry/blob/master/example_daemon_settings.yml). diff --git a/docs/404.html b/lbry/docs/404.html similarity index 100% rename from docs/404.html rename to lbry/docs/404.html diff --git a/docs/api.json b/lbry/docs/api.json similarity index 100% rename from docs/api.json rename to lbry/docs/api.json diff --git a/docs/assets/images/favicon.png b/lbry/docs/assets/images/favicon.png similarity index 100% rename from docs/assets/images/favicon.png rename to lbry/docs/assets/images/favicon.png diff --git a/docs/assets/images/icons/bitbucket.4ebea66e.svg b/lbry/docs/assets/images/icons/bitbucket.4ebea66e.svg similarity index 100% rename from docs/assets/images/icons/bitbucket.4ebea66e.svg rename to lbry/docs/assets/images/icons/bitbucket.4ebea66e.svg diff --git a/docs/assets/images/icons/github.a4034fb1.svg b/lbry/docs/assets/images/icons/github.a4034fb1.svg similarity index 100% rename from docs/assets/images/icons/github.a4034fb1.svg rename to lbry/docs/assets/images/icons/github.a4034fb1.svg diff --git a/docs/assets/images/icons/gitlab.348cdb3a.svg b/lbry/docs/assets/images/icons/gitlab.348cdb3a.svg similarity index 100% rename from docs/assets/images/icons/gitlab.348cdb3a.svg rename to lbry/docs/assets/images/icons/gitlab.348cdb3a.svg diff --git a/docs/assets/javascripts/application.8eb9be28.js b/lbry/docs/assets/javascripts/application.8eb9be28.js similarity index 100% rename from docs/assets/javascripts/application.8eb9be28.js rename to lbry/docs/assets/javascripts/application.8eb9be28.js diff --git a/docs/assets/javascripts/lunr/lunr.da.js b/lbry/docs/assets/javascripts/lunr/lunr.da.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.da.js rename to lbry/docs/assets/javascripts/lunr/lunr.da.js diff --git a/docs/assets/javascripts/lunr/lunr.de.js b/lbry/docs/assets/javascripts/lunr/lunr.de.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.de.js rename to lbry/docs/assets/javascripts/lunr/lunr.de.js diff --git a/docs/assets/javascripts/lunr/lunr.du.js b/lbry/docs/assets/javascripts/lunr/lunr.du.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.du.js rename to lbry/docs/assets/javascripts/lunr/lunr.du.js diff --git a/docs/assets/javascripts/lunr/lunr.es.js b/lbry/docs/assets/javascripts/lunr/lunr.es.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.es.js rename to lbry/docs/assets/javascripts/lunr/lunr.es.js diff --git a/docs/assets/javascripts/lunr/lunr.fi.js b/lbry/docs/assets/javascripts/lunr/lunr.fi.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.fi.js rename to lbry/docs/assets/javascripts/lunr/lunr.fi.js diff --git a/docs/assets/javascripts/lunr/lunr.fr.js b/lbry/docs/assets/javascripts/lunr/lunr.fr.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.fr.js rename to lbry/docs/assets/javascripts/lunr/lunr.fr.js diff --git a/docs/assets/javascripts/lunr/lunr.hu.js b/lbry/docs/assets/javascripts/lunr/lunr.hu.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.hu.js rename to lbry/docs/assets/javascripts/lunr/lunr.hu.js diff --git a/docs/assets/javascripts/lunr/lunr.it.js b/lbry/docs/assets/javascripts/lunr/lunr.it.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.it.js rename to lbry/docs/assets/javascripts/lunr/lunr.it.js diff --git a/docs/assets/javascripts/lunr/lunr.jp.js b/lbry/docs/assets/javascripts/lunr/lunr.jp.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.jp.js rename to lbry/docs/assets/javascripts/lunr/lunr.jp.js diff --git a/docs/assets/javascripts/lunr/lunr.multi.js b/lbry/docs/assets/javascripts/lunr/lunr.multi.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.multi.js rename to lbry/docs/assets/javascripts/lunr/lunr.multi.js diff --git a/docs/assets/javascripts/lunr/lunr.no.js b/lbry/docs/assets/javascripts/lunr/lunr.no.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.no.js rename to lbry/docs/assets/javascripts/lunr/lunr.no.js diff --git a/docs/assets/javascripts/lunr/lunr.pt.js b/lbry/docs/assets/javascripts/lunr/lunr.pt.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.pt.js rename to lbry/docs/assets/javascripts/lunr/lunr.pt.js diff --git a/docs/assets/javascripts/lunr/lunr.ro.js b/lbry/docs/assets/javascripts/lunr/lunr.ro.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.ro.js rename to lbry/docs/assets/javascripts/lunr/lunr.ro.js diff --git a/docs/assets/javascripts/lunr/lunr.ru.js b/lbry/docs/assets/javascripts/lunr/lunr.ru.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.ru.js rename to lbry/docs/assets/javascripts/lunr/lunr.ru.js diff --git a/docs/assets/javascripts/lunr/lunr.stemmer.support.js b/lbry/docs/assets/javascripts/lunr/lunr.stemmer.support.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.stemmer.support.js rename to lbry/docs/assets/javascripts/lunr/lunr.stemmer.support.js diff --git a/docs/assets/javascripts/lunr/lunr.sv.js b/lbry/docs/assets/javascripts/lunr/lunr.sv.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.sv.js rename to lbry/docs/assets/javascripts/lunr/lunr.sv.js diff --git a/docs/assets/javascripts/lunr/lunr.tr.js b/lbry/docs/assets/javascripts/lunr/lunr.tr.js similarity index 100% rename from docs/assets/javascripts/lunr/lunr.tr.js rename to lbry/docs/assets/javascripts/lunr/lunr.tr.js diff --git a/docs/assets/javascripts/lunr/tinyseg.js b/lbry/docs/assets/javascripts/lunr/tinyseg.js similarity index 100% rename from docs/assets/javascripts/lunr/tinyseg.js rename to lbry/docs/assets/javascripts/lunr/tinyseg.js diff --git a/docs/assets/javascripts/modernizr.1aa3b519.js b/lbry/docs/assets/javascripts/modernizr.1aa3b519.js similarity index 100% rename from docs/assets/javascripts/modernizr.1aa3b519.js rename to lbry/docs/assets/javascripts/modernizr.1aa3b519.js diff --git a/docs/assets/stylesheets/application-palette.6079476c.css b/lbry/docs/assets/stylesheets/application-palette.6079476c.css similarity index 100% rename from docs/assets/stylesheets/application-palette.6079476c.css rename to lbry/docs/assets/stylesheets/application-palette.6079476c.css diff --git a/docs/assets/stylesheets/application.78aab2dc.css b/lbry/docs/assets/stylesheets/application.78aab2dc.css similarity index 100% rename from docs/assets/stylesheets/application.78aab2dc.css rename to lbry/docs/assets/stylesheets/application.78aab2dc.css diff --git a/docs/cli/index.html b/lbry/docs/cli/index.html similarity index 100% rename from docs/cli/index.html rename to lbry/docs/cli/index.html diff --git a/docs/index.html b/lbry/docs/index.html similarity index 100% rename from docs/index.html rename to lbry/docs/index.html diff --git a/docs/search/search_index.json b/lbry/docs/search/search_index.json similarity index 100% rename from docs/search/search_index.json rename to lbry/docs/search/search_index.json diff --git a/example_daemon_settings.yml b/lbry/example_daemon_settings.yml similarity index 100% rename from example_daemon_settings.yml rename to lbry/example_daemon_settings.yml diff --git a/lbrynet/__init__.py b/lbry/lbrynet/__init__.py similarity index 100% rename from lbrynet/__init__.py rename to lbry/lbrynet/__init__.py diff --git a/lbrynet/blob/__init__.py b/lbry/lbrynet/blob/__init__.py similarity index 100% rename from lbrynet/blob/__init__.py rename to lbry/lbrynet/blob/__init__.py diff --git a/lbrynet/blob/blob_file.py b/lbry/lbrynet/blob/blob_file.py similarity index 100% rename from lbrynet/blob/blob_file.py rename to lbry/lbrynet/blob/blob_file.py diff --git a/lbrynet/blob/blob_info.py b/lbry/lbrynet/blob/blob_info.py similarity index 100% rename from lbrynet/blob/blob_info.py rename to lbry/lbrynet/blob/blob_info.py diff --git a/lbrynet/blob/blob_manager.py b/lbry/lbrynet/blob/blob_manager.py similarity index 100% rename from lbrynet/blob/blob_manager.py rename to lbry/lbrynet/blob/blob_manager.py diff --git a/lbrynet/blob/writer.py b/lbry/lbrynet/blob/writer.py similarity index 100% rename from lbrynet/blob/writer.py rename to lbry/lbrynet/blob/writer.py diff --git a/lbrynet/blob_exchange/__init__.py b/lbry/lbrynet/blob_exchange/__init__.py similarity index 100% rename from lbrynet/blob_exchange/__init__.py rename to lbry/lbrynet/blob_exchange/__init__.py diff --git a/lbrynet/blob_exchange/client.py b/lbry/lbrynet/blob_exchange/client.py similarity index 100% rename from lbrynet/blob_exchange/client.py rename to lbry/lbrynet/blob_exchange/client.py diff --git a/lbrynet/blob_exchange/downloader.py b/lbry/lbrynet/blob_exchange/downloader.py similarity index 100% rename from lbrynet/blob_exchange/downloader.py rename to lbry/lbrynet/blob_exchange/downloader.py diff --git a/lbrynet/blob_exchange/serialization.py b/lbry/lbrynet/blob_exchange/serialization.py similarity index 100% rename from lbrynet/blob_exchange/serialization.py rename to lbry/lbrynet/blob_exchange/serialization.py diff --git a/lbrynet/blob_exchange/server.py b/lbry/lbrynet/blob_exchange/server.py similarity index 100% rename from lbrynet/blob_exchange/server.py rename to lbry/lbrynet/blob_exchange/server.py diff --git a/lbrynet/build_type.py b/lbry/lbrynet/build_type.py similarity index 100% rename from lbrynet/build_type.py rename to lbry/lbrynet/build_type.py diff --git a/lbrynet/conf.py b/lbry/lbrynet/conf.py similarity index 100% rename from lbrynet/conf.py rename to lbry/lbrynet/conf.py diff --git a/lbrynet/connection_manager.py b/lbry/lbrynet/connection_manager.py similarity index 100% rename from lbrynet/connection_manager.py rename to lbry/lbrynet/connection_manager.py diff --git a/lbrynet/cryptoutils.py b/lbry/lbrynet/cryptoutils.py similarity index 100% rename from lbrynet/cryptoutils.py rename to lbry/lbrynet/cryptoutils.py diff --git a/lbrynet/dht/__init__.py b/lbry/lbrynet/dht/__init__.py similarity index 100% rename from lbrynet/dht/__init__.py rename to lbry/lbrynet/dht/__init__.py diff --git a/lbrynet/dht/blob_announcer.py b/lbry/lbrynet/dht/blob_announcer.py similarity index 100% rename from lbrynet/dht/blob_announcer.py rename to lbry/lbrynet/dht/blob_announcer.py diff --git a/lbrynet/dht/constants.py b/lbry/lbrynet/dht/constants.py similarity index 100% rename from lbrynet/dht/constants.py rename to lbry/lbrynet/dht/constants.py diff --git a/lbrynet/dht/error.py b/lbry/lbrynet/dht/error.py similarity index 100% rename from lbrynet/dht/error.py rename to lbry/lbrynet/dht/error.py diff --git a/lbrynet/dht/node.py b/lbry/lbrynet/dht/node.py similarity index 100% rename from lbrynet/dht/node.py rename to lbry/lbrynet/dht/node.py diff --git a/lbrynet/dht/peer.py b/lbry/lbrynet/dht/peer.py similarity index 100% rename from lbrynet/dht/peer.py rename to lbry/lbrynet/dht/peer.py diff --git a/lbrynet/dht/protocol/__init__.py b/lbry/lbrynet/dht/protocol/__init__.py similarity index 100% rename from lbrynet/dht/protocol/__init__.py rename to lbry/lbrynet/dht/protocol/__init__.py diff --git a/lbrynet/dht/protocol/data_store.py b/lbry/lbrynet/dht/protocol/data_store.py similarity index 100% rename from lbrynet/dht/protocol/data_store.py rename to lbry/lbrynet/dht/protocol/data_store.py diff --git a/lbrynet/dht/protocol/distance.py b/lbry/lbrynet/dht/protocol/distance.py similarity index 100% rename from lbrynet/dht/protocol/distance.py rename to lbry/lbrynet/dht/protocol/distance.py diff --git a/lbrynet/dht/protocol/iterative_find.py b/lbry/lbrynet/dht/protocol/iterative_find.py similarity index 100% rename from lbrynet/dht/protocol/iterative_find.py rename to lbry/lbrynet/dht/protocol/iterative_find.py diff --git a/lbrynet/dht/protocol/protocol.py b/lbry/lbrynet/dht/protocol/protocol.py similarity index 100% rename from lbrynet/dht/protocol/protocol.py rename to lbry/lbrynet/dht/protocol/protocol.py diff --git a/lbrynet/dht/protocol/routing_table.py b/lbry/lbrynet/dht/protocol/routing_table.py similarity index 100% rename from lbrynet/dht/protocol/routing_table.py rename to lbry/lbrynet/dht/protocol/routing_table.py diff --git a/lbrynet/dht/serialization/__init__.py b/lbry/lbrynet/dht/serialization/__init__.py similarity index 100% rename from lbrynet/dht/serialization/__init__.py rename to lbry/lbrynet/dht/serialization/__init__.py diff --git a/lbrynet/dht/serialization/bencoding.py b/lbry/lbrynet/dht/serialization/bencoding.py similarity index 100% rename from lbrynet/dht/serialization/bencoding.py rename to lbry/lbrynet/dht/serialization/bencoding.py diff --git a/lbrynet/dht/serialization/datagram.py b/lbry/lbrynet/dht/serialization/datagram.py similarity index 100% rename from lbrynet/dht/serialization/datagram.py rename to lbry/lbrynet/dht/serialization/datagram.py diff --git a/lbrynet/error.py b/lbry/lbrynet/error.py similarity index 100% rename from lbrynet/error.py rename to lbry/lbrynet/error.py diff --git a/lbrynet/extras/__init__.py b/lbry/lbrynet/extras/__init__.py similarity index 100% rename from lbrynet/extras/__init__.py rename to lbry/lbrynet/extras/__init__.py diff --git a/lbrynet/extras/cli.py b/lbry/lbrynet/extras/cli.py similarity index 100% rename from lbrynet/extras/cli.py rename to lbry/lbrynet/extras/cli.py diff --git a/lbrynet/extras/daemon/Component.py b/lbry/lbrynet/extras/daemon/Component.py similarity index 100% rename from lbrynet/extras/daemon/Component.py rename to lbry/lbrynet/extras/daemon/Component.py diff --git a/lbrynet/extras/daemon/ComponentManager.py b/lbry/lbrynet/extras/daemon/ComponentManager.py similarity index 100% rename from lbrynet/extras/daemon/ComponentManager.py rename to lbry/lbrynet/extras/daemon/ComponentManager.py diff --git a/lbrynet/extras/daemon/Components.py b/lbry/lbrynet/extras/daemon/Components.py similarity index 100% rename from lbrynet/extras/daemon/Components.py rename to lbry/lbrynet/extras/daemon/Components.py diff --git a/lbrynet/extras/daemon/Daemon.py b/lbry/lbrynet/extras/daemon/Daemon.py similarity index 100% rename from lbrynet/extras/daemon/Daemon.py rename to lbry/lbrynet/extras/daemon/Daemon.py diff --git a/lbrynet/extras/daemon/__init__.py b/lbry/lbrynet/extras/daemon/__init__.py similarity index 100% rename from lbrynet/extras/daemon/__init__.py rename to lbry/lbrynet/extras/daemon/__init__.py diff --git a/lbrynet/extras/daemon/analytics.py b/lbry/lbrynet/extras/daemon/analytics.py similarity index 100% rename from lbrynet/extras/daemon/analytics.py rename to lbry/lbrynet/extras/daemon/analytics.py diff --git a/lbrynet/extras/daemon/client.py b/lbry/lbrynet/extras/daemon/client.py similarity index 100% rename from lbrynet/extras/daemon/client.py rename to lbry/lbrynet/extras/daemon/client.py diff --git a/lbrynet/extras/daemon/comment_client.py b/lbry/lbrynet/extras/daemon/comment_client.py similarity index 100% rename from lbrynet/extras/daemon/comment_client.py rename to lbry/lbrynet/extras/daemon/comment_client.py diff --git a/lbrynet/extras/daemon/exchange_rate_manager.py b/lbry/lbrynet/extras/daemon/exchange_rate_manager.py similarity index 100% rename from lbrynet/extras/daemon/exchange_rate_manager.py rename to lbry/lbrynet/extras/daemon/exchange_rate_manager.py diff --git a/lbrynet/extras/daemon/json_response_encoder.py b/lbry/lbrynet/extras/daemon/json_response_encoder.py similarity index 100% rename from lbrynet/extras/daemon/json_response_encoder.py rename to lbry/lbrynet/extras/daemon/json_response_encoder.py diff --git a/lbrynet/extras/daemon/loggly_handler.py b/lbry/lbrynet/extras/daemon/loggly_handler.py similarity index 100% rename from lbrynet/extras/daemon/loggly_handler.py rename to lbry/lbrynet/extras/daemon/loggly_handler.py diff --git a/lbrynet/extras/daemon/migrator/__init__.py b/lbry/lbrynet/extras/daemon/migrator/__init__.py similarity index 100% rename from lbrynet/extras/daemon/migrator/__init__.py rename to lbry/lbrynet/extras/daemon/migrator/__init__.py diff --git a/lbrynet/extras/daemon/migrator/dbmigrator.py b/lbry/lbrynet/extras/daemon/migrator/dbmigrator.py similarity index 100% rename from lbrynet/extras/daemon/migrator/dbmigrator.py rename to lbry/lbrynet/extras/daemon/migrator/dbmigrator.py diff --git a/lbrynet/extras/daemon/migrator/migrate10to11.py b/lbry/lbrynet/extras/daemon/migrator/migrate10to11.py similarity index 100% rename from lbrynet/extras/daemon/migrator/migrate10to11.py rename to lbry/lbrynet/extras/daemon/migrator/migrate10to11.py diff --git a/lbrynet/extras/daemon/migrator/migrate1to2.py b/lbry/lbrynet/extras/daemon/migrator/migrate1to2.py similarity index 100% rename from lbrynet/extras/daemon/migrator/migrate1to2.py rename to lbry/lbrynet/extras/daemon/migrator/migrate1to2.py diff --git a/lbrynet/extras/daemon/migrator/migrate2to3.py b/lbry/lbrynet/extras/daemon/migrator/migrate2to3.py similarity index 100% rename from lbrynet/extras/daemon/migrator/migrate2to3.py rename to lbry/lbrynet/extras/daemon/migrator/migrate2to3.py diff --git a/lbrynet/extras/daemon/migrator/migrate3to4.py b/lbry/lbrynet/extras/daemon/migrator/migrate3to4.py similarity index 100% rename from lbrynet/extras/daemon/migrator/migrate3to4.py rename to lbry/lbrynet/extras/daemon/migrator/migrate3to4.py diff --git a/lbrynet/extras/daemon/migrator/migrate4to5.py b/lbry/lbrynet/extras/daemon/migrator/migrate4to5.py similarity index 100% rename from lbrynet/extras/daemon/migrator/migrate4to5.py rename to lbry/lbrynet/extras/daemon/migrator/migrate4to5.py diff --git a/lbrynet/extras/daemon/migrator/migrate5to6.py b/lbry/lbrynet/extras/daemon/migrator/migrate5to6.py similarity index 100% rename from lbrynet/extras/daemon/migrator/migrate5to6.py rename to lbry/lbrynet/extras/daemon/migrator/migrate5to6.py diff --git a/lbrynet/extras/daemon/migrator/migrate6to7.py b/lbry/lbrynet/extras/daemon/migrator/migrate6to7.py similarity index 100% rename from lbrynet/extras/daemon/migrator/migrate6to7.py rename to lbry/lbrynet/extras/daemon/migrator/migrate6to7.py diff --git a/lbrynet/extras/daemon/migrator/migrate7to8.py b/lbry/lbrynet/extras/daemon/migrator/migrate7to8.py similarity index 100% rename from lbrynet/extras/daemon/migrator/migrate7to8.py rename to lbry/lbrynet/extras/daemon/migrator/migrate7to8.py diff --git a/lbrynet/extras/daemon/migrator/migrate8to9.py b/lbry/lbrynet/extras/daemon/migrator/migrate8to9.py similarity index 100% rename from lbrynet/extras/daemon/migrator/migrate8to9.py rename to lbry/lbrynet/extras/daemon/migrator/migrate8to9.py diff --git a/lbrynet/extras/daemon/migrator/migrate9to10.py b/lbry/lbrynet/extras/daemon/migrator/migrate9to10.py similarity index 100% rename from lbrynet/extras/daemon/migrator/migrate9to10.py rename to lbry/lbrynet/extras/daemon/migrator/migrate9to10.py diff --git a/lbrynet/extras/daemon/storage.py b/lbry/lbrynet/extras/daemon/storage.py similarity index 100% rename from lbrynet/extras/daemon/storage.py rename to lbry/lbrynet/extras/daemon/storage.py diff --git a/lbrynet/extras/daemon/undecorated.py b/lbry/lbrynet/extras/daemon/undecorated.py similarity index 100% rename from lbrynet/extras/daemon/undecorated.py rename to lbry/lbrynet/extras/daemon/undecorated.py diff --git a/lbrynet/extras/system_info.py b/lbry/lbrynet/extras/system_info.py similarity index 100% rename from lbrynet/extras/system_info.py rename to lbry/lbrynet/extras/system_info.py diff --git a/lbrynet/schema/Makefile b/lbry/lbrynet/schema/Makefile similarity index 100% rename from lbrynet/schema/Makefile rename to lbry/lbrynet/schema/Makefile diff --git a/lbrynet/schema/__init__.py b/lbry/lbrynet/schema/__init__.py similarity index 100% rename from lbrynet/schema/__init__.py rename to lbry/lbrynet/schema/__init__.py diff --git a/lbrynet/schema/attrs.py b/lbry/lbrynet/schema/attrs.py similarity index 100% rename from lbrynet/schema/attrs.py rename to lbry/lbrynet/schema/attrs.py diff --git a/lbrynet/schema/base.py b/lbry/lbrynet/schema/base.py similarity index 100% rename from lbrynet/schema/base.py rename to lbry/lbrynet/schema/base.py diff --git a/lbrynet/schema/claim.py b/lbry/lbrynet/schema/claim.py similarity index 100% rename from lbrynet/schema/claim.py rename to lbry/lbrynet/schema/claim.py diff --git a/lbrynet/schema/compat.py b/lbry/lbrynet/schema/compat.py similarity index 100% rename from lbrynet/schema/compat.py rename to lbry/lbrynet/schema/compat.py diff --git a/lbrynet/schema/mime_types.py b/lbry/lbrynet/schema/mime_types.py similarity index 100% rename from lbrynet/schema/mime_types.py rename to lbry/lbrynet/schema/mime_types.py diff --git a/lbrynet/schema/result.py b/lbry/lbrynet/schema/result.py similarity index 100% rename from lbrynet/schema/result.py rename to lbry/lbrynet/schema/result.py diff --git a/lbrynet/schema/support.py b/lbry/lbrynet/schema/support.py similarity index 100% rename from lbrynet/schema/support.py rename to lbry/lbrynet/schema/support.py diff --git a/lbrynet/schema/types/__init__.py b/lbry/lbrynet/schema/types/__init__.py similarity index 100% rename from lbrynet/schema/types/__init__.py rename to lbry/lbrynet/schema/types/__init__.py diff --git a/lbrynet/schema/types/v1/__init__.py b/lbry/lbrynet/schema/types/v1/__init__.py similarity index 100% rename from lbrynet/schema/types/v1/__init__.py rename to lbry/lbrynet/schema/types/v1/__init__.py diff --git a/lbrynet/schema/types/v1/certificate_pb2.py b/lbry/lbrynet/schema/types/v1/certificate_pb2.py similarity index 100% rename from lbrynet/schema/types/v1/certificate_pb2.py rename to lbry/lbrynet/schema/types/v1/certificate_pb2.py diff --git a/lbrynet/schema/types/v1/fee_pb2.py b/lbry/lbrynet/schema/types/v1/fee_pb2.py similarity index 100% rename from lbrynet/schema/types/v1/fee_pb2.py rename to lbry/lbrynet/schema/types/v1/fee_pb2.py diff --git a/lbrynet/schema/types/v1/legacy_claim_pb2.py b/lbry/lbrynet/schema/types/v1/legacy_claim_pb2.py similarity index 100% rename from lbrynet/schema/types/v1/legacy_claim_pb2.py rename to lbry/lbrynet/schema/types/v1/legacy_claim_pb2.py diff --git a/lbrynet/schema/types/v1/metadata_pb2.py b/lbry/lbrynet/schema/types/v1/metadata_pb2.py similarity index 100% rename from lbrynet/schema/types/v1/metadata_pb2.py rename to lbry/lbrynet/schema/types/v1/metadata_pb2.py diff --git a/lbrynet/schema/types/v1/signature_pb2.py b/lbry/lbrynet/schema/types/v1/signature_pb2.py similarity index 100% rename from lbrynet/schema/types/v1/signature_pb2.py rename to lbry/lbrynet/schema/types/v1/signature_pb2.py diff --git a/lbrynet/schema/types/v1/source_pb2.py b/lbry/lbrynet/schema/types/v1/source_pb2.py similarity index 100% rename from lbrynet/schema/types/v1/source_pb2.py rename to lbry/lbrynet/schema/types/v1/source_pb2.py diff --git a/lbrynet/schema/types/v1/stream_pb2.py b/lbry/lbrynet/schema/types/v1/stream_pb2.py similarity index 100% rename from lbrynet/schema/types/v1/stream_pb2.py rename to lbry/lbrynet/schema/types/v1/stream_pb2.py diff --git a/lbrynet/schema/types/v2/__init__.py b/lbry/lbrynet/schema/types/v2/__init__.py similarity index 100% rename from lbrynet/schema/types/v2/__init__.py rename to lbry/lbrynet/schema/types/v2/__init__.py diff --git a/lbrynet/schema/types/v2/claim_pb2.py b/lbry/lbrynet/schema/types/v2/claim_pb2.py similarity index 100% rename from lbrynet/schema/types/v2/claim_pb2.py rename to lbry/lbrynet/schema/types/v2/claim_pb2.py diff --git a/lbrynet/schema/types/v2/result_pb2.py b/lbry/lbrynet/schema/types/v2/result_pb2.py similarity index 100% rename from lbrynet/schema/types/v2/result_pb2.py rename to lbry/lbrynet/schema/types/v2/result_pb2.py diff --git a/lbrynet/schema/url.py b/lbry/lbrynet/schema/url.py similarity index 100% rename from lbrynet/schema/url.py rename to lbry/lbrynet/schema/url.py diff --git a/lbrynet/stream/__init__.py b/lbry/lbrynet/stream/__init__.py similarity index 100% rename from lbrynet/stream/__init__.py rename to lbry/lbrynet/stream/__init__.py diff --git a/lbrynet/stream/descriptor.py b/lbry/lbrynet/stream/descriptor.py similarity index 100% rename from lbrynet/stream/descriptor.py rename to lbry/lbrynet/stream/descriptor.py diff --git a/lbrynet/stream/downloader.py b/lbry/lbrynet/stream/downloader.py similarity index 100% rename from lbrynet/stream/downloader.py rename to lbry/lbrynet/stream/downloader.py diff --git a/lbrynet/stream/managed_stream.py b/lbry/lbrynet/stream/managed_stream.py similarity index 100% rename from lbrynet/stream/managed_stream.py rename to lbry/lbrynet/stream/managed_stream.py diff --git a/lbrynet/stream/reflector/__init__.py b/lbry/lbrynet/stream/reflector/__init__.py similarity index 100% rename from lbrynet/stream/reflector/__init__.py rename to lbry/lbrynet/stream/reflector/__init__.py diff --git a/lbrynet/stream/reflector/client.py b/lbry/lbrynet/stream/reflector/client.py similarity index 100% rename from lbrynet/stream/reflector/client.py rename to lbry/lbrynet/stream/reflector/client.py diff --git a/lbrynet/stream/reflector/server.py b/lbry/lbrynet/stream/reflector/server.py similarity index 100% rename from lbrynet/stream/reflector/server.py rename to lbry/lbrynet/stream/reflector/server.py diff --git a/lbrynet/stream/stream_manager.py b/lbry/lbrynet/stream/stream_manager.py similarity index 100% rename from lbrynet/stream/stream_manager.py rename to lbry/lbrynet/stream/stream_manager.py diff --git a/lbrynet/testcase.py b/lbry/lbrynet/testcase.py similarity index 100% rename from lbrynet/testcase.py rename to lbry/lbrynet/testcase.py diff --git a/lbrynet/utils.py b/lbry/lbrynet/utils.py similarity index 100% rename from lbrynet/utils.py rename to lbry/lbrynet/utils.py diff --git a/lbrynet/wallet/__init__.py b/lbry/lbrynet/wallet/__init__.py similarity index 100% rename from lbrynet/wallet/__init__.py rename to lbry/lbrynet/wallet/__init__.py diff --git a/lbrynet/wallet/account.py b/lbry/lbrynet/wallet/account.py similarity index 100% rename from lbrynet/wallet/account.py rename to lbry/lbrynet/wallet/account.py diff --git a/lbrynet/wallet/claim_proofs.py b/lbry/lbrynet/wallet/claim_proofs.py similarity index 100% rename from lbrynet/wallet/claim_proofs.py rename to lbry/lbrynet/wallet/claim_proofs.py diff --git a/lbrynet/wallet/database.py b/lbry/lbrynet/wallet/database.py similarity index 100% rename from lbrynet/wallet/database.py rename to lbry/lbrynet/wallet/database.py diff --git a/lbrynet/wallet/dewies.py b/lbry/lbrynet/wallet/dewies.py similarity index 100% rename from lbrynet/wallet/dewies.py rename to lbry/lbrynet/wallet/dewies.py diff --git a/lbrynet/wallet/header.py b/lbry/lbrynet/wallet/header.py similarity index 100% rename from lbrynet/wallet/header.py rename to lbry/lbrynet/wallet/header.py diff --git a/lbrynet/wallet/ledger.py b/lbry/lbrynet/wallet/ledger.py similarity index 100% rename from lbrynet/wallet/ledger.py rename to lbry/lbrynet/wallet/ledger.py diff --git a/lbrynet/wallet/manager.py b/lbry/lbrynet/wallet/manager.py similarity index 100% rename from lbrynet/wallet/manager.py rename to lbry/lbrynet/wallet/manager.py diff --git a/lbrynet/wallet/network.py b/lbry/lbrynet/wallet/network.py similarity index 100% rename from lbrynet/wallet/network.py rename to lbry/lbrynet/wallet/network.py diff --git a/lbrynet/wallet/resolve.py b/lbry/lbrynet/wallet/resolve.py similarity index 100% rename from lbrynet/wallet/resolve.py rename to lbry/lbrynet/wallet/resolve.py diff --git a/lbrynet/wallet/script.py b/lbry/lbrynet/wallet/script.py similarity index 100% rename from lbrynet/wallet/script.py rename to lbry/lbrynet/wallet/script.py diff --git a/lbrynet/wallet/server/__init__.py b/lbry/lbrynet/wallet/server/__init__.py similarity index 100% rename from lbrynet/wallet/server/__init__.py rename to lbry/lbrynet/wallet/server/__init__.py diff --git a/lbrynet/wallet/server/block_processor.py b/lbry/lbrynet/wallet/server/block_processor.py similarity index 100% rename from lbrynet/wallet/server/block_processor.py rename to lbry/lbrynet/wallet/server/block_processor.py diff --git a/lbrynet/wallet/server/canonical.py b/lbry/lbrynet/wallet/server/canonical.py similarity index 100% rename from lbrynet/wallet/server/canonical.py rename to lbry/lbrynet/wallet/server/canonical.py diff --git a/lbrynet/wallet/server/coin.py b/lbry/lbrynet/wallet/server/coin.py similarity index 100% rename from lbrynet/wallet/server/coin.py rename to lbry/lbrynet/wallet/server/coin.py diff --git a/lbrynet/wallet/server/daemon.py b/lbry/lbrynet/wallet/server/daemon.py similarity index 100% rename from lbrynet/wallet/server/daemon.py rename to lbry/lbrynet/wallet/server/daemon.py diff --git a/lbrynet/wallet/server/db.py b/lbry/lbrynet/wallet/server/db.py similarity index 100% rename from lbrynet/wallet/server/db.py rename to lbry/lbrynet/wallet/server/db.py diff --git a/lbrynet/wallet/server/session.py b/lbry/lbrynet/wallet/server/session.py similarity index 100% rename from lbrynet/wallet/server/session.py rename to lbry/lbrynet/wallet/server/session.py diff --git a/lbrynet/wallet/server/trending.py b/lbry/lbrynet/wallet/server/trending.py similarity index 100% rename from lbrynet/wallet/server/trending.py rename to lbry/lbrynet/wallet/server/trending.py diff --git a/lbrynet/wallet/transaction.py b/lbry/lbrynet/wallet/transaction.py similarity index 100% rename from lbrynet/wallet/transaction.py rename to lbry/lbrynet/wallet/transaction.py diff --git a/lbrynet/winpaths.py b/lbry/lbrynet/winpaths.py similarity index 100% rename from lbrynet/winpaths.py rename to lbry/lbrynet/winpaths.py diff --git a/mkdocs.yml b/lbry/mkdocs.yml similarity index 100% rename from mkdocs.yml rename to lbry/mkdocs.yml diff --git a/setup.py b/lbry/setup.py similarity index 100% rename from setup.py rename to lbry/setup.py diff --git a/tests/__init__.py b/lbry/tests/__init__.py similarity index 100% rename from tests/__init__.py rename to lbry/tests/__init__.py diff --git a/tests/dht_mocks.py b/lbry/tests/dht_mocks.py similarity index 100% rename from tests/dht_mocks.py rename to lbry/tests/dht_mocks.py diff --git a/tests/integration/__init__.py b/lbry/tests/integration/__init__.py similarity index 100% rename from tests/integration/__init__.py rename to lbry/tests/integration/__init__.py diff --git a/tests/integration/test_account_commands.py b/lbry/tests/integration/test_account_commands.py similarity index 100% rename from tests/integration/test_account_commands.py rename to lbry/tests/integration/test_account_commands.py diff --git a/tests/integration/test_chris45.py b/lbry/tests/integration/test_chris45.py similarity index 100% rename from tests/integration/test_chris45.py rename to lbry/tests/integration/test_chris45.py diff --git a/tests/integration/test_claim_commands.py b/lbry/tests/integration/test_claim_commands.py similarity index 100% rename from tests/integration/test_claim_commands.py rename to lbry/tests/integration/test_claim_commands.py diff --git a/tests/integration/test_cli.py b/lbry/tests/integration/test_cli.py similarity index 100% rename from tests/integration/test_cli.py rename to lbry/tests/integration/test_cli.py diff --git a/tests/integration/test_comment_commands.py b/lbry/tests/integration/test_comment_commands.py similarity index 100% rename from tests/integration/test_comment_commands.py rename to lbry/tests/integration/test_comment_commands.py diff --git a/tests/integration/test_dht.py b/lbry/tests/integration/test_dht.py similarity index 100% rename from tests/integration/test_dht.py rename to lbry/tests/integration/test_dht.py diff --git a/tests/integration/test_file_commands.py b/lbry/tests/integration/test_file_commands.py similarity index 100% rename from tests/integration/test_file_commands.py rename to lbry/tests/integration/test_file_commands.py diff --git a/tests/integration/test_internal_transaction_api.py b/lbry/tests/integration/test_internal_transaction_api.py similarity index 100% rename from tests/integration/test_internal_transaction_api.py rename to lbry/tests/integration/test_internal_transaction_api.py diff --git a/tests/integration/test_resolve_command.py b/lbry/tests/integration/test_resolve_command.py similarity index 100% rename from tests/integration/test_resolve_command.py rename to lbry/tests/integration/test_resolve_command.py diff --git a/tests/integration/test_streaming.py b/lbry/tests/integration/test_streaming.py similarity index 100% rename from tests/integration/test_streaming.py rename to lbry/tests/integration/test_streaming.py diff --git a/tests/integration/test_sync.py b/lbry/tests/integration/test_sync.py similarity index 100% rename from tests/integration/test_sync.py rename to lbry/tests/integration/test_sync.py diff --git a/tests/integration/test_transaction_commands.py b/lbry/tests/integration/test_transaction_commands.py similarity index 100% rename from tests/integration/test_transaction_commands.py rename to lbry/tests/integration/test_transaction_commands.py diff --git a/tests/test_utils.py b/lbry/tests/test_utils.py similarity index 100% rename from tests/test_utils.py rename to lbry/tests/test_utils.py diff --git a/tests/unit/__init__.py b/lbry/tests/unit/__init__.py similarity index 100% rename from tests/unit/__init__.py rename to lbry/tests/unit/__init__.py diff --git a/tests/unit/analytics/__init__.py b/lbry/tests/unit/analytics/__init__.py similarity index 100% rename from tests/unit/analytics/__init__.py rename to lbry/tests/unit/analytics/__init__.py diff --git a/tests/unit/analytics/test_track.py b/lbry/tests/unit/analytics/test_track.py similarity index 100% rename from tests/unit/analytics/test_track.py rename to lbry/tests/unit/analytics/test_track.py diff --git a/tests/unit/blob/__init__.py b/lbry/tests/unit/blob/__init__.py similarity index 100% rename from tests/unit/blob/__init__.py rename to lbry/tests/unit/blob/__init__.py diff --git a/tests/unit/blob/test_blob_file.py b/lbry/tests/unit/blob/test_blob_file.py similarity index 100% rename from tests/unit/blob/test_blob_file.py rename to lbry/tests/unit/blob/test_blob_file.py diff --git a/tests/unit/blob/test_blob_manager.py b/lbry/tests/unit/blob/test_blob_manager.py similarity index 100% rename from tests/unit/blob/test_blob_manager.py rename to lbry/tests/unit/blob/test_blob_manager.py diff --git a/tests/unit/blob_exchange/__init__.py b/lbry/tests/unit/blob_exchange/__init__.py similarity index 100% rename from tests/unit/blob_exchange/__init__.py rename to lbry/tests/unit/blob_exchange/__init__.py diff --git a/tests/unit/blob_exchange/test_transfer_blob.py b/lbry/tests/unit/blob_exchange/test_transfer_blob.py similarity index 100% rename from tests/unit/blob_exchange/test_transfer_blob.py rename to lbry/tests/unit/blob_exchange/test_transfer_blob.py diff --git a/tests/unit/comments/__init__.py b/lbry/tests/unit/comments/__init__.py similarity index 100% rename from tests/unit/comments/__init__.py rename to lbry/tests/unit/comments/__init__.py diff --git a/tests/unit/comments/test_comment_signing.py b/lbry/tests/unit/comments/test_comment_signing.py similarity index 100% rename from tests/unit/comments/test_comment_signing.py rename to lbry/tests/unit/comments/test_comment_signing.py diff --git a/tests/unit/components/__init__.py b/lbry/tests/unit/components/__init__.py similarity index 100% rename from tests/unit/components/__init__.py rename to lbry/tests/unit/components/__init__.py diff --git a/tests/unit/components/test_component_manager.py b/lbry/tests/unit/components/test_component_manager.py similarity index 100% rename from tests/unit/components/test_component_manager.py rename to lbry/tests/unit/components/test_component_manager.py diff --git a/tests/unit/core/__init__.py b/lbry/tests/unit/core/__init__.py similarity index 100% rename from tests/unit/core/__init__.py rename to lbry/tests/unit/core/__init__.py diff --git a/tests/unit/core/test_utils.py b/lbry/tests/unit/core/test_utils.py similarity index 100% rename from tests/unit/core/test_utils.py rename to lbry/tests/unit/core/test_utils.py diff --git a/tests/unit/database/__init__.py b/lbry/tests/unit/database/__init__.py similarity index 100% rename from tests/unit/database/__init__.py rename to lbry/tests/unit/database/__init__.py diff --git a/tests/unit/database/test_SQLiteStorage.py b/lbry/tests/unit/database/test_SQLiteStorage.py similarity index 100% rename from tests/unit/database/test_SQLiteStorage.py rename to lbry/tests/unit/database/test_SQLiteStorage.py diff --git a/tests/unit/dht/__init__.py b/lbry/tests/unit/dht/__init__.py similarity index 100% rename from tests/unit/dht/__init__.py rename to lbry/tests/unit/dht/__init__.py diff --git a/tests/unit/dht/protocol/__init__.py b/lbry/tests/unit/dht/protocol/__init__.py similarity index 100% rename from tests/unit/dht/protocol/__init__.py rename to lbry/tests/unit/dht/protocol/__init__.py diff --git a/tests/unit/dht/protocol/test_data_store.py b/lbry/tests/unit/dht/protocol/test_data_store.py similarity index 100% rename from tests/unit/dht/protocol/test_data_store.py rename to lbry/tests/unit/dht/protocol/test_data_store.py diff --git a/tests/unit/dht/protocol/test_distance.py b/lbry/tests/unit/dht/protocol/test_distance.py similarity index 100% rename from tests/unit/dht/protocol/test_distance.py rename to lbry/tests/unit/dht/protocol/test_distance.py diff --git a/tests/unit/dht/protocol/test_kbucket.py b/lbry/tests/unit/dht/protocol/test_kbucket.py similarity index 100% rename from tests/unit/dht/protocol/test_kbucket.py rename to lbry/tests/unit/dht/protocol/test_kbucket.py diff --git a/tests/unit/dht/protocol/test_protocol.py b/lbry/tests/unit/dht/protocol/test_protocol.py similarity index 100% rename from tests/unit/dht/protocol/test_protocol.py rename to lbry/tests/unit/dht/protocol/test_protocol.py diff --git a/tests/unit/dht/protocol/test_routing_table.py b/lbry/tests/unit/dht/protocol/test_routing_table.py similarity index 100% rename from tests/unit/dht/protocol/test_routing_table.py rename to lbry/tests/unit/dht/protocol/test_routing_table.py diff --git a/tests/unit/dht/serialization/__init__.py b/lbry/tests/unit/dht/serialization/__init__.py similarity index 100% rename from tests/unit/dht/serialization/__init__.py rename to lbry/tests/unit/dht/serialization/__init__.py diff --git a/tests/unit/dht/serialization/test_bencoding.py b/lbry/tests/unit/dht/serialization/test_bencoding.py similarity index 100% rename from tests/unit/dht/serialization/test_bencoding.py rename to lbry/tests/unit/dht/serialization/test_bencoding.py diff --git a/tests/unit/dht/serialization/test_datagram.py b/lbry/tests/unit/dht/serialization/test_datagram.py similarity index 100% rename from tests/unit/dht/serialization/test_datagram.py rename to lbry/tests/unit/dht/serialization/test_datagram.py diff --git a/tests/unit/dht/test_blob_announcer.py b/lbry/tests/unit/dht/test_blob_announcer.py similarity index 100% rename from tests/unit/dht/test_blob_announcer.py rename to lbry/tests/unit/dht/test_blob_announcer.py diff --git a/tests/unit/dht/test_node.py b/lbry/tests/unit/dht/test_node.py similarity index 100% rename from tests/unit/dht/test_node.py rename to lbry/tests/unit/dht/test_node.py diff --git a/tests/unit/dht/test_peer.py b/lbry/tests/unit/dht/test_peer.py similarity index 100% rename from tests/unit/dht/test_peer.py rename to lbry/tests/unit/dht/test_peer.py diff --git a/tests/unit/lbrynet_daemon/__init__.py b/lbry/tests/unit/lbrynet_daemon/__init__.py similarity index 100% rename from tests/unit/lbrynet_daemon/__init__.py rename to lbry/tests/unit/lbrynet_daemon/__init__.py diff --git a/tests/unit/lbrynet_daemon/test_Daemon.py b/lbry/tests/unit/lbrynet_daemon/test_Daemon.py similarity index 100% rename from tests/unit/lbrynet_daemon/test_Daemon.py rename to lbry/tests/unit/lbrynet_daemon/test_Daemon.py diff --git a/tests/unit/lbrynet_daemon/test_ExchangeRateManager.py b/lbry/tests/unit/lbrynet_daemon/test_ExchangeRateManager.py similarity index 100% rename from tests/unit/lbrynet_daemon/test_ExchangeRateManager.py rename to lbry/tests/unit/lbrynet_daemon/test_ExchangeRateManager.py diff --git a/tests/unit/lbrynet_daemon/test_claims_comparator.py b/lbry/tests/unit/lbrynet_daemon/test_claims_comparator.py similarity index 100% rename from tests/unit/lbrynet_daemon/test_claims_comparator.py rename to lbry/tests/unit/lbrynet_daemon/test_claims_comparator.py diff --git a/tests/unit/lbrynet_daemon/test_mime_types.py b/lbry/tests/unit/lbrynet_daemon/test_mime_types.py similarity index 100% rename from tests/unit/lbrynet_daemon/test_mime_types.py rename to lbry/tests/unit/lbrynet_daemon/test_mime_types.py diff --git a/tests/unit/schema/__init__.py b/lbry/tests/unit/schema/__init__.py similarity index 100% rename from tests/unit/schema/__init__.py rename to lbry/tests/unit/schema/__init__.py diff --git a/tests/unit/schema/test_claim_from_bytes.py b/lbry/tests/unit/schema/test_claim_from_bytes.py similarity index 100% rename from tests/unit/schema/test_claim_from_bytes.py rename to lbry/tests/unit/schema/test_claim_from_bytes.py diff --git a/tests/unit/schema/test_models.py b/lbry/tests/unit/schema/test_models.py similarity index 100% rename from tests/unit/schema/test_models.py rename to lbry/tests/unit/schema/test_models.py diff --git a/tests/unit/schema/test_url.py b/lbry/tests/unit/schema/test_url.py similarity index 100% rename from tests/unit/schema/test_url.py rename to lbry/tests/unit/schema/test_url.py diff --git a/tests/unit/stream/__init__.py b/lbry/tests/unit/stream/__init__.py similarity index 100% rename from tests/unit/stream/__init__.py rename to lbry/tests/unit/stream/__init__.py diff --git a/tests/unit/stream/test_managed_stream.py b/lbry/tests/unit/stream/test_managed_stream.py similarity index 100% rename from tests/unit/stream/test_managed_stream.py rename to lbry/tests/unit/stream/test_managed_stream.py diff --git a/tests/unit/stream/test_reflector.py b/lbry/tests/unit/stream/test_reflector.py similarity index 100% rename from tests/unit/stream/test_reflector.py rename to lbry/tests/unit/stream/test_reflector.py diff --git a/tests/unit/stream/test_stream_descriptor.py b/lbry/tests/unit/stream/test_stream_descriptor.py similarity index 100% rename from tests/unit/stream/test_stream_descriptor.py rename to lbry/tests/unit/stream/test_stream_descriptor.py diff --git a/tests/unit/stream/test_stream_manager.py b/lbry/tests/unit/stream/test_stream_manager.py similarity index 100% rename from tests/unit/stream/test_stream_manager.py rename to lbry/tests/unit/stream/test_stream_manager.py diff --git a/tests/unit/test_cli.py b/lbry/tests/unit/test_cli.py similarity index 100% rename from tests/unit/test_cli.py rename to lbry/tests/unit/test_cli.py diff --git a/tests/unit/test_conf.py b/lbry/tests/unit/test_conf.py similarity index 100% rename from tests/unit/test_conf.py rename to lbry/tests/unit/test_conf.py diff --git a/tests/unit/wallet/__init__.py b/lbry/tests/unit/wallet/__init__.py similarity index 100% rename from tests/unit/wallet/__init__.py rename to lbry/tests/unit/wallet/__init__.py diff --git a/tests/unit/wallet/server/__init__.py b/lbry/tests/unit/wallet/server/__init__.py similarity index 100% rename from tests/unit/wallet/server/__init__.py rename to lbry/tests/unit/wallet/server/__init__.py diff --git a/tests/unit/wallet/server/test_sqldb.py b/lbry/tests/unit/wallet/server/test_sqldb.py similarity index 100% rename from tests/unit/wallet/server/test_sqldb.py rename to lbry/tests/unit/wallet/server/test_sqldb.py diff --git a/tests/unit/wallet/test_account.py b/lbry/tests/unit/wallet/test_account.py similarity index 100% rename from tests/unit/wallet/test_account.py rename to lbry/tests/unit/wallet/test_account.py diff --git a/tests/unit/wallet/test_claim_proofs.py b/lbry/tests/unit/wallet/test_claim_proofs.py similarity index 100% rename from tests/unit/wallet/test_claim_proofs.py rename to lbry/tests/unit/wallet/test_claim_proofs.py diff --git a/tests/unit/wallet/test_dewies.py b/lbry/tests/unit/wallet/test_dewies.py similarity index 100% rename from tests/unit/wallet/test_dewies.py rename to lbry/tests/unit/wallet/test_dewies.py diff --git a/tests/unit/wallet/test_headers.py b/lbry/tests/unit/wallet/test_headers.py similarity index 100% rename from tests/unit/wallet/test_headers.py rename to lbry/tests/unit/wallet/test_headers.py diff --git a/tests/unit/wallet/test_ledger.py b/lbry/tests/unit/wallet/test_ledger.py similarity index 100% rename from tests/unit/wallet/test_ledger.py rename to lbry/tests/unit/wallet/test_ledger.py diff --git a/tests/unit/wallet/test_schema_signing.py b/lbry/tests/unit/wallet/test_schema_signing.py similarity index 100% rename from tests/unit/wallet/test_schema_signing.py rename to lbry/tests/unit/wallet/test_schema_signing.py diff --git a/tests/unit/wallet/test_script.py b/lbry/tests/unit/wallet/test_script.py similarity index 100% rename from tests/unit/wallet/test_script.py rename to lbry/tests/unit/wallet/test_script.py diff --git a/tests/unit/wallet/test_transaction.py b/lbry/tests/unit/wallet/test_transaction.py similarity index 100% rename from tests/unit/wallet/test_transaction.py rename to lbry/tests/unit/wallet/test_transaction.py diff --git a/tox.ini b/lbry/tox.ini similarity index 100% rename from tox.ini rename to lbry/tox.ini