{"id":15026466,"url":"https://github.com/jimmysong/programmingbitcoin","last_synced_at":"2025-05-15T05:05:45.989Z","repository":{"id":27586141,"uuid":"114506572","full_name":"jimmysong/programmingbitcoin","owner":"jimmysong","description":"Repository for the book","archived":false,"fork":false,"pushed_at":"2024-05-20T22:31:48.000Z","size":40301,"stargazers_count":1803,"open_issues_count":118,"forks_count":686,"subscribers_count":84,"default_branch":"master","last_synced_at":"2025-04-14T08:05:57.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jimmysong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-17T03:26:38.000Z","updated_at":"2025-04-14T03:17:47.000Z","dependencies_parsed_at":"2024-01-15T19:45:06.557Z","dependency_job_id":"47e6e731-6ed7-4a26-8056-2104e8a895dc","html_url":"https://github.com/jimmysong/programmingbitcoin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimmysong%2Fprogrammingbitcoin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimmysong%2Fprogrammingbitcoin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimmysong%2Fprogrammingbitcoin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimmysong%2Fprogrammingbitcoin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimmysong","download_url":"https://codeload.github.com/jimmysong/programmingbitcoin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276446,"owners_count":22043866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T20:04:31.443Z","updated_at":"2025-05-15T05:05:45.961Z","avatar_url":"https://github.com/jimmysong.png","language":"Python","readme":"#[Programming Bitcoin](https://learning.oreilly.com/library/view/programming-bitcoin/9781492031482/)\n\n###BY[ JIMMY SONG](https://github.com/jimmysong)\n\n#####[O'Reilly Media, Inc.March 2019](https://learning.oreilly.com/library/publisher/oreilly-media-inc/)\n\n# LICENSE\n\nRepository for the book to be published by O'Reilly.\n\nThis book will be licensed under [CC-BY-NC-ND](https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode) once the book is published.\n\n\n##Setting Up\n\n\nTo get the most out of this book, you’ll want to create an environment where you can run the example code and do the exercises. Here are the steps required to set everything up:\n\n###1. Install Python 3.5 or higher on your machine:\n\nWindows:\t\t\n[https://www.python.org/ftp/python/3.6.2/python-3.6.2-amd64.exe\n](https://www.python.org/ftp/python/3.6.2/python-3.6.2-amd64.exe\n)\n\nmacOS:\t\t\n[https://www.python.org/ftp/python/3.6.2/python-3.6.2-macosx10.6.pkg](https://www.python.org/ftp/python/3.6.2/python-3.6.2-macosx10.6.pkg)\n\nLinux\t\t\n#####See your distro docs (many Linux distributions, like Ubuntu, come with Python 3.5+ preinstalled)\n\n###2. Install pip by downloading this script: [https://bootstrap.pypa.io/get-pip.py](https://bootstrap.pypa.io/get-pip.py).\n\n###3. Run this script using Python 3:\n\n`$ python3 get-pip.py`\t\t\n\n###4. Install Git. The commands for downloading and installing it are at [https://git-scm.com/downloads](https://git-scm.com/downloads).\n\n###5. Download the source code for this book:\n\n`$ git clone https://github.com/jimmysong/programmingbitcoin`\t\t\n`$ cd programmingbitcoin`\n\t\t\n###6. Install virtualenv:\n\n`$ pip install virtualenv`\n\n###7. Install the requirements:\n\nLinux/macOS\n\n`$ virtualenv -p python3 .venv`\t\t\n`$ . .venv/bin/activate`\n`(.venv) $ pip install -r requirements.txt`\n\nWindows\n\n`C:\\programmingbitcoin\u003e virtualenv -p`\t\t\n`C:\\PathToYourPythonInstallation\\Python.exe .venv`\t\t\n`C:\\programmingbitcoin\u003e .venv\\Scripts\\activate.bat`\t\t\n`C:\\programmingbitcoin\u003e pip install -r requirements.txt`\t\t\n###8. Run Jupyter Notebook:\n\n`(.venv) $ jupyter notebook`\n`[I 11:13:23.061 NotebookApp] Serving notebooks from local directory:\n  /home/jimmy/programmingbitcoin`\n  `[I 11:13:23.061 NotebookApp] The Jupyter Notebook is running at:\n\t[I 11:13:23.061 NotebookApp] http://localhost:8888/?token=\n  f849627e4d9d07d2158e3fcde93590eff4a9a7a01f65a8e7`\n  `[I 11:13:23.061 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).`\n  `[C 11:13:23.065 NotebookApp]`\n  `Copy/paste this URL into your browser when you connect for`\n  `the first time, to login with a token:`\n  `http://localhost:8888/?token=f849627e4d9d07d2158e3fcde93590eff4a9a7a01f65a8e7`\n\n\nYou should have a browser open up automatically, as shown in [Figure P-1](https://raw.githubusercontent.com/jimmysong/programmingbitcoin/master/images/prbc_0001.png).\n\n![](https://raw.githubusercontent.com/jimmysong/programmingbitcoin/master/images/prbc_0001.png)\n\nMORE INFO AT: [https://learning.oreilly.com/library/view/programming-bitcoin/9781492031482/preface01.html#setting_up](https://learning.oreilly.com/library/view/programming-bitcoin/9781492031482/preface01.html#setting_up)","funding_links":[],"categories":["Python","Blockchain Books"],"sub_categories":["Samples"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimmysong%2Fprogrammingbitcoin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimmysong%2Fprogrammingbitcoin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimmysong%2Fprogrammingbitcoin/lists"}