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 thenotebook2mdpackage.notebook2md/converter.py: Contains the code for thenotebook2mdmodule. It exports a functionconvert_ipynb_to_mdthat converts Jupyter notebooks to Markdown files.tests/__init__.py: Initialization file for thetestspackage.tests/test_converter.py: Contains the unit tests for thenotebook2mdmodule. It includes a test caseTestConverterwith a methodtest_conversionto test theconvert_ipynb_to_mdfunction.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ab298e7b29fcb4297036660e36b6fcc18a80dcfcd828a3b363828bcaece3a61
|
|
| MD5 |
276999f3871ada43427c68027bef5dda
|
|
| BLAKE2b-256 |
8ee8b15ebbf1bf6cc364a2b2ad681a42d54539a9faa171f9ffbb8c3e7d90de74
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6e62aaab9ce57541ea2b59238a184615890f8995635dc46b6566c2c13c0d925
|
|
| MD5 |
9578ff1f3e1dc583b022d881ebca1342
|
|
| BLAKE2b-256 |
5b4cddc0a26b0c652692a92385dd1753c07517f0562f9a510924da38e1e9ef71
|