token-utils
  • About tokens and token-utils
  • API

Appendix

  • Origin and history of token-utils
  • Tokenizing notebook
token-utils
  • Index

Index

_ | D | F | G | I | M | P | S | T | U

_

  • __contains__() (token_utils.Token method)
  • __eq__() (token_utils.Token method)
  • __hash__ (token_utils.Token attribute)
  • __init__() (token_utils.Token method)
  • __repr__() (token_utils.Token method)
  • __str__() (token_utils.Token method)
  • __weakref__ (token_utils.Token attribute)

D

  • dedent() (in module token_utils)

F

  • find_substring_index() (in module token_utils)
  • find_token_by_position() (in module token_utils)
  • fix_empty_line() (in module token_utils)

G

  • get_first() (in module token_utils)
  • get_first_index() (in module token_utils)
  • get_last() (in module token_utils)
  • get_last_index() (in module token_utils)
  • get_lines() (in module token_utils)
  • get_number() (in module token_utils)
  • get_significant_tokens() (in module token_utils)

I

  • indent() (in module token_utils)
  • is_comment() (token_utils.Token method)
  • is_complex() (token_utils.Token method)
  • is_float() (token_utils.Token method)
  • is_identifier() (token_utils.Token method)
  • is_integer() (token_utils.Token method)
  • is_keyword() (token_utils.Token method)
  • is_name() (token_utils.Token method)
  • is_number() (token_utils.Token method)
  • is_space() (token_utils.Token method)
  • is_string() (token_utils.Token method)

M

  • module
    • token_utils

P

  • print_tokens() (in module token_utils)

S

  • strip_comment() (in module token_utils)

T

  • Token (class in token_utils)
  • token_utils
    • module
  • tokenize() (in module token_utils)

U

  • untokenize() (in module token_utils)

© Copyright 2026, AndrĂ© Roberge.

Built with Sphinx using a theme provided by Read the Docs.