Now that Substack supports code coloration, I will update the old articles one by one to convert them to the new format, give them some updates, fix typos, etc. The first one getting a refresh is: "Relieving your Python packaging pain" https://lnkd.in/eTsikRTR Now that uv exists, this article is mostly for when you can't use uv since it's a superior solution.
Bite Code’s Post
More Relevant Posts
-
🚀 Just built a small Python project: QR Code Generator This mini project takes a user-provided URL and generates a QR code that is automatically saved as an image on the device. It was a great way to explore working with Python libraries and handling simple user input/output. 🔧 Tech used: Python, qrcode library 🔗 link : https://lnkd.in/gTABh48i #Python #Programming #Coding #OpenSource #GitHubProjects
To view or add a comment, sign in
-
Every Python developer has faced this at least once. You clone a repository. Follow the README step by step. And then… ModuleNotFoundError After dealing with this problem one too many times, I built SafeENV - a simple CLI tool that fixes Python environments automatically. What it does: • Creates virtual environments • Detects dependencies from your code • Installs missing packages • Repairs broken setups All with a few simple commands like: safeenv setup safeenv doctor safeenv fix The goal is simple: Spend less time fixing environments and more time writing code. 🔗 GitHub: https://lnkd.in/g6SwBYBR 🌐 Website: https://lnkd.in/gGZ-VxdH 📦 PyPI: https://lnkd.in/gq5Y5E6z Would love feedback . #Python #OpenSource #DeveloperTools #CLI
To view or add a comment, sign in
-
-
Managing Python environments across different tools can get messy fast. As I’ve been using uv with good results in my Python projects, I decided to align agents around a uv-first workflow for generating and running code. Using one tool for environments, dependencies, and execution made the setup much simpler and more predictable. I wrote down how I set this up step by step: https://lnkd.in/dAvyjEwr There’s also a GitHub repo linked in the post with AGENTS.md and CLAUDE.md you can use as a starting point.
To view or add a comment, sign in
-
-
I replaced my usual setup (pip + virtualenv + pip-tools) with uv — and the difference was honestly surprising. ⚡ Faster installs ⚡ Simpler workflow ⚡ One tool instead of three I wrote a quick blog breaking it down: What uv actually does How it compares to pip Whether it’s worth switching If you're working with Python, this might save you a lot of time 👇 https://lnkd.in/d9Y4mcUP
To view or add a comment, sign in
-
🚀 Just Built My First API Integration Project in Python! Today I worked on integrating a live Quotes API using Python and the requests library. GITHUB Repo Link:- https://lnkd.in/gdx-b94v The project fetches random motivational quotes from an online API and displays them in real-time. 💡 Key learnings from this project: How to work with APIs and endpoints Handling JSON responses in Python Using response.raise_for_status() for error handling Writing clean exception handling with try-except Saving API data into a file with timestamps 📌 Built Features: Fetch random quotes from API Display quote & author in terminal Save quotes in a text file for future use This small project helped me understand how real-world applications communicate with external services. Next step: Building a GUI-based Quote Generator App 🚀 #Python #APIs #BeginnerProjects #CodingJourney #100DaysOfCode #Developers #LearningByDoing
To view or add a comment, sign in
-
-
If you work with Python, you should try uv init --bare. Instead of generating a full project structure with extra files, this command creates a minimal Python project with just the essentials. No clutter. No unnecessary boilerplate. This is especially useful when you: • Want a clean starting point • Prefer structuring the project your own way Want experimenting with quick prototypes Example: uv init --bare my-project You get a lightweight project initialized with pyproject.toml, and you can build the rest exactly how you want. Simple idea, but it makes the Python project setup much cleaner. Sometimes the best tools are the ones that stay out of your way. #python #fastapi
To view or add a comment, sign in
-
💻 Docker Practice: Building & Running Custom Images Today I practiced containerizing a Python application using a custom Dockerfile. 💠 Defined the Environment: Created a Dockerfile using python:3.11-slim as the base image. 💠 Built the Image: Used docker build -t mydockerapp to package the app.py script into a portable image. 💠 Execution: Ran the container and successfully received the "welcome to my dockerized application" output. 💠 Image Management: Verified the new image in the local repository and checked its disk usage. #Docker #DevOps #Python #Containerization #LearningJourney #BackendDevelopment
To view or add a comment, sign in
-
-
A Python package with 35M monthly downloads was compromised today. Malicious code. Credential exfiltration. Self-replication. The package was LiteLLM — the exact abstraction layer sitting between your app and every LLM provider you use. This is why your abstraction layer choice is an architectural decision, not a library preference. New article in first comment👇
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development