{"id":15201972,"url":"https://github.com/demining/ledger-google-colab","last_synced_at":"2025-07-06T00:33:17.927Z","repository":{"id":144620947,"uuid":"460849819","full_name":"demining/ledger-Google-Colab","owner":"demining","description":"Double-entry accounting system with a command-line reporting interface Google Colab","archived":false,"fork":false,"pushed_at":"2022-07-02T00:59:37.000Z","size":17407,"stargazers_count":0,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T07:36:04.416Z","etag":null,"topics":["bitcoin","bitcoin-api","bitcoin-core","bitcoin-payment","bitcoin-transaction","bitcoin-wallet","colab","colab-notebook","colab-notebooks","colab-tutorial","colaboratory","google-colab","google-colab-gpu","google-colab-notebook","google-colab-tutorial","google-colaboratory","google-colaboratory-notebooks"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/demining.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2022-02-18T12:44:32.000Z","updated_at":"2024-08-12T20:20:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"284173ac-f0b7-4739-921f-861dd8282611","html_url":"https://github.com/demining/ledger-Google-Colab","commit_stats":{"total_commits":5925,"total_committers":208,"mean_commits":"28.485576923076923","dds":0.320337552742616,"last_synced_commit":"79d1775d111e998218d0233b7cdd02227b7030ef"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demining%2Fledger-Google-Colab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demining%2Fledger-Google-Colab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demining%2Fledger-Google-Colab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demining%2Fledger-Google-Colab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/demining","download_url":"https://codeload.github.com/demining/ledger-Google-Colab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571329,"owners_count":21126516,"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":["bitcoin","bitcoin-api","bitcoin-core","bitcoin-payment","bitcoin-transaction","bitcoin-wallet","colab","colab-notebook","colab-notebooks","colab-tutorial","colaboratory","google-colab","google-colab-gpu","google-colab-notebook","google-colab-tutorial","google-colaboratory","google-colaboratory-notebooks"],"created_at":"2024-09-28T04:00:17.337Z","updated_at":"2025-04-12T12:50:28.449Z","avatar_url":"https://github.com/demining.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"-------------------------\n### Run ledger-Google-Colab\n\nhttps://colab.research.google.com/drive/1OShIMVcFZ_khsUIBOIV1lzrqAGo1gfm_?usp=sharing\n\n-------------------------\n\n[![Join the chat at https://gitter.im/use-package/Lobby](https://badges.gitter.im/use-package/Lobby.svg)](https://gitter.im/use-package/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n![Build Status master](https://github.com/ledger/ledger/actions/workflows/cmake.yml/badge.svg)\n[![Status](https://img.shields.io/badge/status-active-brightgreen.svg?style=flat)](https://github.com/ledger/ledger/pulse/monthly)\n[![License](https://img.shields.io/badge/license-BSD-blue.svg?style=flat)](http://opensource.org/licenses/BSD-3-Clause)\n[![GitHub release](https://img.shields.io/github/release/ledger/ledger.svg?style=flat)](https://github.com/ledger/ledger/releases)\n\n# Ledger: Command-Line Accounting\n\nLedger is a powerful, double-entry accounting system that is accessed from the\nUNIX command-line.  This may put off some users, since there is no flashy UI,\nbut for those who want unparalleled reporting access to their data there are\nfew alternatives.\n\nLedger uses text files for input.  It reads the files and generates reports;\nthere is no other database or stored state.  To use Ledger, you create a\nfile of your account names and transactions, run from the command line with\nsome options to specify input and requested reports, and get output.\nThe output is generally plain text, though you could generate a graph or\nhtml instead.  Ledger is simple in concept, surprisingly rich in ability,\nand easy to use.\n\n\n## For the Impatient\n\nI know, you just want to build and play.  If you have all the [dependencies](#dependencies)\ninstalled, then simply do this:\n\n    $ git clone git://github.com/ledger/ledger.git\n    $ cd ledger \u0026\u0026 ./acprep update  # Update to the latest, configure, make\n\nNow try your first ledger command:\n\n    $ ./ledger -f test/input/sample.dat reg\n\nFor help on keeping your journal have a look at the\n[documentation] and the [wiki][] (Also see the “Resources” section at the\nend of this file). An Emacs mode for Ledger files can be found in the\n[ledger/ledger-mode repository] and a vim plugin is located in the\n[ledger/vim-ledger repository].\n\n## Docker version\n\nIf you have Docker installed on your computer or server, you can use a [Docker version](https://hub.docker.com/r/dcycle/ledger/) of this software, without installing any further dependencies:\n\n    $ docker run --rm -v \"$PWD\"/test/input:/data dcycle/ledger:1 -f /data/sample.dat reg\n\n## Dependencies\n\nIf you wish to proceed in this venture, you'll need a few dependencies.  The\neasiest way to get them for your platform is to run this handy Python\nscript:\n\n    $ ./acprep dependencies\n\nIf that doesn't completely work, here are the dependencies for building the\ncurrent `master` branch:\n\nDependency | Version (or greater)\n-----------|---------------------\n[Boost] | 1.49\n[GMP] | 4.2.2\n[MPFR] | 2.4.0\n[utfcpp] | 2.3.4\n[gettext] | 0.17 _optional_\n[libedit] | 20090111-3.0 _optional_\n[Python] | 2.4 _optional_\n[doxygen] | 1.5.7.1 _optional_, for `make docs`\n[graphviz] | 2.20.3 _optional_, for `make docs`\n[texinfo] | 4.13 _optional_, for `make docs`\n[lcov] | 1.6 _optional_, for `make report`, used with `/./acprep gcov`\n[sloccount] | 2.26 _optional_, for `make sloc`\n\n### macOS\n\nYou can use [Homebrew] or [MacPorts] to install Ledger easily on macOS.\n\n#### 1. Homebrew\n\nYou can see the parameters you can pass while installing with brew by the command `brew options ledger`. To install ledger, simply type the following command:\n\n    $ brew install ledger\n\nIf you to want to startup python, use the following command:\n\n    $ ledger python\n\n\n#### 2. MacPorts\n\nIf you build stuff using MacPorts on macOS, as I do, here is what you would\nrun:\n\n    $ sudo port install -f cmake python37 \\\n         libiconv zlib gmp \\\n         mpfr ncurses ncursesw \\\n         gettext libedit boost-jam \\\n         boost +st+python37+icu texlive doxygen graphviz \\\n         texinfo lcov sloccount\n\n### Conda\n\nLedger is also available through [Conda](https://conda.io) from the\n[conda-forge](https://conda-forge.org) channel:\n\n    $ conda install -c conda-forge ledger\n\n### Ubuntu\n\nIf you're going to build on Ubuntu, `sudo apt-get install ...` the\nfollowing packages (current as of Ubuntu 18.04):\n\n    $ sudo apt-get install build-essential cmake doxygen \\\n         libboost-system-dev libboost-dev python3-dev gettext git \\\n         libboost-date-time-dev libboost-filesystem-dev \\\n         libboost-iostreams-dev libboost-python-dev libboost-regex-dev \\\n         libboost-test-dev libedit-dev libgmp3-dev libmpfr-dev texinfo tzdata\n\n### Debian\n\nDebian 9 (stretch), Debian 10 (buster), Debian testing and Debian unstable\n(sid) contain all components needed to build ledger.  You can install all\nrequired build dependencies using the following command:\n\n    $ sudo apt-get install build-essential cmake autopoint texinfo python3-dev \\\n         zlib1g-dev libbz2-dev libgmp3-dev gettext libmpfr-dev \\\n         libboost-date-time-dev libboost-filesystem-dev \\\n         libboost-graph-dev libboost-iostreams-dev \\\n         libboost-python-dev libboost-regex-dev libboost-test-dev\n\n### Fedora\n\nYou can install all required build dependencies under Fedora using the\nfollowing command (tested with Fedora 32):\n\n    $ sudo dnf install boost-date-time boost-devel boost-filesystem \\\n        boost-iostreams boost-python3-devel boost-regex boost-system \\\n        boost-test cmake doxygen gettext git gmp-devel libedit-devel \\\n        mpfr-devel python3-devel texinfo tzdata\n\n## Building\n\nThe next step is preparing your environment for building.  While you can use\n`cmake .` and make, I've prepared a script that does a lot more of the\nfootwork for you:\n\n    $ ./acprep update\n    # or, if you want to use the Boost libraries with suffix -mt, install in\n    # $HOME/local and build with 2 processes in parallel\n    $ ./acprep update --boost-suffix=-mt --prefix=$HOME/local -j2\n\nPlease read the contents of `CMakeFiles/CMakeOutput.log` and\n`CMakeFiles/CMakeError.log` if the configure step fails.  Also,\nsee the `help` subcommand to `acprep`, which explains some of its many\noptions.  It's pretty much the only command I run for configuring, building\nand testing Ledger.\n\nYou can run `make check` to confirm the result, and `make install` to install.\n\n## Resources\n\nNow that you're up and running, here are a few resources to keep in mind:\n\n - [Homepage]\n - [Documentation]\n - [IRC channel][IRC]: #ledger channel on Libera Chat\n - [Mailing List / Forum][mailing list]\n - [GitHub project page][github]\n - [Code analysis][openhub]\n\nIf you have ideas you'd like to share, the best way is either to e-mail me a\npatch (I prefer attachments over pasted text), or to get an account on GitHub.\nOnce you do, fork the [Ledger project][github],\nhack as much as you like, then send me a pull request via GitHub.\n\n[Homepage]: http://ledger-cli.org/\n[documentation]: http://www.ledger-cli.org/docs.html\n[mailing list]: http://list.ledger-cli.org/\n[wiki]: http://wiki.ledger-cli.org/\n[IRC]: irc://irc.libera.chat/ledger\n[github]: http://github.com/ledger/ledger\n[ledger/vim-ledger repository]: https://github.com/ledger/vim-ledger\n[Homebrew]: http://brew.sh/\n[MacPorts]: https://www.macports.org/\n[Boost]: http://boost.org\n[GMP]: http://gmplib.org/\n[MPFR]: http://www.mpfr.org/\n[utfcpp]: http://utfcpp.sourceforge.net\n[gettext]: https://www.gnu.org/software/gettext/\n[libedit]: http://thrysoee.dk/editline/\n[Python]: http://python.org\n[doxygen]: http://www.doxygen.org/\n[graphviz]: http://graphviz.org/\n[texinfo]: http://www.gnu.org/software/texinfo/\n[lcov]: http://ltp.sourceforge.net/coverage/lcov.php\n[sloccount]: http://www.dwheeler.com/sloccount/\n[pcre]: http://www.pcre.org/\n[libofx]: http://libofx.sourceforge.net\n[expat]: http://www.libexpat.org\n[libxml2]: http://xmlsoft.org\n[openhub]: https://www.openhub.net/p/ledger\n\n----\n\n|  | Donation Address |\n| --- | --- |\n| ♥ __BTC__ | 1Lw2kh9WzCActXSGHxyypGLkqQZfxDpw8v |\n| ♥ __ETH__ | 0xaBd66CF90898517573f19184b3297d651f7b90bf |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemining%2Fledger-google-colab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdemining%2Fledger-google-colab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemining%2Fledger-google-colab/lists"}