Nikhil Akkinikhilakki.in·17 hours agoPydanticAI: Crafting Intelligent Agents with EaseIntroduction In the rapidly evolving landscape of artificial intelligence, the ability to build robust, production-grade applications with generative AI is becoming increasingly essential. Enter PydanticAI, a Python agent framework designed to simpli...Python Developmentpydantic-ai
Daniel Olahdanielolah.hashnode.dev·Dec 15, 2024How to Build Flexible Data Models in Django with JSONField and PydanticTraditional relational databases have long struggled with storing semi-structured data. This inflexibility comes from the need for a predefined schema, which can require upfront planning. But in recent years, RDBMS have evolved, offering more flexibi...10 likes·50 readsDjango
Salonisaloni1.hashnode.dev·Nov 10, 2024FastAPI Project with detailed explanation for beginnersFastAPI is a Python web framework for building APIs quickly and easily, and it’s especially great if we want to create apps that need to respond fast to many requests at once. It’s called fast because it helps us code quickly and run apps with high p...FastAPI
Sadra Yahyapourblog.imsadra.me·Nov 3, 2024FeaturedGeneric Typing in PythonSince Python introduced the ability to add generic types to functions, the language has become much more type-friendly and encourages you to follow this convention for more maintainable code. Obviously, this will lead to a better development experien...31 likes·938 readsPython Generics
Ashish Sam T Georgegetwithashish.hashnode.dev·Sep 16, 2024GraphQL with Python StrawberryImagine this: You walk into your favorite grocery store, ready to fill your cart with the essentials. You’re in a hurry, so you only want specific items—some organic strawberries, a loaf of sourdough, and almond milk. Now, instead of wandering throug...GraphQL
Dan GirelliniforFractional AI Engineering Blogengineering.fractional.ai·Aug 30, 2024Taming LLM Responses: Dynamic Pydantic Models for Flexible Structured OutputAs developers working with Large Language Models (LLMs), we often grapple with the challenge of constraining their outputs to meet our specific needs. In this post, I will share a technique I developed to enforce structured responses from LLMs, parti...229 readsPython
Flask Indiaflask-india.hashnode.dev·Aug 25, 2024Using Flask with Pydantic, new BFF's?Introduction: Flask is one of the popular options to help you build REST APIs over HTTP. Although there are other time-tested frameworks like Django and the new kid on the block FastAPI, Flask still holds relevance when we need to create an API fairl...264 readsFlask-India Tutorial SeriesPython
Ashish Sam T Georgegetwithashish.hashnode.dev·Aug 13, 2024Python Beanie and FastAPI: Building a Data EmpireImagine you’re the proud ruler of a kingdom. Not just any kingdom, though—a data kingdom where every brick in the castle represents a piece of information, and your citizens (users) are always hungry for efficient services. As the monarch of this emp...beanie
Stephen Collinssteve555.hashnode.dev·Aug 12, 2024Introducing JSON Schemas for AI Data IntegrityAs AI models, particularly large language models (LLMs), become integrated into business critical applications, developers face the challenge of managing and validating data structures effectively and reliably. This is where JSON Schemas come into pl...llm
Abdulrahman Mustafapebble-programming.hashnode.dev·Jul 6, 2024Efficient API Handling in Python: Connection Pooling and Async Calls for EgyTech API WrapperLast article, we created a simple pythonic wrapper for the EgyTech API, with basic functionality. This time we will be extending out wrapper's functionality with some interesting concepts. I've also included some diagrams to help you with these conce...Creating, Documenting, & Publishing A Pythonic API Wrapperasynchronous API Calls