Skip to main content

Frank Dellaerts book support lib, made with nbdev

Project description

gtbook

The book can be found at https://www.roboticsbook.org and has the following chapters:

The structure of gtbook mirrors this organization, and then has a few more support modules for displaying graphs inside notebooks and for running the code in the book. The gtbook modules are listed above alongside the chapter.

How to use

In the book chapters, we should have a cell that fetches the latest version using pip:

%pip install -q -U gtbook

The above automatically installs other libraries on colab, e.g., gtsam and plotly.

You also needs a cell that imports what you need in a particular section, for example:

from gtbook.display import show
from gtbook.discrete import Variables

Further usage examples of these and more functions are given in the module documentation itself.

There are also some command line tools defined in the cli module.

Notes for development

Mostly for Frank as he adds to the library.

  • For version 2 of nbdev in a local conda environment called nbdev2. It can be re-created with conda env create -f environment.yml.
  • I used conda install -c fastai nbdev to install nbdev in there as well, but the github workflow uses pip install nbdev so I can just use one channel.
  • pip install -e . for local install of the remaining modules specified in the settings.ini file
  • to preview the docs do nbdev_preview
  • to push a new version, use nbdev_prepare and then push.

To release a new version:

  • nbdev_bump_version
  • nbdev_pypi

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gtbook-0.0.38.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

gtbook-0.0.38-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

Details for the file gtbook-0.0.38.tar.gz.

File metadata

  • Download URL: gtbook-0.0.38.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for gtbook-0.0.38.tar.gz
Algorithm Hash digest
SHA256 3f9a77e1dd9583bac245fac96d31cac4b0010d1664b9955d063d9ea0a9bff892
MD5 d261f8f7d3c8cc974d501e6db4ee2801
BLAKE2b-256 7785049b09ab0182225e9b853939dbb62d5e5518086c37bf7ca257659e49d4e5

See more details on using hashes here.

File details

Details for the file gtbook-0.0.38-py3-none-any.whl.

File metadata

  • Download URL: gtbook-0.0.38-py3-none-any.whl
  • Upload date:
  • Size: 33.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for gtbook-0.0.38-py3-none-any.whl
Algorithm Hash digest
SHA256 f8f2747ce4303908797f88453d8cd1b4f02fcbedb59bd41f062b3b4f640bd530
MD5 6446500fa2bd9ec9d4f70342a7145c89
BLAKE2b-256 98c68253734e36744d2a12e054572a57b3b6b19dbeb31f475081147f21a7c3f7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page