vinta /
awesome-python
An opinionated list of Python frameworks, libraries, tools, and resources
90/100 healthLoading repository data…
rus1ru / repository
A Python tool that converts instructional PDF documents into executable Jupyter notebooks, using Groq's LLM API to intelligently detect and separate code blocks from explanatory text.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A powerful Python tool that converts instructional PDF documents into executable Jupyter notebooks, using Groq's LLM API to intelligently detect and separate code blocks from explanatory text.
Clone the repository:
git clone https://github.com/yourusername/pdf-to-notebook.git
cd pdf-to-notebook
Install the required dependencies:
pip install -r requirements.txt
Set your Groq API key:
# Option 1: Set as environment variable
export GROQ_API_KEY="your-groq-api-key-here"
# Option 2: Create a .env file (requires python-dotenv)
echo "GROQ_API_KEY=your-groq-api-key-here" > .env
Convert a PDF file to a Jupyter notebook:
python pdf_to_notebook.py path/to/your/document.pdf
This will create a new notebook file with the same name as your PDF in the current directory.
python pdf_to_notebook.py path/to/your/document.pdf --output output/notebook.ipynb --model llama3-70b-8192
pdf_path: Path to the PDF file (required)--output, -o: Output path for the notebook (optional, defaults to the PDF name with .ipynb extension)--api-key: Groq API key (optional if set as environment variable)--model: Groq model to use (optional, defaults to "llama3-70b-8192")Converting a Python tutorial PDF:
python pdf_to_notebook.py python_basics.pdf
Output:
Extracting text from PDF...
Processing content with Groq...
Processing chunks with Groq: 100%|██████████| 3/3 [00:12<00:00, 4.12s/chunk]
Creating Jupyter notebook...
Notebook created successfully: python_basics.ipynb
Total cells created: 28 (12 code, 16 markdown)
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Selected from shared topics, language and repository description—not editorial ratings.
vinta /
An opinionated list of Python frameworks, libraries, tools, and resources
90/100 healthohmyzsh /
🙃 A delightful community-driven (with 2,500+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool that makes it easy to keep up with the latest updates from the community.
100/100 healthSignificant-Gravitas /
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
90/100 healthcalesthio /
World's first open-source, agentic video production system. 12 pipelines, 52 tools, 500+ agent skills. Turn your AI coding assistant into a full video production studio.
98/100 healthcertbot /
Certbot is EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol.
85/100 healthComposioHQ /
Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
97/100 health