Metadata-Version: 2.4
Name: ipykernel-helper
Version: 0.0.60
Summary: Helpers for ipykernel and friends
Author-email: Jeremy Howard <info@fast.ai>
License: Apache-2.0
Project-URL: Repository, https://github.com/AnswerDotAI/ipykernel-helper
Project-URL: Documentation, https://AnswerDotAI.github.io/ipykernel-helper
Keywords: nbdev,jupyter,notebook,python
Classifier: Natural Language :: English
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyskills
Requires-Dist: python-fasthtml
Requires-Dist: fastcore>=2.1.6
Requires-Dist: toolslm>=0.3.37
Requires-Dist: jedi
Requires-Dist: ipython
Requires-Dist: ipykernel
Requires-Dist: beautifulsoup4
Requires-Dist: lxml
Requires-Dist: html2text
Requires-Dist: cloudscraper
Provides-Extra: dev
Requires-Dist: pandas; extra == "dev"
Requires-Dist: jinja2; extra == "dev"
Dynamic: license-file

# ipykernel-helper


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

There’s not many helpers here yet!

## Installation

Install latest from [pypi](https://pypi.org/project/ipykernel-helper/)

``` sh
$ pip install ipykernel_helper
```

## How to use

``` python
from ipykernel_helper import *
from pprint import pprint
```

``` python
a = "hi"
b = dict(d='foo ' * 10)
def f(i:int): ...
```

``` python
_vs,_fs = get_ipython().user_items(max_len=15)
print('--- vars')
pprint(_vs)
print('--- defs')
pprint(_fs)
```

    --- vars
    {'IN_COLAB': 'False',
     'IN_IPYTHON': 'False',
     'IN_JUPYTER': 'False',
     'IN_NOTEBOOK': 'False',
     'Self': '<fastcore.basic…',
     'UNSET': 'UNSET',
     'a': 'hi',
     'allow_imports': "{'PIL'}",
     'arg0': '<fastcore.basic…',
     'arg1': '<fastcore.basic…',
     'arg2': '<fastcore.basic…',
     'arg3': '<fastcore.basic…',
     'arg4': '<fastcore.basic…',
     'b': "{'d': 'foo foo …",
     'custom_types': "{<class 'pathli…",
     'defaults': 'namespace(cpus=…',
     'dh_settings': "{'port': 5001}",
     'flash': 'gemini/gemini-3…',
     'inum_methods': "['__iadd__', '_…",
     'mermaid_url': 'https://cdn.jsd…',
     'null': '<fastcore.basic…',
     'num_methods': "['__add__', '__…",
     'o': 'PIL',
     'prose_types': "{'pandas.DataFr…",
     'python': '<safepyrun.core…',
     'rnum_methods': "['__radd__', '_…",
     'spark_chars': '▁▂▃▅▆▇',
     'string_classes': "(<class 'str'>,…",
     'type_map': "{'string': <cla…",
     'valid_paths': "['.', '/tmp', '…"}
    --- defs
    {'aaiws_tree': "(path: str = '~/aai-ws', depth=3)",
     'add_citations': '(content, anno)',
     'f': '(i: int)',
     'flash_search': "(pr, search='l')",
     'flash_searches': "(prs: list[str], search: str = 'l')",
     'tree': "(path='.', **kwargs)"}
