jupyter-doexport

A custom exporter to export Stata Jupyter Notebooks to do-files

https://github.com/amichuda/jupyter-doexport

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.0%) to scientific vocabulary

Keywords

jupyter nbconvert stata
Last synced: 6 months ago · JSON representation ·

Repository

A custom exporter to export Stata Jupyter Notebooks to do-files

Basic Info
  • Host: GitHub
  • Owner: amichuda
  • License: gpl-3.0
  • Language: Jupyter Notebook
  • Default Branch: master
  • Size: 424 KB
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • Open Issues: 3
  • Releases: 1
Topics
jupyter nbconvert stata
Created about 7 years ago · Last pushed about 3 years ago
Metadata Files
Readme License Citation

README.md

jupyter-doexport

DOI

This packages provides a context menu and template for exporting a jupyter notebook with Stata kernel, to a do-file with all markdown and code ready to be executed at the Stata GUI or console.

To install the exporter, write:

pip install jupyter-doexport

Features

This package features two types of export, a regular script export to that you can then run in Stata, dofile, and one which also includes output from the notebook making it a sort of hybrid do-file/log, called dofile_output.

Your jupyter notebook should be available for export from the File -> Download as menu.

Alternatively, you can export your notebook from the commandline like so:

jupyter nbconvert --to [dofile/dofile_output] <name of file>

Currently, translation of stata_kernel magics are not supported.

Thanks also to

Kyle Barron for an amazing Stata kernel implementation. You can see how to install it here.

Owner

  • Name: Aleksandr Michuda
  • Login: amichuda
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Michuda"
  given-names: "Aleksandr"
  orcid: " https://orcid.org/0000-0001-6855-5107"
title: "jupyter-doexport"
version: 0.3.8
doi: 10.5281/zenodo.5807825 
date-released: 2021-12-28
url: "https://github.com/amichuda/jupyter-doexport"

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 27
  • Total Committers: 2
  • Avg Commits per committer: 13.5
  • Development Distribution Score (DDS): 0.222
Top Committers
Name Email Commits
Aleksandr Michuda a****a@g****m 21
dependabot[bot] 4****]@u****m 6

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 1
  • Total pull requests: 9
  • Average time to close issues: 3 months
  • Average time to close pull requests: about 2 months
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 9
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • amichuda (1)
Pull Request Authors
  • dependabot[bot] (9)
Top Labels
Issue Labels
Pull Request Labels
dependencies (9)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 15 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 6
  • Total maintainers: 1
pypi.org: jupyter-doexport

A package to convert jupyter notebooks to Stata do-files

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 15 Last month
Rankings
Dependent packages count: 10.0%
Dependent repos count: 21.7%
Forks count: 22.6%
Average: 23.3%
Stargazers count: 25.0%
Downloads: 37.0%
Maintainers (1)
Last synced: 7 months ago

Dependencies

poetry.lock pypi
  • appnope 0.1.2 develop
  • backcall 0.2.0 develop
  • beautifulsoup4 4.10.0 develop
  • certifi 2021.10.8 develop
  • charset-normalizer 2.0.7 develop
  • colorama 0.4.4 develop
  • debugpy 1.5.1 develop
  • decorator 5.1.0 develop
  • idna 3.3 develop
  • ipykernel 6.5.0 develop
  • ipython 7.31.1 develop
  • jedi 0.18.0 develop
  • matplotlib-inline 0.1.3 develop
  • numpy 1.21.4 develop
  • pandas 1.3.4 develop
  • parso 0.8.2 develop
  • pexpect 4.8.0 develop
  • pickleshare 0.7.5 develop
  • pillow 9.0.1 develop
  • prompt-toolkit 3.0.22 develop
  • ptyprocess 0.7.0 develop
  • pytz 2021.3 develop
  • requests 2.26.0 develop
  • soupsieve 2.3.1 develop
  • stata-kernel 1.12.2 develop
  • urllib3 1.26.7 develop
  • wcwidth 0.2.5 develop
  • attrs 21.2.0
  • bleach 4.1.0
  • cffi 1.15.0
  • defusedxml 0.7.1
  • entrypoints 0.3
  • ipython-genutils 0.2.0
  • jinja2 3.0.3
  • jsonschema 4.2.1
  • jupyter-client 7.0.6
  • jupyter-core 4.9.1
  • jupyterlab-pygments 0.1.2
  • markupsafe 2.0.1
  • mistune 0.8.4
  • nbclient 0.5.8
  • nbconvert 6.3.0
  • nbformat 5.1.3
  • nest-asyncio 1.5.1
  • packaging 21.2
  • pandocfilters 1.5.0
  • py 1.11.0
  • pycparser 2.21
  • pygments 2.10.0
  • pyparsing 2.4.7
  • pyrsistent 0.18.0
  • python-dateutil 2.8.2
  • pywin32 302
  • pyzmq 22.3.0
  • six 1.16.0
  • testpath 0.5.0
  • tornado 6.1
  • traitlets 5.1.1
  • webencodings 0.5.1
pyproject.toml pypi
  • stata-kernel ^1.12.2 develop
  • nbconvert ^6.3.0
  • python ^3.9