{"id":14977431,"url":"https://github.com/w3cdpass/notebook-ed","last_synced_at":"2025-10-28T03:32:11.290Z","repository":{"id":250402592,"uuid":"834375527","full_name":"w3cdpass/notebook-ed","owner":"w3cdpass","description":"file extension convertor from .py to .ipynb ","archived":false,"fork":false,"pushed_at":"2024-08-08T07:28:22.000Z","size":819,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T11:24:20.345Z","etag":null,"topics":["cli-tool","converter-py-to-ipynb","convertor","notebook-ed","pytoipynb"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/w3cdpass.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":null}},"created_at":"2024-07-27T05:00:50.000Z","updated_at":"2024-09-23T12:46:30.000Z","dependencies_parsed_at":"2024-09-14T22:39:06.550Z","dependency_job_id":null,"html_url":"https://github.com/w3cdpass/notebook-ed","commit_stats":null,"previous_names":["w3cdpass/notebook-ed"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cdpass%2Fnotebook-ed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cdpass%2Fnotebook-ed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cdpass%2Fnotebook-ed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cdpass%2Fnotebook-ed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w3cdpass","download_url":"https://codeload.github.com/w3cdpass/notebook-ed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238590596,"owners_count":19497350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli-tool","converter-py-to-ipynb","convertor","notebook-ed","pytoipynb"],"created_at":"2024-09-24T13:55:38.566Z","updated_at":"2025-10-28T03:32:10.944Z","avatar_url":"https://github.com/w3cdpass.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notebook-ed\n\nA tool to convert `.py` files to `.ipynb` files and delete the original `.py` files. This tool makes it easy to convert Python scripts into Jupyter Notebooks for easy sharing and collaboration.\n\nIf you find `notebook-ed` useful, please consider giving it a star on GitHub! Your support helps me to continue developing and improving this tool.\n\n![Python](https://img.shields.io/badge/python-v3.8+-blue.svg?logo=python)\n[![PyPI version](https://img.shields.io/badge/pip%20install-notebook-blue)](https://pypi.org/project/notebook-ed/)\n[![GitHub stars](https://img.shields.io/github/stars/w3cdpass/notebook-ed?style=social)](https://github.com/w3cdpass/notebook-ed/stargazers)\n\n## Project Insights\n\n`notebook-ed` is designed to streamline the process of converting Python scripts into Jupyter Notebooks. It is particularly useful for educators, data scientists, and developers who need to present their Python code in a more interactive format. \n\n### Features\n\n- Converts `.py` files to `.ipynb` files\n- Deletes the original `.py` files after conversion\n- Processes directories to batch convert multiple files\n- Simple command-line interface for ease of use\n\n## How to Start with Source Code\n\nTo start using `notebook-ed`, follow these steps:\n\n1. **Clone the Repository**\n\n    ```sh\n    git clone https://github.com/w3cdpass/notebook-ed.git\n    cd notebook-ed\n    ```\n\n2. **Create a Virtual Environment**\n\n    ```sh\n    python -m venv notebook_ed_env\n    ```\n\n3. **Activate the Virtual Environment**\n\n    - On Windows:\n        ```sh\n        notebook_ed_env\\Scripts\\activate\n        ```\n    - On macOS/Linux:\n        ```sh\n        source notebook_ed_env/bin/activate\n        ```\n\n4. **Install Dependencies**\n\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n5. **Run the Script**\n\n    ```sh\n    notebook-ed -r \u003croot_directory\u003e  # To convert all .py files in a directory\n    notebook-ed -f \u003cfile_path\u003e       # To convert a single .py file\n    ```\n\n## How to Contribute\n\nWe welcome contributions to `notebook-ed`! If you have ideas for improvements or have found bugs, please follow these steps to contribute:\n\n1. **Fork the Repository**\n\n    Click the \"Fork\" button at the top right corner of this repository page.\n\n2. **Clone Your Fork**\n\n    ```sh\n    git clone https://github.com/\u003cyour-username\u003e/notebook-ed.git\n    cd notebook-ed\n    ```\n\n3. **Create a New Branch**\n\n    ```sh\n    git checkout -b your-branch-name\n    ```\n\n4. **Make Your Changes**\n\n    Make your changes to the codebase and ensure that all tests pass.\n\n5. **Commit Your Changes**\n\n    ```sh\n    git add .\n    git commit -m \"Description of your changes\"\n    ```\n\n6. **Push to Your Fork**\n\n    ```sh\n    git push origin your-branch-name\n    ```\n\n7. **Create a Pull Request**\n\n    Go to the original repository and create a pull request with a description of your changes.\n\n## Contact\n\nFor any queries, feel free to contact me at [kupasva663@gmail.com](mailto:kupasva663@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw3cdpass%2Fnotebook-ed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw3cdpass%2Fnotebook-ed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw3cdpass%2Fnotebook-ed/lists"}