🐍📰 How to Serve a Website With FastAPI Using HTML and Jinja2 Use FastAPI to render Jinja2 templates for dynamic websites, and add a color picker that copies hex codes. #python
FastAPI with Jinja2 and HTML
More Relevant Posts
-
Camel Case vs Snake Case explained in 60 seconds! Naming things in code sounds simple until it is not 😅 Here is a quick visual breakdown of camelCase and snake_case and when to use each. 💡 What you will learn • The core difference between both styles • Where each one is commonly used • Real examples you will see in projects • Common mistakes developers make 👨💻 Quick takeaway Use camelCase in JavaScript and most frontend work Use snake_case in Python, databases, and configs Small details like naming can make your code much easier to read and maintain. Which one do you prefer in your projects 👇 Read the full guide here: https://lnkd.in/d9vTEPfe
To view or add a comment, sign in
-
-
Write portable plugins that run natively or in the browser using Python, Rust, C#, and more! 🐍🦀 https://www.fslabs.ca/sdk The Foresight Development Kit is shipping support for runtime extensions later this year. Write application code once, and automatically generate WASM and gRPC bindings. You can distribute these bindings to build your own internal or external extension ecosystem. This video shows identical extensions written in Python and Rust running in the browser!
To view or add a comment, sign in
-
Just published a tutorial on building Claude Code Plugins from scratch. Think of Claude Plugins like app bundles — one package that installs slash commands, MCPs, hooks, and skills all at once. In this tutorial, you'll build a plugin that can: 1) Review your code 2) Fix formatting automatically 3) Warn you about accidentally committed secrets, passwords 4) Pull live Python documentation via Context7 I deliberately kept the tutorial simple — the goal isn't to overwhelm you with complexity, but to help you genuinely understand the plugin ecosystem and what each feature actually does. Once that clicks, you can build anything on top of it. Full tutorial here: https://lnkd.in/ebP7Xhi2 #ClaudeAI #AITools #DeveloperExperience #Anthropic #ClaudeCode #DevTools #Productivity
To view or add a comment, sign in
-
The flasgo website is now live. You want a fast async typed Python web framework that has security built in from the start(follows owasp 2025) requires Python 3.14 and has a small attack surface as possible with django like security primatives but is easy as using flask? Then you have come to the right place. #python #webdevelopment #web
To view or add a comment, sign in
-
2 Useful python libraries you might need! 1. xlwings : turns your excel into executable app! use it as a function in python to do 1000s of calculations, like running design of experiments, optimizations etc. No more manual work. 2. Pyside: Turn you code into .exe and ship it as a GUI. I use it all the time to make applications.
To view or add a comment, sign in
-
💻 Local vs Server: The Real Python Experience Working on Python projects locally feels easy — everything runs perfectly on your machine. But once you deploy the same code on a company server, reality hits: • Hard-coded paths or environment-specific settings break. • Dependencies installed locally may not exist on the server. • A requirements.txt file becomes mandatory to ensure all packages and versions are installed correctly. ✅ Lesson learned: Local testing is just the beginning — making your code robust, portable, and server-ready is the real challenge. #Python #SoftwareDevelopment #Deployment #ProgrammingTips
To view or add a comment, sign in
-
Introducing python-typemap on PyPI. The packaged version of Vercel's PEP 827 implementation for Python 3.14+. Features: Pick, Omit, Member, Param, KeyOf, Template, DeepPartial, IsAssignable, and more. Installation: pip install typemap We created this packaged version to make it available on PyPI while we wait for PEP 827 to be officially merged. All the intellectual work, research, and implementation was done by the Vercel team, they are the real creators. We're just maintaining the PyPI package. If you appreciate this work, please star the original @vercel/python-typemap repository and https://lnkd.in/eNvb6TET !
To view or add a comment, sign in
-
-
When I first read about PEP 827, I couldn't believe it. TypeScript's type operators : Pick, Omit, keyof, extends, ... coming to Python? I've been dreaming about this for years. Python is already for me the best backend language. But there was one thing missing: type-level computation. PEP 827 fills that gap. That's why we packaged Vercel's prototype on PyPI: pip install typemap This could transform Python into the ultimate backend language. And it might actually happen. Incredible work from Yury Selivanov, Michael Sullivan and dnwpark https://lnkd.in/e-vf85DH
Introducing python-typemap on PyPI. The packaged version of Vercel's PEP 827 implementation for Python 3.14+. Features: Pick, Omit, Member, Param, KeyOf, Template, DeepPartial, IsAssignable, and more. Installation: pip install typemap We created this packaged version to make it available on PyPI while we wait for PEP 827 to be officially merged. All the intellectual work, research, and implementation was done by the Vercel team, they are the real creators. We're just maintaining the PyPI package. If you appreciate this work, please star the original @vercel/python-typemap repository and https://lnkd.in/eNvb6TET !
To view or add a comment, sign in
-
-
VSCode workspace is a game changer! If you're writing Python codes for different versions (2.* and 3.*), then you should try the workspace in VSCode. Basically with workspace, you can define/set which CPython version to use when you click the play/run button in VSCode. This is very useful in cases where you might be trying out a logic in Python 2 and also on Python 3, or when you're migrating either upwards (from 2 to 3) or downwards (from 3 to 2), and since it's on the same IDE, the experience is really enjoyable. This also works on the same major version, so maybe you have Python 2.2 and 2.7, or 3.10 and 3.13; and it's not limited to just 2, you can have more. First time I tried it, had me smiling :) cause I work on different versions and it's not fun going to console and manually typing which python version to run on which folder --- (side note: python launcher is a great tool, but having an IDE that can support multiple versions seamlessly is just another level of ease). I really liked it, try it and see for yourself ;) #vscode #workspace #dcm #python
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