Skip to main content

A package to convert Jupyter notebooks to Markdown files

Project description

notebook2md

notebook2md is a Python package that allows you to convert Jupyter notebooks to Markdown files.

Installation

You can install notebook2md using pip:

pip install notebook2md

Usage

To convert a Jupyter notebook to a Markdown file, use the notebook2md command followed by the path to the .ipynb file and optionally, the output directory:

notebook2md <path_to_ipynb_file> [<output_directory>]

Project Structure

The notebook2md package includes the following files:

  • notebook2md/__init__.py: Initialization file for the notebook2md package.
  • notebook2md/converter.py: Contains the code for the notebook2md module. It exports a function convert_ipynb_to_md that converts Jupyter notebooks to Markdown files.
  • tests/__init__.py: Initialization file for the tests package.
  • tests/test_converter.py: Contains the unit tests for the notebook2md module. It includes a test case TestConverter with a method test_conversion to test the convert_ipynb_to_md function.
  • README.md: Documentation for the project.
  • setup.py: Setup script for the package. It includes the package metadata, dependencies, and entry points.
  • LICENSE: License information for the project.
  • requirements.txt: Lists the dependencies required for the project.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any inquiries, you can reach out to the author at shpetim@gmail.com.

Project Link

You can find the project on GitHub at https://github.com/shpetimhaxhiu/notebook2md.

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

notebook2md-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

notebook2md-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file notebook2md-0.1.0.tar.gz.

File metadata

  • Download URL: notebook2md-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.5

File hashes

Hashes for notebook2md-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2ab298e7b29fcb4297036660e36b6fcc18a80dcfcd828a3b363828bcaece3a61
MD5 276999f3871ada43427c68027bef5dda
BLAKE2b-256 8ee8b15ebbf1bf6cc364a2b2ad681a42d54539a9faa171f9ffbb8c3e7d90de74

See more details on using hashes here.

File details

Details for the file notebook2md-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: notebook2md-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.5

File hashes

Hashes for notebook2md-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6e62aaab9ce57541ea2b59238a184615890f8995635dc46b6566c2c13c0d925
MD5 9578ff1f3e1dc583b022d881ebca1342
BLAKE2b-256 5b4cddc0a26b0c652692a92385dd1753c07517f0562f9a510924da38e1e9ef71

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