Skip to main content

A Jupyter kernel for Stata. Works with Windows, macOS, and Linux. Preserves program state.

Project description

stata_kernel

Build Status

stata_kernel is a Jupyter kernel for Stata; It works on Windows, macOS, and Linux.

For documentation and more information, see: https://kylebarron.github.io/stata_kernel

Atom Jupyter Notebook
Atom Jupyter Notebook

Changelog

[1.4.0] - 2018-08-21

  • Return results as Stata returns them, not when command finishes
  • More stable method of knowing when a command finishes by looking for the text's MD5 hash
  • Finds Stata executable during install
  • Automatically show graphs after graph commands
  • Add %help and %browse magics
  • Allow for graph scaling factors
  • Fix Windows locals issue
  • Fix image spacing

[1.3.1] - 2018-08-13

  • Fix pip installation by adding CHANGELOG and requirements files to MANIFEST.in.

[1.3.0] - 2018-08-13

  • Context-aware autocompletions
  • Support for #delimit; blocks interactively
  • Better parsing for when a user-provided block is complete or not. Typing 2 + /// will prompt for the next line.
  • Split lexer into two lexers. This is helpful to first remove comments and convert #delimit; blocks to cr-delimited blocks.
  • Fix svg aspect ratio
  • Magics for plotting, retrieving locals and globals, timing commands, seeing current delimiter.
  • Add documentation website

[1.2.0] - 2018-08-11

  • Support for if, else, else if, cap, qui, noi, program, input blocks #28, #27, #30
  • Support different graph formats #21
  • Heavily refactor codebase into hopefully more stable API #32
  • Correctly parse long, text wrapped lines from log file or console #41
  • Use a single cache directory, configurable by the user #43
  • Correctly remove comments, using a tokenizer #38, #25, #29

[1.1.0] - 2018-08-06

Initial release! This would ordinarily be something like version 0.1.0, but the Echo kernel framework that I made this from was marked as 1.1 internally, and I forgot to change that before people started downloading this. I don't want to move my number down to 0.1 and have people who already installed not be able to upgrade.

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

stata_kernel-1.4.0.tar.gz (37.9 kB view details)

Uploaded Source

Built Distribution

stata_kernel-1.4.0-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file stata_kernel-1.4.0.tar.gz.

File metadata

  • Download URL: stata_kernel-1.4.0.tar.gz
  • Upload date:
  • Size: 37.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.4

File hashes

Hashes for stata_kernel-1.4.0.tar.gz
Algorithm Hash digest
SHA256 0cdd7c4a02ef732ec5852a12c4625b8e229a26df8a19b25865f1a6f2a552daca
MD5 e845d711baade74c5636d9fcda3d2d27
BLAKE2b-256 fae27b13d03880ca13ba1e3ae3213c5a1b1dc43fedef6bf650aa357da7cc8d32

See more details on using hashes here.

File details

Details for the file stata_kernel-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: stata_kernel-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.4

File hashes

Hashes for stata_kernel-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e73f449ac252da8c3af25532aae57303e7bf7485d2b5080dd09c540dc31400b7
MD5 da138d4c969f136728b6f835982ab3a8
BLAKE2b-256 a170f18173e73da61d20872aa9c36fd7bc5786c2ada729e804751c3e58ce2a1f

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