Pystata-kernel

Latest version: v0.3.2

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.2.0

Magics (Experimental)

Magics are commands that only work in `pystata-kernel` and are not part of Stata's syntax. Magics normally start with `%`, but this will cause errors when the notebook is exported and run as a Stata script. As an alternative, you can prefix the magic name with `*%`, which will simply be treated by Stata as a single-line comment.

`pystata` currently supports the following magics:

| Magic | Description | Full Syntax |
| :-- | :-- | :-- |
| `*%browse` | View dataset | `*%browse [-h] [N] [varlist] [if]` |
| `*%help` | Display a help file in rich text| `*%help [-h] command_or_topic_name` |

0.1.21

1. New options `splash` controls display of the splash message during Stata startup. Only works on `pystata` 0.1.1 or above.
2. `echo = None` will suppress all commands.
3. Corrected path detection on MacOS.
4. Added `packaging` to requirement.

0.1.18

1. Updated `KernelSpecManager()` call. Installation should no longer show the deprecation warning seen in previous versions.
2. Added `echo = False` to generated configuration file.

0.1.17

Added a new option `echo`. If set to `True` in the configuration file, the kernel will echo the command while running a cell with only a single command. This setting has no effect on cells containing multiple commands. Default is `False`.

0.1.16

Execution counter now increments correctly.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.