Skip to main content

A simple Jupyter kernel for Stata based on pystata

Project description

# pystata-kernel

A simple Jupyter kernel for Stata based on [pystata](https://www.stata.com/python/pystata/). Requires Stata 17 or above. Consider [stata_kernel](https://github.com/kylebarron/stata_kernel) instead if you have an older version of Stata.

### Installation To install pystata-kernel:

`python pip install git+https://github.com/ticoneva/pystata-kernel python -m pystata-kernel.install [--sys-prefix] [--prefix] `

Include –sys-prefix if you are installing pystata-kernel in a multi-user environment, or –prefix if you want to specify a path yourself.

The installation script will try to determine the location of your Stata installation and write it to a configuration file. You can manually modify this file if the installation script fails to detect your stata installation. The configuration file is saved under:

  • [prefix]/etc/pykernel-stata.conf if –sys-prefix or –prefix is specified.

  • ~/.pykernel-stata.conf otherwise.

If a configuration file exists in both locations, the user version takes precedent.

Syntax highlighting is the same as stata_kernel:

`sh conda install nodejs -c conda-forge --repodata-fn=repodata.json jupyter labextension install jupyterlab-stata-highlight `

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

pystata-kernel-0.1.5.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file pystata-kernel-0.1.5.tar.gz.

File metadata

  • Download URL: pystata-kernel-0.1.5.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pystata-kernel-0.1.5.tar.gz
Algorithm Hash digest
SHA256 2d54081316f188131a14c1a95d355a572f9f8c65795ec958224e005c2fa1ef48
MD5 0ef8a714bb95d0fcd16df4024d8fb040
BLAKE2b-256 812d7e4fc6f52e0eb0f5bcde213673f15dc00245443e810499a9b3c8eab3b378

See more details on using hashes here.

Supported by

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