diff --git a/lbry/MANIFEST.in b/MANIFEST.in similarity index 100% rename from lbry/MANIFEST.in rename to MANIFEST.in diff --git a/lbry/docs/api.json b/docs/api.json similarity index 100% rename from lbry/docs/api.json rename to docs/api.json diff --git a/lbry/example_daemon_settings.yml b/example_daemon_settings.yml similarity index 100% rename from lbry/example_daemon_settings.yml rename to example_daemon_settings.yml diff --git a/lbry/icons/128x128.png b/icons/128x128.png similarity index 100% rename from lbry/icons/128x128.png rename to icons/128x128.png diff --git a/lbry/icons/256x256.png b/icons/256x256.png similarity index 100% rename from lbry/icons/256x256.png rename to icons/256x256.png diff --git a/lbry/icons/32x32.png b/icons/32x32.png similarity index 100% rename from lbry/icons/32x32.png rename to icons/32x32.png diff --git a/lbry/icons/48x48.png b/icons/48x48.png similarity index 100% rename from lbry/icons/48x48.png rename to icons/48x48.png diff --git a/lbry/icons/96x96.png b/icons/96x96.png similarity index 100% rename from lbry/icons/96x96.png rename to icons/96x96.png diff --git a/lbry/icons/lbry128.ico b/icons/lbry128.ico similarity index 100% rename from lbry/icons/lbry128.ico rename to icons/lbry128.ico diff --git a/lbry/icons/lbry16.ico b/icons/lbry16.ico similarity index 100% rename from lbry/icons/lbry16.ico rename to icons/lbry16.ico diff --git a/lbry/icons/lbry256.ico b/icons/lbry256.ico similarity index 100% rename from lbry/icons/lbry256.ico rename to icons/lbry256.ico diff --git a/lbry/icons/lbry32.ico b/icons/lbry32.ico similarity index 100% rename from lbry/icons/lbry32.ico rename to icons/lbry32.ico diff --git a/lbry/icons/lbry48.ico b/icons/lbry48.ico similarity index 100% rename from lbry/icons/lbry48.ico rename to icons/lbry48.ico diff --git a/lbry/icons/lbry96.ico b/icons/lbry96.ico similarity index 100% rename from lbry/icons/lbry96.ico rename to icons/lbry96.ico diff --git a/lbry/lbry.png b/lbry.png similarity index 100% rename from lbry/lbry.png rename to lbry.png diff --git a/lbry/README.md b/lbry/README.md deleted file mode 100644 index 22502b82a..000000000 --- a/lbry/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# LBRY LBRY SDK [![Build Status](https://travis-ci.org/lbryio/lbry-sdk.svg?branch=master)](https://travis-ci.org/lbryio/lbry-sdk) - -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 ([lbry.dht](https://github.com/lbryio/lbry-sdk/tree/master/lbry/lbry/dht)). - * Blob exchange protocol for transferring encrypted blobs of content and negotiating payments ([lbry.blob_exchange](https://github.com/lbryio/lbry-sdk/tree/master/lbry/lbry/blob_exchange)). - * Protobuf schema for encoding and decoding metadata stored on the blockchain ([lbry.schema](https://github.com/lbryio/lbry-sdk/tree/master/lbry/lbry/schema)). - * Wallet implementation for the LBRY blockchain ([lbry.wallet](https://github.com/lbryio/lbry-sdk/tree/master/lbry/lbry/wallet)). - * Daemon with a JSON-RPC API to ease building end user applications in any language and for automating various tasks ([lbry.extras.daemon](https://github.com/lbryio/lbry-sdk/tree/master/lbry/lbry/extras/daemon)). - -## Installation - -Our [releases page](https://github.com/lbryio/lbry-sdk/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-sdk/blob/master/lbry/example_daemon_settings.yml). diff --git a/lbry/lbry/__init__.py b/lbry/__init__.py similarity index 100% rename from lbry/lbry/__init__.py rename to lbry/__init__.py diff --git a/lbry/lbry/blob/__init__.py b/lbry/blob/__init__.py similarity index 100% rename from lbry/lbry/blob/__init__.py rename to lbry/blob/__init__.py diff --git a/lbry/lbry/blob/blob_file.py b/lbry/blob/blob_file.py similarity index 100% rename from lbry/lbry/blob/blob_file.py rename to lbry/blob/blob_file.py diff --git a/lbry/lbry/blob/blob_info.py b/lbry/blob/blob_info.py similarity index 100% rename from lbry/lbry/blob/blob_info.py rename to lbry/blob/blob_info.py diff --git a/lbry/lbry/blob/blob_manager.py b/lbry/blob/blob_manager.py similarity index 100% rename from lbry/lbry/blob/blob_manager.py rename to lbry/blob/blob_manager.py diff --git a/lbry/lbry/blob/writer.py b/lbry/blob/writer.py similarity index 100% rename from lbry/lbry/blob/writer.py rename to lbry/blob/writer.py diff --git a/lbry/lbry/blob_exchange/__init__.py b/lbry/blob_exchange/__init__.py similarity index 100% rename from lbry/lbry/blob_exchange/__init__.py rename to lbry/blob_exchange/__init__.py diff --git a/lbry/lbry/blob_exchange/client.py b/lbry/blob_exchange/client.py similarity index 100% rename from lbry/lbry/blob_exchange/client.py rename to lbry/blob_exchange/client.py diff --git a/lbry/lbry/blob_exchange/downloader.py b/lbry/blob_exchange/downloader.py similarity index 100% rename from lbry/lbry/blob_exchange/downloader.py rename to lbry/blob_exchange/downloader.py diff --git a/lbry/lbry/blob_exchange/serialization.py b/lbry/blob_exchange/serialization.py similarity index 100% rename from lbry/lbry/blob_exchange/serialization.py rename to lbry/blob_exchange/serialization.py diff --git a/lbry/lbry/blob_exchange/server.py b/lbry/blob_exchange/server.py similarity index 100% rename from lbry/lbry/blob_exchange/server.py rename to lbry/blob_exchange/server.py diff --git a/lbry/lbry/build_type.py b/lbry/build_type.py similarity index 100% rename from lbry/lbry/build_type.py rename to lbry/build_type.py diff --git a/lbry/lbry/conf.py b/lbry/conf.py similarity index 100% rename from lbry/lbry/conf.py rename to lbry/conf.py diff --git a/lbry/lbry/connection_manager.py b/lbry/connection_manager.py similarity index 100% rename from lbry/lbry/connection_manager.py rename to lbry/connection_manager.py diff --git a/lbry/lbry/constants.py b/lbry/constants.py similarity index 100% rename from lbry/lbry/constants.py rename to lbry/constants.py diff --git a/lbry/lbry/crypto/__init__.py b/lbry/crypto/__init__.py similarity index 100% rename from lbry/lbry/crypto/__init__.py rename to lbry/crypto/__init__.py diff --git a/lbry/lbry/crypto/base58.py b/lbry/crypto/base58.py similarity index 100% rename from lbry/lbry/crypto/base58.py rename to lbry/crypto/base58.py diff --git a/lbry/lbry/crypto/crypt.py b/lbry/crypto/crypt.py similarity index 100% rename from lbry/lbry/crypto/crypt.py rename to lbry/crypto/crypt.py diff --git a/lbry/lbry/crypto/hash.py b/lbry/crypto/hash.py similarity index 100% rename from lbry/lbry/crypto/hash.py rename to lbry/crypto/hash.py diff --git a/lbry/lbry/crypto/util.py b/lbry/crypto/util.py similarity index 100% rename from lbry/lbry/crypto/util.py rename to lbry/crypto/util.py diff --git a/lbry/lbry/cryptoutils.py b/lbry/cryptoutils.py similarity index 100% rename from lbry/lbry/cryptoutils.py rename to lbry/cryptoutils.py diff --git a/lbry/lbry/dht/__init__.py b/lbry/dht/__init__.py similarity index 100% rename from lbry/lbry/dht/__init__.py rename to lbry/dht/__init__.py diff --git a/lbry/lbry/dht/blob_announcer.py b/lbry/dht/blob_announcer.py similarity index 100% rename from lbry/lbry/dht/blob_announcer.py rename to lbry/dht/blob_announcer.py diff --git a/lbry/lbry/dht/constants.py b/lbry/dht/constants.py similarity index 100% rename from lbry/lbry/dht/constants.py rename to lbry/dht/constants.py diff --git a/lbry/lbry/dht/error.py b/lbry/dht/error.py similarity index 100% rename from lbry/lbry/dht/error.py rename to lbry/dht/error.py diff --git a/lbry/lbry/dht/node.py b/lbry/dht/node.py similarity index 100% rename from lbry/lbry/dht/node.py rename to lbry/dht/node.py diff --git a/lbry/lbry/dht/peer.py b/lbry/dht/peer.py similarity index 100% rename from lbry/lbry/dht/peer.py rename to lbry/dht/peer.py diff --git a/lbry/lbry/dht/protocol/__init__.py b/lbry/dht/protocol/__init__.py similarity index 100% rename from lbry/lbry/dht/protocol/__init__.py rename to lbry/dht/protocol/__init__.py diff --git a/lbry/lbry/dht/protocol/data_store.py b/lbry/dht/protocol/data_store.py similarity index 100% rename from lbry/lbry/dht/protocol/data_store.py rename to lbry/dht/protocol/data_store.py diff --git a/lbry/lbry/dht/protocol/distance.py b/lbry/dht/protocol/distance.py similarity index 100% rename from lbry/lbry/dht/protocol/distance.py rename to lbry/dht/protocol/distance.py diff --git a/lbry/lbry/dht/protocol/iterative_find.py b/lbry/dht/protocol/iterative_find.py similarity index 100% rename from lbry/lbry/dht/protocol/iterative_find.py rename to lbry/dht/protocol/iterative_find.py diff --git a/lbry/lbry/dht/protocol/protocol.py b/lbry/dht/protocol/protocol.py similarity index 100% rename from lbry/lbry/dht/protocol/protocol.py rename to lbry/dht/protocol/protocol.py diff --git a/lbry/lbry/dht/protocol/routing_table.py b/lbry/dht/protocol/routing_table.py similarity index 100% rename from lbry/lbry/dht/protocol/routing_table.py rename to lbry/dht/protocol/routing_table.py diff --git a/lbry/lbry/dht/serialization/__init__.py b/lbry/dht/serialization/__init__.py similarity index 100% rename from lbry/lbry/dht/serialization/__init__.py rename to lbry/dht/serialization/__init__.py diff --git a/lbry/lbry/dht/serialization/bencoding.py b/lbry/dht/serialization/bencoding.py similarity index 100% rename from lbry/lbry/dht/serialization/bencoding.py rename to lbry/dht/serialization/bencoding.py diff --git a/lbry/lbry/dht/serialization/datagram.py b/lbry/dht/serialization/datagram.py similarity index 100% rename from lbry/lbry/dht/serialization/datagram.py rename to lbry/dht/serialization/datagram.py diff --git a/lbry/lbry/error/Makefile b/lbry/error/Makefile similarity index 100% rename from lbry/lbry/error/Makefile rename to lbry/error/Makefile diff --git a/lbry/lbry/error/README.md b/lbry/error/README.md similarity index 100% rename from lbry/lbry/error/README.md rename to lbry/error/README.md diff --git a/lbry/lbry/error/__init__.py b/lbry/error/__init__.py similarity index 100% rename from lbry/lbry/error/__init__.py rename to lbry/error/__init__.py diff --git a/lbry/lbry/error/base.py b/lbry/error/base.py similarity index 100% rename from lbry/lbry/error/base.py rename to lbry/error/base.py diff --git a/lbry/lbry/error/generate.py b/lbry/error/generate.py similarity index 100% rename from lbry/lbry/error/generate.py rename to lbry/error/generate.py diff --git a/lbry/lbry/extras/__init__.py b/lbry/extras/__init__.py similarity index 100% rename from lbry/lbry/extras/__init__.py rename to lbry/extras/__init__.py diff --git a/lbry/lbry/extras/cli.py b/lbry/extras/cli.py similarity index 100% rename from lbry/lbry/extras/cli.py rename to lbry/extras/cli.py diff --git a/lbry/lbry/extras/daemon/Component.py b/lbry/extras/daemon/Component.py similarity index 100% rename from lbry/lbry/extras/daemon/Component.py rename to lbry/extras/daemon/Component.py diff --git a/lbry/lbry/extras/daemon/ComponentManager.py b/lbry/extras/daemon/ComponentManager.py similarity index 100% rename from lbry/lbry/extras/daemon/ComponentManager.py rename to lbry/extras/daemon/ComponentManager.py diff --git a/lbry/lbry/extras/daemon/Components.py b/lbry/extras/daemon/Components.py similarity index 100% rename from lbry/lbry/extras/daemon/Components.py rename to lbry/extras/daemon/Components.py diff --git a/lbry/lbry/extras/daemon/Daemon.py b/lbry/extras/daemon/Daemon.py similarity index 100% rename from lbry/lbry/extras/daemon/Daemon.py rename to lbry/extras/daemon/Daemon.py diff --git a/lbry/lbry/extras/daemon/__init__.py b/lbry/extras/daemon/__init__.py similarity index 100% rename from lbry/lbry/extras/daemon/__init__.py rename to lbry/extras/daemon/__init__.py diff --git a/lbry/lbry/extras/daemon/analytics.py b/lbry/extras/daemon/analytics.py similarity index 100% rename from lbry/lbry/extras/daemon/analytics.py rename to lbry/extras/daemon/analytics.py diff --git a/lbry/lbry/extras/daemon/client.py b/lbry/extras/daemon/client.py similarity index 100% rename from lbry/lbry/extras/daemon/client.py rename to lbry/extras/daemon/client.py diff --git a/lbry/lbry/extras/daemon/comment_client.py b/lbry/extras/daemon/comment_client.py similarity index 100% rename from lbry/lbry/extras/daemon/comment_client.py rename to lbry/extras/daemon/comment_client.py diff --git a/lbry/lbry/extras/daemon/exchange_rate_manager.py b/lbry/extras/daemon/exchange_rate_manager.py similarity index 100% rename from lbry/lbry/extras/daemon/exchange_rate_manager.py rename to lbry/extras/daemon/exchange_rate_manager.py diff --git a/lbry/lbry/extras/daemon/json_response_encoder.py b/lbry/extras/daemon/json_response_encoder.py similarity index 100% rename from lbry/lbry/extras/daemon/json_response_encoder.py rename to lbry/extras/daemon/json_response_encoder.py diff --git a/lbry/lbry/extras/daemon/loggly_handler.py b/lbry/extras/daemon/loggly_handler.py similarity index 100% rename from lbry/lbry/extras/daemon/loggly_handler.py rename to lbry/extras/daemon/loggly_handler.py diff --git a/lbry/lbry/extras/daemon/migrator/__init__.py b/lbry/extras/daemon/migrator/__init__.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/__init__.py rename to lbry/extras/daemon/migrator/__init__.py diff --git a/lbry/lbry/extras/daemon/migrator/dbmigrator.py b/lbry/extras/daemon/migrator/dbmigrator.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/dbmigrator.py rename to lbry/extras/daemon/migrator/dbmigrator.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate10to11.py b/lbry/extras/daemon/migrator/migrate10to11.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate10to11.py rename to lbry/extras/daemon/migrator/migrate10to11.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate11to12.py b/lbry/extras/daemon/migrator/migrate11to12.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate11to12.py rename to lbry/extras/daemon/migrator/migrate11to12.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate12to13.py b/lbry/extras/daemon/migrator/migrate12to13.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate12to13.py rename to lbry/extras/daemon/migrator/migrate12to13.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate13to14.py b/lbry/extras/daemon/migrator/migrate13to14.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate13to14.py rename to lbry/extras/daemon/migrator/migrate13to14.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate1to2.py b/lbry/extras/daemon/migrator/migrate1to2.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate1to2.py rename to lbry/extras/daemon/migrator/migrate1to2.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate2to3.py b/lbry/extras/daemon/migrator/migrate2to3.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate2to3.py rename to lbry/extras/daemon/migrator/migrate2to3.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate3to4.py b/lbry/extras/daemon/migrator/migrate3to4.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate3to4.py rename to lbry/extras/daemon/migrator/migrate3to4.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate4to5.py b/lbry/extras/daemon/migrator/migrate4to5.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate4to5.py rename to lbry/extras/daemon/migrator/migrate4to5.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate5to6.py b/lbry/extras/daemon/migrator/migrate5to6.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate5to6.py rename to lbry/extras/daemon/migrator/migrate5to6.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate6to7.py b/lbry/extras/daemon/migrator/migrate6to7.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate6to7.py rename to lbry/extras/daemon/migrator/migrate6to7.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate7to8.py b/lbry/extras/daemon/migrator/migrate7to8.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate7to8.py rename to lbry/extras/daemon/migrator/migrate7to8.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate8to9.py b/lbry/extras/daemon/migrator/migrate8to9.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate8to9.py rename to lbry/extras/daemon/migrator/migrate8to9.py diff --git a/lbry/lbry/extras/daemon/migrator/migrate9to10.py b/lbry/extras/daemon/migrator/migrate9to10.py similarity index 100% rename from lbry/lbry/extras/daemon/migrator/migrate9to10.py rename to lbry/extras/daemon/migrator/migrate9to10.py diff --git a/lbry/lbry/extras/daemon/storage.py b/lbry/extras/daemon/storage.py similarity index 100% rename from lbry/lbry/extras/daemon/storage.py rename to lbry/extras/daemon/storage.py diff --git a/lbry/lbry/extras/daemon/undecorated.py b/lbry/extras/daemon/undecorated.py similarity index 100% rename from lbry/lbry/extras/daemon/undecorated.py rename to lbry/extras/daemon/undecorated.py diff --git a/lbry/lbry/extras/system_info.py b/lbry/extras/system_info.py similarity index 100% rename from lbry/lbry/extras/system_info.py rename to lbry/extras/system_info.py diff --git a/lbry/lbry/schema/Makefile b/lbry/schema/Makefile similarity index 100% rename from lbry/lbry/schema/Makefile rename to lbry/schema/Makefile diff --git a/lbry/lbry/schema/__init__.py b/lbry/schema/__init__.py similarity index 100% rename from lbry/lbry/schema/__init__.py rename to lbry/schema/__init__.py diff --git a/lbry/lbry/schema/attrs.py b/lbry/schema/attrs.py similarity index 100% rename from lbry/lbry/schema/attrs.py rename to lbry/schema/attrs.py diff --git a/lbry/lbry/schema/base.py b/lbry/schema/base.py similarity index 100% rename from lbry/lbry/schema/base.py rename to lbry/schema/base.py diff --git a/lbry/lbry/schema/claim.py b/lbry/schema/claim.py similarity index 100% rename from lbry/lbry/schema/claim.py rename to lbry/schema/claim.py diff --git a/lbry/lbry/schema/compat.py b/lbry/schema/compat.py similarity index 100% rename from lbry/lbry/schema/compat.py rename to lbry/schema/compat.py diff --git a/lbry/lbry/schema/mime_types.py b/lbry/schema/mime_types.py similarity index 100% rename from lbry/lbry/schema/mime_types.py rename to lbry/schema/mime_types.py diff --git a/lbry/lbry/schema/purchase.py b/lbry/schema/purchase.py similarity index 100% rename from lbry/lbry/schema/purchase.py rename to lbry/schema/purchase.py diff --git a/lbry/lbry/schema/result.py b/lbry/schema/result.py similarity index 100% rename from lbry/lbry/schema/result.py rename to lbry/schema/result.py diff --git a/lbry/lbry/schema/support.py b/lbry/schema/support.py similarity index 100% rename from lbry/lbry/schema/support.py rename to lbry/schema/support.py diff --git a/lbry/lbry/schema/tags.py b/lbry/schema/tags.py similarity index 100% rename from lbry/lbry/schema/tags.py rename to lbry/schema/tags.py diff --git a/lbry/lbry/schema/types/__init__.py b/lbry/schema/types/__init__.py similarity index 100% rename from lbry/lbry/schema/types/__init__.py rename to lbry/schema/types/__init__.py diff --git a/lbry/lbry/schema/types/v1/__init__.py b/lbry/schema/types/v1/__init__.py similarity index 100% rename from lbry/lbry/schema/types/v1/__init__.py rename to lbry/schema/types/v1/__init__.py diff --git a/lbry/lbry/schema/types/v1/certificate_pb2.py b/lbry/schema/types/v1/certificate_pb2.py similarity index 100% rename from lbry/lbry/schema/types/v1/certificate_pb2.py rename to lbry/schema/types/v1/certificate_pb2.py diff --git a/lbry/lbry/schema/types/v1/fee_pb2.py b/lbry/schema/types/v1/fee_pb2.py similarity index 100% rename from lbry/lbry/schema/types/v1/fee_pb2.py rename to lbry/schema/types/v1/fee_pb2.py diff --git a/lbry/lbry/schema/types/v1/legacy_claim_pb2.py b/lbry/schema/types/v1/legacy_claim_pb2.py similarity index 100% rename from lbry/lbry/schema/types/v1/legacy_claim_pb2.py rename to lbry/schema/types/v1/legacy_claim_pb2.py diff --git a/lbry/lbry/schema/types/v1/metadata_pb2.py b/lbry/schema/types/v1/metadata_pb2.py similarity index 100% rename from lbry/lbry/schema/types/v1/metadata_pb2.py rename to lbry/schema/types/v1/metadata_pb2.py diff --git a/lbry/lbry/schema/types/v1/signature_pb2.py b/lbry/schema/types/v1/signature_pb2.py similarity index 100% rename from lbry/lbry/schema/types/v1/signature_pb2.py rename to lbry/schema/types/v1/signature_pb2.py diff --git a/lbry/lbry/schema/types/v1/source_pb2.py b/lbry/schema/types/v1/source_pb2.py similarity index 100% rename from lbry/lbry/schema/types/v1/source_pb2.py rename to lbry/schema/types/v1/source_pb2.py diff --git a/lbry/lbry/schema/types/v1/stream_pb2.py b/lbry/schema/types/v1/stream_pb2.py similarity index 100% rename from lbry/lbry/schema/types/v1/stream_pb2.py rename to lbry/schema/types/v1/stream_pb2.py diff --git a/lbry/lbry/schema/types/v2/__init__.py b/lbry/schema/types/v2/__init__.py similarity index 100% rename from lbry/lbry/schema/types/v2/__init__.py rename to lbry/schema/types/v2/__init__.py diff --git a/lbry/lbry/schema/types/v2/claim_pb2.py b/lbry/schema/types/v2/claim_pb2.py similarity index 100% rename from lbry/lbry/schema/types/v2/claim_pb2.py rename to lbry/schema/types/v2/claim_pb2.py diff --git a/lbry/lbry/schema/types/v2/purchase_pb2.py b/lbry/schema/types/v2/purchase_pb2.py similarity index 100% rename from lbry/lbry/schema/types/v2/purchase_pb2.py rename to lbry/schema/types/v2/purchase_pb2.py diff --git a/lbry/lbry/schema/types/v2/result_pb2.py b/lbry/schema/types/v2/result_pb2.py similarity index 100% rename from lbry/lbry/schema/types/v2/result_pb2.py rename to lbry/schema/types/v2/result_pb2.py diff --git a/lbry/lbry/schema/url.py b/lbry/schema/url.py similarity index 100% rename from lbry/lbry/schema/url.py rename to lbry/schema/url.py diff --git a/lbry/lbry/stream/__init__.py b/lbry/stream/__init__.py similarity index 100% rename from lbry/lbry/stream/__init__.py rename to lbry/stream/__init__.py diff --git a/lbry/lbry/stream/descriptor.py b/lbry/stream/descriptor.py similarity index 100% rename from lbry/lbry/stream/descriptor.py rename to lbry/stream/descriptor.py diff --git a/lbry/lbry/stream/downloader.py b/lbry/stream/downloader.py similarity index 100% rename from lbry/lbry/stream/downloader.py rename to lbry/stream/downloader.py diff --git a/lbry/lbry/stream/managed_stream.py b/lbry/stream/managed_stream.py similarity index 100% rename from lbry/lbry/stream/managed_stream.py rename to lbry/stream/managed_stream.py diff --git a/lbry/lbry/stream/reflector/__init__.py b/lbry/stream/reflector/__init__.py similarity index 100% rename from lbry/lbry/stream/reflector/__init__.py rename to lbry/stream/reflector/__init__.py diff --git a/lbry/lbry/stream/reflector/client.py b/lbry/stream/reflector/client.py similarity index 100% rename from lbry/lbry/stream/reflector/client.py rename to lbry/stream/reflector/client.py diff --git a/lbry/lbry/stream/reflector/server.py b/lbry/stream/reflector/server.py similarity index 100% rename from lbry/lbry/stream/reflector/server.py rename to lbry/stream/reflector/server.py diff --git a/lbry/lbry/stream/stream_manager.py b/lbry/stream/stream_manager.py similarity index 100% rename from lbry/lbry/stream/stream_manager.py rename to lbry/stream/stream_manager.py diff --git a/lbry/lbry/testcase.py b/lbry/testcase.py similarity index 100% rename from lbry/lbry/testcase.py rename to lbry/testcase.py diff --git a/lbry/lbry/utils.py b/lbry/utils.py similarity index 100% rename from lbry/lbry/utils.py rename to lbry/utils.py diff --git a/lbry/lbry/wallet/__init__.py b/lbry/wallet/__init__.py similarity index 100% rename from lbry/lbry/wallet/__init__.py rename to lbry/wallet/__init__.py diff --git a/lbry/lbry/wallet/account.py b/lbry/wallet/account.py similarity index 100% rename from lbry/lbry/wallet/account.py rename to lbry/wallet/account.py diff --git a/lbry/lbry/wallet/claim_proofs.py b/lbry/wallet/claim_proofs.py similarity index 100% rename from lbry/lbry/wallet/claim_proofs.py rename to lbry/wallet/claim_proofs.py diff --git a/lbry/lbry/wallet/client/__init__.py b/lbry/wallet/client/__init__.py similarity index 100% rename from lbry/lbry/wallet/client/__init__.py rename to lbry/wallet/client/__init__.py diff --git a/lbry/lbry/wallet/client/baseaccount.py b/lbry/wallet/client/baseaccount.py similarity index 100% rename from lbry/lbry/wallet/client/baseaccount.py rename to lbry/wallet/client/baseaccount.py diff --git a/lbry/lbry/wallet/client/basedatabase.py b/lbry/wallet/client/basedatabase.py similarity index 100% rename from lbry/lbry/wallet/client/basedatabase.py rename to lbry/wallet/client/basedatabase.py diff --git a/lbry/lbry/wallet/client/baseheader.py b/lbry/wallet/client/baseheader.py similarity index 100% rename from lbry/lbry/wallet/client/baseheader.py rename to lbry/wallet/client/baseheader.py diff --git a/lbry/lbry/wallet/client/baseledger.py b/lbry/wallet/client/baseledger.py similarity index 100% rename from lbry/lbry/wallet/client/baseledger.py rename to lbry/wallet/client/baseledger.py diff --git a/lbry/lbry/wallet/client/basemanager.py b/lbry/wallet/client/basemanager.py similarity index 100% rename from lbry/lbry/wallet/client/basemanager.py rename to lbry/wallet/client/basemanager.py diff --git a/lbry/lbry/wallet/client/basenetwork.py b/lbry/wallet/client/basenetwork.py similarity index 100% rename from lbry/lbry/wallet/client/basenetwork.py rename to lbry/wallet/client/basenetwork.py diff --git a/lbry/lbry/wallet/client/basescript.py b/lbry/wallet/client/basescript.py similarity index 100% rename from lbry/lbry/wallet/client/basescript.py rename to lbry/wallet/client/basescript.py diff --git a/lbry/lbry/wallet/client/basetransaction.py b/lbry/wallet/client/basetransaction.py similarity index 100% rename from lbry/lbry/wallet/client/basetransaction.py rename to lbry/wallet/client/basetransaction.py diff --git a/lbry/lbry/wallet/client/bcd_data_stream.py b/lbry/wallet/client/bcd_data_stream.py similarity index 100% rename from lbry/lbry/wallet/client/bcd_data_stream.py rename to lbry/wallet/client/bcd_data_stream.py diff --git a/lbry/lbry/wallet/client/bip32.py b/lbry/wallet/client/bip32.py similarity index 100% rename from lbry/lbry/wallet/client/bip32.py rename to lbry/wallet/client/bip32.py diff --git a/lbry/lbry/wallet/client/coinselection.py b/lbry/wallet/client/coinselection.py similarity index 100% rename from lbry/lbry/wallet/client/coinselection.py rename to lbry/wallet/client/coinselection.py diff --git a/lbry/lbry/wallet/client/constants.py b/lbry/wallet/client/constants.py similarity index 100% rename from lbry/lbry/wallet/client/constants.py rename to lbry/wallet/client/constants.py diff --git a/lbry/lbry/wallet/client/hash.py b/lbry/wallet/client/hash.py similarity index 100% rename from lbry/lbry/wallet/client/hash.py rename to lbry/wallet/client/hash.py diff --git a/lbry/lbry/wallet/client/mnemonic.py b/lbry/wallet/client/mnemonic.py similarity index 100% rename from lbry/lbry/wallet/client/mnemonic.py rename to lbry/wallet/client/mnemonic.py diff --git a/lbry/lbry/wallet/client/util.py b/lbry/wallet/client/util.py similarity index 100% rename from lbry/lbry/wallet/client/util.py rename to lbry/wallet/client/util.py diff --git a/lbry/lbry/wallet/client/wallet.py b/lbry/wallet/client/wallet.py similarity index 100% rename from lbry/lbry/wallet/client/wallet.py rename to lbry/wallet/client/wallet.py diff --git a/lbry/lbry/wallet/client/words/__init__.py b/lbry/wallet/client/words/__init__.py similarity index 100% rename from lbry/lbry/wallet/client/words/__init__.py rename to lbry/wallet/client/words/__init__.py diff --git a/lbry/lbry/wallet/client/words/chinese_simplified.py b/lbry/wallet/client/words/chinese_simplified.py similarity index 100% rename from lbry/lbry/wallet/client/words/chinese_simplified.py rename to lbry/wallet/client/words/chinese_simplified.py diff --git a/lbry/lbry/wallet/client/words/english.py b/lbry/wallet/client/words/english.py similarity index 100% rename from lbry/lbry/wallet/client/words/english.py rename to lbry/wallet/client/words/english.py diff --git a/lbry/lbry/wallet/client/words/japanese.py b/lbry/wallet/client/words/japanese.py similarity index 100% rename from lbry/lbry/wallet/client/words/japanese.py rename to lbry/wallet/client/words/japanese.py diff --git a/lbry/lbry/wallet/client/words/portuguese.py b/lbry/wallet/client/words/portuguese.py similarity index 100% rename from lbry/lbry/wallet/client/words/portuguese.py rename to lbry/wallet/client/words/portuguese.py diff --git a/lbry/lbry/wallet/client/words/spanish.py b/lbry/wallet/client/words/spanish.py similarity index 100% rename from lbry/lbry/wallet/client/words/spanish.py rename to lbry/wallet/client/words/spanish.py diff --git a/lbry/lbry/wallet/constants.py b/lbry/wallet/constants.py similarity index 100% rename from lbry/lbry/wallet/constants.py rename to lbry/wallet/constants.py diff --git a/lbry/lbry/wallet/database.py b/lbry/wallet/database.py similarity index 100% rename from lbry/lbry/wallet/database.py rename to lbry/wallet/database.py diff --git a/lbry/lbry/wallet/dewies.py b/lbry/wallet/dewies.py similarity index 100% rename from lbry/lbry/wallet/dewies.py rename to lbry/wallet/dewies.py diff --git a/lbry/lbry/wallet/header.py b/lbry/wallet/header.py similarity index 100% rename from lbry/lbry/wallet/header.py rename to lbry/wallet/header.py diff --git a/lbry/lbry/wallet/ledger.py b/lbry/wallet/ledger.py similarity index 100% rename from lbry/lbry/wallet/ledger.py rename to lbry/wallet/ledger.py diff --git a/lbry/lbry/wallet/manager.py b/lbry/wallet/manager.py similarity index 100% rename from lbry/lbry/wallet/manager.py rename to lbry/wallet/manager.py diff --git a/lbry/lbry/wallet/network.py b/lbry/wallet/network.py similarity index 100% rename from lbry/lbry/wallet/network.py rename to lbry/wallet/network.py diff --git a/lbry/lbry/wallet/orchstr8/__init__.py b/lbry/wallet/orchstr8/__init__.py similarity index 100% rename from lbry/lbry/wallet/orchstr8/__init__.py rename to lbry/wallet/orchstr8/__init__.py diff --git a/lbry/lbry/wallet/orchstr8/cli.py b/lbry/wallet/orchstr8/cli.py similarity index 100% rename from lbry/lbry/wallet/orchstr8/cli.py rename to lbry/wallet/orchstr8/cli.py diff --git a/lbry/lbry/wallet/orchstr8/node.py b/lbry/wallet/orchstr8/node.py similarity index 100% rename from lbry/lbry/wallet/orchstr8/node.py rename to lbry/wallet/orchstr8/node.py diff --git a/lbry/lbry/wallet/orchstr8/service.py b/lbry/wallet/orchstr8/service.py similarity index 100% rename from lbry/lbry/wallet/orchstr8/service.py rename to lbry/wallet/orchstr8/service.py diff --git a/lbry/lbry/wallet/rpc/__init__.py b/lbry/wallet/rpc/__init__.py similarity index 100% rename from lbry/lbry/wallet/rpc/__init__.py rename to lbry/wallet/rpc/__init__.py diff --git a/lbry/lbry/wallet/rpc/framing.py b/lbry/wallet/rpc/framing.py similarity index 100% rename from lbry/lbry/wallet/rpc/framing.py rename to lbry/wallet/rpc/framing.py diff --git a/lbry/lbry/wallet/rpc/jsonrpc.py b/lbry/wallet/rpc/jsonrpc.py similarity index 100% rename from lbry/lbry/wallet/rpc/jsonrpc.py rename to lbry/wallet/rpc/jsonrpc.py diff --git a/lbry/lbry/wallet/rpc/session.py b/lbry/wallet/rpc/session.py similarity index 100% rename from lbry/lbry/wallet/rpc/session.py rename to lbry/wallet/rpc/session.py diff --git a/lbry/lbry/wallet/rpc/socks.py b/lbry/wallet/rpc/socks.py similarity index 100% rename from lbry/lbry/wallet/rpc/socks.py rename to lbry/wallet/rpc/socks.py diff --git a/lbry/lbry/wallet/rpc/util.py b/lbry/wallet/rpc/util.py similarity index 100% rename from lbry/lbry/wallet/rpc/util.py rename to lbry/wallet/rpc/util.py diff --git a/lbry/lbry/wallet/script.py b/lbry/wallet/script.py similarity index 100% rename from lbry/lbry/wallet/script.py rename to lbry/wallet/script.py diff --git a/lbry/lbry/wallet/server/__init__.py b/lbry/wallet/server/__init__.py similarity index 100% rename from lbry/lbry/wallet/server/__init__.py rename to lbry/wallet/server/__init__.py diff --git a/lbry/lbry/wallet/server/block_processor.py b/lbry/wallet/server/block_processor.py similarity index 100% rename from lbry/lbry/wallet/server/block_processor.py rename to lbry/wallet/server/block_processor.py diff --git a/lbry/lbry/wallet/server/cli.py b/lbry/wallet/server/cli.py similarity index 100% rename from lbry/lbry/wallet/server/cli.py rename to lbry/wallet/server/cli.py diff --git a/lbry/lbry/wallet/server/coin.py b/lbry/wallet/server/coin.py similarity index 100% rename from lbry/lbry/wallet/server/coin.py rename to lbry/wallet/server/coin.py diff --git a/lbry/lbry/wallet/server/daemon.py b/lbry/wallet/server/daemon.py similarity index 100% rename from lbry/lbry/wallet/server/daemon.py rename to lbry/wallet/server/daemon.py diff --git a/lbry/lbry/wallet/server/db/__init__.py b/lbry/wallet/server/db/__init__.py similarity index 100% rename from lbry/lbry/wallet/server/db/__init__.py rename to lbry/wallet/server/db/__init__.py diff --git a/lbry/lbry/wallet/server/db/canonical.py b/lbry/wallet/server/db/canonical.py similarity index 100% rename from lbry/lbry/wallet/server/db/canonical.py rename to lbry/wallet/server/db/canonical.py diff --git a/lbry/lbry/wallet/server/db/common.py b/lbry/wallet/server/db/common.py similarity index 100% rename from lbry/lbry/wallet/server/db/common.py rename to lbry/wallet/server/db/common.py diff --git a/lbry/lbry/wallet/server/db/full_text_search.py b/lbry/wallet/server/db/full_text_search.py similarity index 100% rename from lbry/lbry/wallet/server/db/full_text_search.py rename to lbry/wallet/server/db/full_text_search.py diff --git a/lbry/lbry/wallet/server/db/reader.py b/lbry/wallet/server/db/reader.py similarity index 100% rename from lbry/lbry/wallet/server/db/reader.py rename to lbry/wallet/server/db/reader.py diff --git a/lbry/lbry/wallet/server/db/trending.py b/lbry/wallet/server/db/trending.py similarity index 100% rename from lbry/lbry/wallet/server/db/trending.py rename to lbry/wallet/server/db/trending.py diff --git a/lbry/lbry/wallet/server/db/writer.py b/lbry/wallet/server/db/writer.py similarity index 100% rename from lbry/lbry/wallet/server/db/writer.py rename to lbry/wallet/server/db/writer.py diff --git a/lbry/lbry/wallet/server/env.py b/lbry/wallet/server/env.py similarity index 100% rename from lbry/lbry/wallet/server/env.py rename to lbry/wallet/server/env.py diff --git a/lbry/lbry/wallet/server/hash.py b/lbry/wallet/server/hash.py similarity index 100% rename from lbry/lbry/wallet/server/hash.py rename to lbry/wallet/server/hash.py diff --git a/lbry/lbry/wallet/server/history.py b/lbry/wallet/server/history.py similarity index 100% rename from lbry/lbry/wallet/server/history.py rename to lbry/wallet/server/history.py diff --git a/lbry/lbry/wallet/server/leveldb.py b/lbry/wallet/server/leveldb.py similarity index 100% rename from lbry/lbry/wallet/server/leveldb.py rename to lbry/wallet/server/leveldb.py diff --git a/lbry/lbry/wallet/server/mempool.py b/lbry/wallet/server/mempool.py similarity index 100% rename from lbry/lbry/wallet/server/mempool.py rename to lbry/wallet/server/mempool.py diff --git a/lbry/lbry/wallet/server/merkle.py b/lbry/wallet/server/merkle.py similarity index 100% rename from lbry/lbry/wallet/server/merkle.py rename to lbry/wallet/server/merkle.py diff --git a/lbry/lbry/wallet/server/metrics.py b/lbry/wallet/server/metrics.py similarity index 100% rename from lbry/lbry/wallet/server/metrics.py rename to lbry/wallet/server/metrics.py diff --git a/lbry/lbry/wallet/server/peer.py b/lbry/wallet/server/peer.py similarity index 100% rename from lbry/lbry/wallet/server/peer.py rename to lbry/wallet/server/peer.py diff --git a/lbry/lbry/wallet/server/peers.py b/lbry/wallet/server/peers.py similarity index 100% rename from lbry/lbry/wallet/server/peers.py rename to lbry/wallet/server/peers.py diff --git a/lbry/lbry/wallet/server/script.py b/lbry/wallet/server/script.py similarity index 100% rename from lbry/lbry/wallet/server/script.py rename to lbry/wallet/server/script.py diff --git a/lbry/lbry/wallet/server/server.py b/lbry/wallet/server/server.py similarity index 100% rename from lbry/lbry/wallet/server/server.py rename to lbry/wallet/server/server.py diff --git a/lbry/lbry/wallet/server/session.py b/lbry/wallet/server/session.py similarity index 100% rename from lbry/lbry/wallet/server/session.py rename to lbry/wallet/server/session.py diff --git a/lbry/lbry/wallet/server/storage.py b/lbry/wallet/server/storage.py similarity index 100% rename from lbry/lbry/wallet/server/storage.py rename to lbry/wallet/server/storage.py diff --git a/lbry/lbry/wallet/server/text.py b/lbry/wallet/server/text.py similarity index 100% rename from lbry/lbry/wallet/server/text.py rename to lbry/wallet/server/text.py diff --git a/lbry/lbry/wallet/server/tx.py b/lbry/wallet/server/tx.py similarity index 100% rename from lbry/lbry/wallet/server/tx.py rename to lbry/wallet/server/tx.py diff --git a/lbry/lbry/wallet/server/util.py b/lbry/wallet/server/util.py similarity index 100% rename from lbry/lbry/wallet/server/util.py rename to lbry/wallet/server/util.py diff --git a/lbry/lbry/wallet/server/websocket.py b/lbry/wallet/server/websocket.py similarity index 100% rename from lbry/lbry/wallet/server/websocket.py rename to lbry/wallet/server/websocket.py diff --git a/lbry/lbry/wallet/stream.py b/lbry/wallet/stream.py similarity index 100% rename from lbry/lbry/wallet/stream.py rename to lbry/wallet/stream.py diff --git a/lbry/lbry/wallet/tasks.py b/lbry/wallet/tasks.py similarity index 100% rename from lbry/lbry/wallet/tasks.py rename to lbry/wallet/tasks.py diff --git a/lbry/lbry/wallet/transaction.py b/lbry/wallet/transaction.py similarity index 100% rename from lbry/lbry/wallet/transaction.py rename to lbry/wallet/transaction.py diff --git a/lbry/lbry/winpaths.py b/lbry/winpaths.py similarity index 100% rename from lbry/lbry/winpaths.py rename to lbry/winpaths.py diff --git a/lbry/mkdocs.yml b/mkdocs.yml similarity index 100% rename from lbry/mkdocs.yml rename to mkdocs.yml diff --git a/lbry/scripts/Dockerfile.lbry_orchstr8 b/scripts/Dockerfile.lbry_orchstr8 similarity index 100% rename from lbry/scripts/Dockerfile.lbry_orchstr8 rename to scripts/Dockerfile.lbry_orchstr8 diff --git a/lbry/scripts/check_signature.py b/scripts/check_signature.py similarity index 100% rename from lbry/scripts/check_signature.py rename to scripts/check_signature.py diff --git a/lbry/scripts/checktrie.py b/scripts/checktrie.py similarity index 100% rename from lbry/scripts/checktrie.py rename to scripts/checktrie.py diff --git a/lbry/scripts/claim_search_performance.py b/scripts/claim_search_performance.py similarity index 100% rename from lbry/scripts/claim_search_performance.py rename to scripts/claim_search_performance.py diff --git a/lbry/scripts/dht_monitor.py b/scripts/dht_monitor.py similarity index 100% rename from lbry/scripts/dht_monitor.py rename to scripts/dht_monitor.py diff --git a/lbry/scripts/download_blob_from_peer.py b/scripts/download_blob_from_peer.py similarity index 100% rename from lbry/scripts/download_blob_from_peer.py rename to scripts/download_blob_from_peer.py diff --git a/lbry/scripts/find_max_server_load.py b/scripts/find_max_server_load.py similarity index 100% rename from lbry/scripts/find_max_server_load.py rename to scripts/find_max_server_load.py diff --git a/lbry/scripts/generate_json_api.py b/scripts/generate_json_api.py similarity index 100% rename from lbry/scripts/generate_json_api.py rename to scripts/generate_json_api.py diff --git a/lbry/scripts/hook-coincurve.py b/scripts/hook-coincurve.py similarity index 100% rename from lbry/scripts/hook-coincurve.py rename to scripts/hook-coincurve.py diff --git a/lbry/scripts/idea/lbry-sdk.iml b/scripts/idea/lbry-sdk.iml similarity index 100% rename from lbry/scripts/idea/lbry-sdk.iml rename to scripts/idea/lbry-sdk.iml diff --git a/lbry/scripts/idea/modules.xml b/scripts/idea/modules.xml similarity index 100% rename from lbry/scripts/idea/modules.xml rename to scripts/idea/modules.xml diff --git a/lbry/scripts/idea/vcs.xml b/scripts/idea/vcs.xml similarity index 100% rename from lbry/scripts/idea/vcs.xml rename to scripts/idea/vcs.xml diff --git a/lbry/scripts/monitor_slow_queries.py b/scripts/monitor_slow_queries.py similarity index 100% rename from lbry/scripts/monitor_slow_queries.py rename to scripts/monitor_slow_queries.py diff --git a/lbry/scripts/publish_performance.py b/scripts/publish_performance.py similarity index 100% rename from lbry/scripts/publish_performance.py rename to scripts/publish_performance.py diff --git a/lbry/scripts/release.py b/scripts/release.py similarity index 100% rename from lbry/scripts/release.py rename to scripts/release.py diff --git a/lbry/scripts/repair_0_31_1_db.py b/scripts/repair_0_31_1_db.py similarity index 100% rename from lbry/scripts/repair_0_31_1_db.py rename to scripts/repair_0_31_1_db.py diff --git a/lbry/scripts/sqlite_perf_test.py b/scripts/sqlite_perf_test.py similarity index 100% rename from lbry/scripts/sqlite_perf_test.py rename to scripts/sqlite_perf_test.py diff --git a/lbry/scripts/standalone_blob_server.py b/scripts/standalone_blob_server.py similarity index 100% rename from lbry/scripts/standalone_blob_server.py rename to scripts/standalone_blob_server.py diff --git a/lbry/scripts/test_claim_search.py b/scripts/test_claim_search.py similarity index 100% rename from lbry/scripts/test_claim_search.py rename to scripts/test_claim_search.py diff --git a/lbry/scripts/time_to_first_byte.py b/scripts/time_to_first_byte.py similarity index 100% rename from lbry/scripts/time_to_first_byte.py rename to scripts/time_to_first_byte.py diff --git a/lbry/scripts/wallet_server_monitor.py b/scripts/wallet_server_monitor.py similarity index 100% rename from lbry/scripts/wallet_server_monitor.py rename to scripts/wallet_server_monitor.py diff --git a/lbry/setup.cfg b/setup.cfg similarity index 100% rename from lbry/setup.cfg rename to setup.cfg diff --git a/lbry/setup.py b/setup.py similarity index 100% rename from lbry/setup.py rename to setup.py diff --git a/lbry/tests/__init__.py b/tests/__init__.py similarity index 100% rename from lbry/tests/__init__.py rename to tests/__init__.py diff --git a/lbry/tests/dht_mocks.py b/tests/dht_mocks.py similarity index 100% rename from lbry/tests/dht_mocks.py rename to tests/dht_mocks.py diff --git a/lbry/tests/integration/__init__.py b/tests/integration/__init__.py similarity index 100% rename from lbry/tests/integration/__init__.py rename to tests/integration/__init__.py diff --git a/lbry/tests/integration/test_account_commands.py b/tests/integration/test_account_commands.py similarity index 100% rename from lbry/tests/integration/test_account_commands.py rename to tests/integration/test_account_commands.py diff --git a/lbry/tests/integration/test_blockchain_reorganization.py b/tests/integration/test_blockchain_reorganization.py similarity index 100% rename from lbry/tests/integration/test_blockchain_reorganization.py rename to tests/integration/test_blockchain_reorganization.py diff --git a/lbry/tests/integration/test_chris45.py b/tests/integration/test_chris45.py similarity index 100% rename from lbry/tests/integration/test_chris45.py rename to tests/integration/test_chris45.py diff --git a/lbry/tests/integration/test_claim_commands.py b/tests/integration/test_claim_commands.py similarity index 100% rename from lbry/tests/integration/test_claim_commands.py rename to tests/integration/test_claim_commands.py diff --git a/lbry/tests/integration/test_cli.py b/tests/integration/test_cli.py similarity index 100% rename from lbry/tests/integration/test_cli.py rename to tests/integration/test_cli.py diff --git a/lbry/tests/integration/test_comment_commands.py b/tests/integration/test_comment_commands.py similarity index 100% rename from lbry/tests/integration/test_comment_commands.py rename to tests/integration/test_comment_commands.py diff --git a/lbry/tests/integration/test_dht.py b/tests/integration/test_dht.py similarity index 100% rename from lbry/tests/integration/test_dht.py rename to tests/integration/test_dht.py diff --git a/lbry/tests/integration/test_exchange_rate_manager.py b/tests/integration/test_exchange_rate_manager.py similarity index 100% rename from lbry/tests/integration/test_exchange_rate_manager.py rename to tests/integration/test_exchange_rate_manager.py diff --git a/lbry/tests/integration/test_file_commands.py b/tests/integration/test_file_commands.py similarity index 100% rename from lbry/tests/integration/test_file_commands.py rename to tests/integration/test_file_commands.py diff --git a/lbry/tests/integration/test_internal_transaction_api.py b/tests/integration/test_internal_transaction_api.py similarity index 100% rename from lbry/tests/integration/test_internal_transaction_api.py rename to tests/integration/test_internal_transaction_api.py diff --git a/lbry/tests/integration/test_network.py b/tests/integration/test_network.py similarity index 100% rename from lbry/tests/integration/test_network.py rename to tests/integration/test_network.py diff --git a/lbry/tests/integration/test_other_commands.py b/tests/integration/test_other_commands.py similarity index 100% rename from lbry/tests/integration/test_other_commands.py rename to tests/integration/test_other_commands.py diff --git a/lbry/tests/integration/test_purchase_command.py b/tests/integration/test_purchase_command.py similarity index 100% rename from lbry/tests/integration/test_purchase_command.py rename to tests/integration/test_purchase_command.py diff --git a/lbry/tests/integration/test_resolve_command.py b/tests/integration/test_resolve_command.py similarity index 100% rename from lbry/tests/integration/test_resolve_command.py rename to tests/integration/test_resolve_command.py diff --git a/lbry/tests/integration/test_streaming.py b/tests/integration/test_streaming.py similarity index 100% rename from lbry/tests/integration/test_streaming.py rename to tests/integration/test_streaming.py diff --git a/lbry/tests/integration/test_sync.py b/tests/integration/test_sync.py similarity index 100% rename from lbry/tests/integration/test_sync.py rename to tests/integration/test_sync.py diff --git a/lbry/tests/integration/test_transaction_commands.py b/tests/integration/test_transaction_commands.py similarity index 100% rename from lbry/tests/integration/test_transaction_commands.py rename to tests/integration/test_transaction_commands.py diff --git a/lbry/tests/integration/test_transactions.py b/tests/integration/test_transactions.py similarity index 100% rename from lbry/tests/integration/test_transactions.py rename to tests/integration/test_transactions.py diff --git a/lbry/tests/integration/test_wallet_commands.py b/tests/integration/test_wallet_commands.py similarity index 100% rename from lbry/tests/integration/test_wallet_commands.py rename to tests/integration/test_wallet_commands.py diff --git a/lbry/tests/integration/test_wallet_server_sessions.py b/tests/integration/test_wallet_server_sessions.py similarity index 100% rename from lbry/tests/integration/test_wallet_server_sessions.py rename to tests/integration/test_wallet_server_sessions.py diff --git a/lbry/tests/test_utils.py b/tests/test_utils.py similarity index 100% rename from lbry/tests/test_utils.py rename to tests/test_utils.py diff --git a/lbry/tests/unit/__init__.py b/tests/unit/__init__.py similarity index 100% rename from lbry/tests/unit/__init__.py rename to tests/unit/__init__.py diff --git a/lbry/tests/unit/analytics/__init__.py b/tests/unit/analytics/__init__.py similarity index 100% rename from lbry/tests/unit/analytics/__init__.py rename to tests/unit/analytics/__init__.py diff --git a/lbry/tests/unit/analytics/test_track.py b/tests/unit/analytics/test_track.py similarity index 100% rename from lbry/tests/unit/analytics/test_track.py rename to tests/unit/analytics/test_track.py diff --git a/lbry/tests/unit/blob/__init__.py b/tests/unit/blob/__init__.py similarity index 100% rename from lbry/tests/unit/blob/__init__.py rename to tests/unit/blob/__init__.py diff --git a/lbry/tests/unit/blob/test_blob_file.py b/tests/unit/blob/test_blob_file.py similarity index 100% rename from lbry/tests/unit/blob/test_blob_file.py rename to tests/unit/blob/test_blob_file.py diff --git a/lbry/tests/unit/blob/test_blob_manager.py b/tests/unit/blob/test_blob_manager.py similarity index 100% rename from lbry/tests/unit/blob/test_blob_manager.py rename to tests/unit/blob/test_blob_manager.py diff --git a/lbry/tests/unit/blob_exchange/__init__.py b/tests/unit/blob_exchange/__init__.py similarity index 100% rename from lbry/tests/unit/blob_exchange/__init__.py rename to tests/unit/blob_exchange/__init__.py diff --git a/lbry/tests/unit/blob_exchange/test_transfer_blob.py b/tests/unit/blob_exchange/test_transfer_blob.py similarity index 100% rename from lbry/tests/unit/blob_exchange/test_transfer_blob.py rename to tests/unit/blob_exchange/test_transfer_blob.py diff --git a/lbry/tests/unit/comments/__init__.py b/tests/unit/comments/__init__.py similarity index 100% rename from lbry/tests/unit/comments/__init__.py rename to tests/unit/comments/__init__.py diff --git a/lbry/tests/unit/comments/test_comment_signing.py b/tests/unit/comments/test_comment_signing.py similarity index 100% rename from lbry/tests/unit/comments/test_comment_signing.py rename to tests/unit/comments/test_comment_signing.py diff --git a/lbry/tests/unit/components/__init__.py b/tests/unit/components/__init__.py similarity index 100% rename from lbry/tests/unit/components/__init__.py rename to tests/unit/components/__init__.py diff --git a/lbry/tests/unit/components/test_component_manager.py b/tests/unit/components/test_component_manager.py similarity index 100% rename from lbry/tests/unit/components/test_component_manager.py rename to tests/unit/components/test_component_manager.py diff --git a/lbry/tests/unit/core/__init__.py b/tests/unit/core/__init__.py similarity index 100% rename from lbry/tests/unit/core/__init__.py rename to tests/unit/core/__init__.py diff --git a/lbry/tests/unit/core/test_utils.py b/tests/unit/core/test_utils.py similarity index 100% rename from lbry/tests/unit/core/test_utils.py rename to tests/unit/core/test_utils.py diff --git a/lbry/tests/unit/database/__init__.py b/tests/unit/database/__init__.py similarity index 100% rename from lbry/tests/unit/database/__init__.py rename to tests/unit/database/__init__.py diff --git a/lbry/tests/unit/database/test_SQLiteStorage.py b/tests/unit/database/test_SQLiteStorage.py similarity index 100% rename from lbry/tests/unit/database/test_SQLiteStorage.py rename to tests/unit/database/test_SQLiteStorage.py diff --git a/lbry/tests/unit/dht/__init__.py b/tests/unit/dht/__init__.py similarity index 100% rename from lbry/tests/unit/dht/__init__.py rename to tests/unit/dht/__init__.py diff --git a/lbry/tests/unit/dht/protocol/__init__.py b/tests/unit/dht/protocol/__init__.py similarity index 100% rename from lbry/tests/unit/dht/protocol/__init__.py rename to tests/unit/dht/protocol/__init__.py diff --git a/lbry/tests/unit/dht/protocol/test_data_store.py b/tests/unit/dht/protocol/test_data_store.py similarity index 100% rename from lbry/tests/unit/dht/protocol/test_data_store.py rename to tests/unit/dht/protocol/test_data_store.py diff --git a/lbry/tests/unit/dht/protocol/test_distance.py b/tests/unit/dht/protocol/test_distance.py similarity index 100% rename from lbry/tests/unit/dht/protocol/test_distance.py rename to tests/unit/dht/protocol/test_distance.py diff --git a/lbry/tests/unit/dht/protocol/test_kbucket.py b/tests/unit/dht/protocol/test_kbucket.py similarity index 100% rename from lbry/tests/unit/dht/protocol/test_kbucket.py rename to tests/unit/dht/protocol/test_kbucket.py diff --git a/lbry/tests/unit/dht/protocol/test_protocol.py b/tests/unit/dht/protocol/test_protocol.py similarity index 100% rename from lbry/tests/unit/dht/protocol/test_protocol.py rename to tests/unit/dht/protocol/test_protocol.py diff --git a/lbry/tests/unit/dht/protocol/test_routing_table.py b/tests/unit/dht/protocol/test_routing_table.py similarity index 100% rename from lbry/tests/unit/dht/protocol/test_routing_table.py rename to tests/unit/dht/protocol/test_routing_table.py diff --git a/lbry/tests/unit/dht/serialization/__init__.py b/tests/unit/dht/serialization/__init__.py similarity index 100% rename from lbry/tests/unit/dht/serialization/__init__.py rename to tests/unit/dht/serialization/__init__.py diff --git a/lbry/tests/unit/dht/serialization/test_bencoding.py b/tests/unit/dht/serialization/test_bencoding.py similarity index 100% rename from lbry/tests/unit/dht/serialization/test_bencoding.py rename to tests/unit/dht/serialization/test_bencoding.py diff --git a/lbry/tests/unit/dht/serialization/test_datagram.py b/tests/unit/dht/serialization/test_datagram.py similarity index 100% rename from lbry/tests/unit/dht/serialization/test_datagram.py rename to tests/unit/dht/serialization/test_datagram.py diff --git a/lbry/tests/unit/dht/test_blob_announcer.py b/tests/unit/dht/test_blob_announcer.py similarity index 100% rename from lbry/tests/unit/dht/test_blob_announcer.py rename to tests/unit/dht/test_blob_announcer.py diff --git a/lbry/tests/unit/dht/test_node.py b/tests/unit/dht/test_node.py similarity index 100% rename from lbry/tests/unit/dht/test_node.py rename to tests/unit/dht/test_node.py diff --git a/lbry/tests/unit/dht/test_peer.py b/tests/unit/dht/test_peer.py similarity index 100% rename from lbry/tests/unit/dht/test_peer.py rename to tests/unit/dht/test_peer.py diff --git a/lbry/tests/unit/lbrynet_daemon/__init__.py b/tests/unit/lbrynet_daemon/__init__.py similarity index 100% rename from lbry/tests/unit/lbrynet_daemon/__init__.py rename to tests/unit/lbrynet_daemon/__init__.py diff --git a/lbry/tests/unit/lbrynet_daemon/test_Daemon.py b/tests/unit/lbrynet_daemon/test_Daemon.py similarity index 100% rename from lbry/tests/unit/lbrynet_daemon/test_Daemon.py rename to tests/unit/lbrynet_daemon/test_Daemon.py diff --git a/lbry/tests/unit/lbrynet_daemon/test_exchange_rate_manager.py b/tests/unit/lbrynet_daemon/test_exchange_rate_manager.py similarity index 100% rename from lbry/tests/unit/lbrynet_daemon/test_exchange_rate_manager.py rename to tests/unit/lbrynet_daemon/test_exchange_rate_manager.py diff --git a/lbry/tests/unit/lbrynet_daemon/test_mime_types.py b/tests/unit/lbrynet_daemon/test_mime_types.py similarity index 100% rename from lbry/tests/unit/lbrynet_daemon/test_mime_types.py rename to tests/unit/lbrynet_daemon/test_mime_types.py diff --git a/lbry/tests/unit/schema/__init__.py b/tests/unit/schema/__init__.py similarity index 100% rename from lbry/tests/unit/schema/__init__.py rename to tests/unit/schema/__init__.py diff --git a/lbry/tests/unit/schema/test_claim_from_bytes.py b/tests/unit/schema/test_claim_from_bytes.py similarity index 100% rename from lbry/tests/unit/schema/test_claim_from_bytes.py rename to tests/unit/schema/test_claim_from_bytes.py diff --git a/lbry/tests/unit/schema/test_models.py b/tests/unit/schema/test_models.py similarity index 100% rename from lbry/tests/unit/schema/test_models.py rename to tests/unit/schema/test_models.py diff --git a/lbry/tests/unit/schema/test_tags.py b/tests/unit/schema/test_tags.py similarity index 100% rename from lbry/tests/unit/schema/test_tags.py rename to tests/unit/schema/test_tags.py diff --git a/lbry/tests/unit/schema/test_url.py b/tests/unit/schema/test_url.py similarity index 100% rename from lbry/tests/unit/schema/test_url.py rename to tests/unit/schema/test_url.py diff --git a/lbry/tests/unit/stream/__init__.py b/tests/unit/stream/__init__.py similarity index 100% rename from lbry/tests/unit/stream/__init__.py rename to tests/unit/stream/__init__.py diff --git a/lbry/tests/unit/stream/test_managed_stream.py b/tests/unit/stream/test_managed_stream.py similarity index 100% rename from lbry/tests/unit/stream/test_managed_stream.py rename to tests/unit/stream/test_managed_stream.py diff --git a/lbry/tests/unit/stream/test_reflector.py b/tests/unit/stream/test_reflector.py similarity index 100% rename from lbry/tests/unit/stream/test_reflector.py rename to tests/unit/stream/test_reflector.py diff --git a/lbry/tests/unit/stream/test_stream_descriptor.py b/tests/unit/stream/test_stream_descriptor.py similarity index 100% rename from lbry/tests/unit/stream/test_stream_descriptor.py rename to tests/unit/stream/test_stream_descriptor.py diff --git a/lbry/tests/unit/stream/test_stream_manager.py b/tests/unit/stream/test_stream_manager.py similarity index 100% rename from lbry/tests/unit/stream/test_stream_manager.py rename to tests/unit/stream/test_stream_manager.py diff --git a/lbry/tests/unit/test_cli.py b/tests/unit/test_cli.py similarity index 100% rename from lbry/tests/unit/test_cli.py rename to tests/unit/test_cli.py diff --git a/lbry/tests/unit/test_conf.py b/tests/unit/test_conf.py similarity index 100% rename from lbry/tests/unit/test_conf.py rename to tests/unit/test_conf.py diff --git a/lbry/tests/unit/wallet/__init__.py b/tests/unit/wallet/__init__.py similarity index 100% rename from lbry/tests/unit/wallet/__init__.py rename to tests/unit/wallet/__init__.py diff --git a/lbry/tests/unit/wallet/key_fixtures.py b/tests/unit/wallet/key_fixtures.py similarity index 100% rename from lbry/tests/unit/wallet/key_fixtures.py rename to tests/unit/wallet/key_fixtures.py diff --git a/lbry/tests/unit/wallet/server/__init__.py b/tests/unit/wallet/server/__init__.py similarity index 100% rename from lbry/tests/unit/wallet/server/__init__.py rename to tests/unit/wallet/server/__init__.py diff --git a/lbry/tests/unit/wallet/server/test_metrics.py b/tests/unit/wallet/server/test_metrics.py similarity index 100% rename from lbry/tests/unit/wallet/server/test_metrics.py rename to tests/unit/wallet/server/test_metrics.py diff --git a/lbry/tests/unit/wallet/server/test_sqldb.py b/tests/unit/wallet/server/test_sqldb.py similarity index 100% rename from lbry/tests/unit/wallet/server/test_sqldb.py rename to tests/unit/wallet/server/test_sqldb.py diff --git a/lbry/tests/unit/wallet/test_account.py b/tests/unit/wallet/test_account.py similarity index 100% rename from lbry/tests/unit/wallet/test_account.py rename to tests/unit/wallet/test_account.py diff --git a/lbry/tests/unit/wallet/test_bcd_data_stream.py b/tests/unit/wallet/test_bcd_data_stream.py similarity index 100% rename from lbry/tests/unit/wallet/test_bcd_data_stream.py rename to tests/unit/wallet/test_bcd_data_stream.py diff --git a/lbry/tests/unit/wallet/test_bip32.py b/tests/unit/wallet/test_bip32.py similarity index 100% rename from lbry/tests/unit/wallet/test_bip32.py rename to tests/unit/wallet/test_bip32.py diff --git a/lbry/tests/unit/wallet/test_claim_proofs.py b/tests/unit/wallet/test_claim_proofs.py similarity index 100% rename from lbry/tests/unit/wallet/test_claim_proofs.py rename to tests/unit/wallet/test_claim_proofs.py diff --git a/lbry/tests/unit/wallet/test_coinselection.py b/tests/unit/wallet/test_coinselection.py similarity index 100% rename from lbry/tests/unit/wallet/test_coinselection.py rename to tests/unit/wallet/test_coinselection.py diff --git a/lbry/tests/unit/wallet/test_database.py b/tests/unit/wallet/test_database.py similarity index 100% rename from lbry/tests/unit/wallet/test_database.py rename to tests/unit/wallet/test_database.py diff --git a/lbry/tests/unit/wallet/test_dewies.py b/tests/unit/wallet/test_dewies.py similarity index 100% rename from lbry/tests/unit/wallet/test_dewies.py rename to tests/unit/wallet/test_dewies.py diff --git a/lbry/tests/unit/wallet/test_hash.py b/tests/unit/wallet/test_hash.py similarity index 100% rename from lbry/tests/unit/wallet/test_hash.py rename to tests/unit/wallet/test_hash.py diff --git a/lbry/tests/unit/wallet/test_headers.py b/tests/unit/wallet/test_headers.py similarity index 100% rename from lbry/tests/unit/wallet/test_headers.py rename to tests/unit/wallet/test_headers.py diff --git a/lbry/tests/unit/wallet/test_ledger.py b/tests/unit/wallet/test_ledger.py similarity index 100% rename from lbry/tests/unit/wallet/test_ledger.py rename to tests/unit/wallet/test_ledger.py diff --git a/lbry/tests/unit/wallet/test_mnemonic.py b/tests/unit/wallet/test_mnemonic.py similarity index 100% rename from lbry/tests/unit/wallet/test_mnemonic.py rename to tests/unit/wallet/test_mnemonic.py diff --git a/lbry/tests/unit/wallet/test_schema_signing.py b/tests/unit/wallet/test_schema_signing.py similarity index 100% rename from lbry/tests/unit/wallet/test_schema_signing.py rename to tests/unit/wallet/test_schema_signing.py diff --git a/lbry/tests/unit/wallet/test_script.py b/tests/unit/wallet/test_script.py similarity index 100% rename from lbry/tests/unit/wallet/test_script.py rename to tests/unit/wallet/test_script.py diff --git a/lbry/tests/unit/wallet/test_stream_controller.py b/tests/unit/wallet/test_stream_controller.py similarity index 100% rename from lbry/tests/unit/wallet/test_stream_controller.py rename to tests/unit/wallet/test_stream_controller.py diff --git a/lbry/tests/unit/wallet/test_transaction.py b/tests/unit/wallet/test_transaction.py similarity index 100% rename from lbry/tests/unit/wallet/test_transaction.py rename to tests/unit/wallet/test_transaction.py diff --git a/lbry/tests/unit/wallet/test_utils.py b/tests/unit/wallet/test_utils.py similarity index 100% rename from lbry/tests/unit/wallet/test_utils.py rename to tests/unit/wallet/test_utils.py diff --git a/lbry/tests/unit/wallet/test_wallet.py b/tests/unit/wallet/test_wallet.py similarity index 100% rename from lbry/tests/unit/wallet/test_wallet.py rename to tests/unit/wallet/test_wallet.py diff --git a/lbry/tox.ini b/tox.ini similarity index 100% rename from lbry/tox.ini rename to tox.ini