Easily convert Jupyter Notebook .ipynb
files to clean Python .py
scripts using a simple Streamlit interface.
Try the app directly on Streamlit Cloud:
👉 https://ipynb-to-py.streamlit.app/
pip install -r requirements.txt
streamlit run app.py
Then open your browser at: http://localhost:8501
🚀 Features: ✅ Convert .ipynb notebooks to .py Python scripts ✅ Option to remove Markdown cells ✅ Supports multiple languages: Arabic, English, Chinese ✅ Upload one or multiple files at once ✅ Download converted files individually or as a ZIP archive
Requirements: Python 3.9 or newer
streamlit
nbformat
nbconvert
Install all requirements using:
pip install -r requirements.txt
✔️ EXE Desktop version (offline tool) coming soon ✔️ Enhanced GUI for local use ✔️ More advanced options for code cleaning and customization
👨💻 About An open-source tool developed by Ahmed ElFaki to simplify .ipynb to .py conversion for developers, students, and data scientists.
Feel free to fork, contribute, or suggest features!