Skip to main content

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.

Release files for notebook2md 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for notebook2md 0.1.0
File Size Uploaded
notebook2md-0.1.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for notebook2md 0.1.0
File Interpreter ABI Platform
notebook2md-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / notebook2md-0.1.0.tar.gz

Download URL notebook2md-0.1.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2ab298e7b29fcb4297036660e36b6fcc18a80dcfcd828a3b363828bcaece3a61
BLAKE2b-256 checksum
How to use checksums
8ee8b15ebbf1bf6cc364a2b2ad681a42d54539a9faa171f9ffbb8c3e7d90de74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.5

Release files / notebook2md-0.1.0-py3-none-any.whl

Download URL notebook2md-0.1.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6e62aaab9ce57541ea2b59238a184615890f8995635dc46b6566c2c13c0d925
BLAKE2b-256 checksum
How to use checksums
5b4cddc0a26b0c652692a92385dd1753c07517f0562f9a510924da38e1e9ef71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page