I made a comics site and did what everyone says is impossible!
You know what people say about flask? That it's great for medium and small projects, pff
I didn't listen. I went with my head and used the framework I like and make big :)) LONG LIVE FLASK LMAO
I created a fully functional comics site inspired but not too much by mangadex.
Database, users, comments, etc.
eh I'm going to try to put images of the code in reply because I'm super dumb and I don't know how to put images on reddit post
I really want to help people, if you have questions for flask projects, I think I'm finally at a level where I'm not ready to help!
If u wanna see the site : https://javu.xyz/ ( YES IT'S XYZ BUT AINT SCAM I'M JUST BROKE SORRY )
and it's might be down sometime cause i still dev, .. yes i use port 80 in dev progress, but i need to show my friend and get feedback and too dum to use Ngnix SORRY 🥲
/r/flask
https://redd.it/1j5mxei
You know what people say about flask? That it's great for medium and small projects, pff
I didn't listen. I went with my head and used the framework I like and make big :)) LONG LIVE FLASK LMAO
I created a fully functional comics site inspired but not too much by mangadex.
Database, users, comments, etc.
eh I'm going to try to put images of the code in reply because I'm super dumb and I don't know how to put images on reddit post
I really want to help people, if you have questions for flask projects, I think I'm finally at a level where I'm not ready to help!
If u wanna see the site : https://javu.xyz/ ( YES IT'S XYZ BUT AINT SCAM I'M JUST BROKE SORRY )
and it's might be down sometime cause i still dev, .. yes i use port 80 in dev progress, but i need to show my friend and get feedback and too dum to use Ngnix SORRY 🥲
/r/flask
https://redd.it/1j5mxei
Seeking Experienced Django Developer to Help Finalize Our Learning Management System (LMS)
Hello Redditors,
We're a team building a cutting-edge Learning Management System (LMS) using Django, and we're looking for an experienced Django developer to help us finalize the project.
Project Overview:
Our LMS aims to solve problems for private career colleges in Alberta and the way they manage their courses, students, and instructors. We've made significant progress, but we need an expert's touch to ensure the project meets the highest standards.
Responsibilities:
- Review and optimize our existing Django codebase
- Implement new features and functionality as needed
- Ensure scalability, security, and performance
- Collaborate with our team to resolve any issues or bugs
Requirements:
- 3+ years of experience with Django development
- Strong understanding of Django's ORM, templates, and views
- Experience with google classroom and google workspace API
- Excellent problem-solving skills and attention to detail
- Strong communication and collaboration skills
What We Offer:
- Competitive rates (negotiable)
- Opportunity to work on a high-impact project
- Flexible working hours and remote work options
- Collaborative and supportive team environment
If you're a seasoned Django developer looking for a new challenge, we'd love to hear from you! Please share your experience, portfolio, and availability in the comments below.
/r/django
https://redd.it/1j5wc0n
Hello Redditors,
We're a team building a cutting-edge Learning Management System (LMS) using Django, and we're looking for an experienced Django developer to help us finalize the project.
Project Overview:
Our LMS aims to solve problems for private career colleges in Alberta and the way they manage their courses, students, and instructors. We've made significant progress, but we need an expert's touch to ensure the project meets the highest standards.
Responsibilities:
- Review and optimize our existing Django codebase
- Implement new features and functionality as needed
- Ensure scalability, security, and performance
- Collaborate with our team to resolve any issues or bugs
Requirements:
- 3+ years of experience with Django development
- Strong understanding of Django's ORM, templates, and views
- Experience with google classroom and google workspace API
- Excellent problem-solving skills and attention to detail
- Strong communication and collaboration skills
What We Offer:
- Competitive rates (negotiable)
- Opportunity to work on a high-impact project
- Flexible working hours and remote work options
- Collaborative and supportive team environment
If you're a seasoned Django developer looking for a new challenge, we'd love to hear from you! Please share your experience, portfolio, and availability in the comments below.
/r/django
https://redd.it/1j5wc0n
Reddit
From the django community on Reddit
Explore this post and more from the django community
D What are the best practices for using PySpark with ML libraries
I use Pyspark for the data processing part of my project because my dataset is pretty large and using Pandas dataframe would be very slow.
But once my data is ready I want to use some of the methods from sklearn such as Stratified splitting which is not available on pyspark.ml. I considered converting the Pyspark data frame into the Panda's data frame and from there using sklearn and other ml libraries but this part is very computationally expensive and leads to memory errors
/r/MachineLearning
https://redd.it/1j5y3d2
I use Pyspark for the data processing part of my project because my dataset is pretty large and using Pandas dataframe would be very slow.
But once my data is ready I want to use some of the methods from sklearn such as Stratified splitting which is not available on pyspark.ml. I considered converting the Pyspark data frame into the Panda's data frame and from there using sklearn and other ml libraries but this part is very computationally expensive and leads to memory errors
/r/MachineLearning
https://redd.it/1j5y3d2
Saturday Daily Thread: Resource Request and Sharing! Daily Thread
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1j645mw
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1j645mw
Amazon
Fluent Python: Clear, Concise, and Effective Programming
Fluent Python: Clear, Concise, and Effective Programming [Ramalho, Luciano] on Amazon.com. *FREE* shipping on qualifying offers. Fluent Python: Clear, Concise, and Effective Programming
Polars Cloud; the distributed Cloud Architecture to run Polars anywhere
The team of Polars is releasing Polars Cloud. A way to remotely run Polars queries. You can apply for early access.
https://pola.rs/posts/polars-cloud-what-we-are-building/
/r/Python
https://redd.it/1j61i82
The team of Polars is releasing Polars Cloud. A way to remotely run Polars queries. You can apply for early access.
https://pola.rs/posts/polars-cloud-what-we-are-building/
/r/Python
https://redd.it/1j61i82
pola.rs
Polars Cloud; the distributed Cloud Architecture to run Polars anywhere
DataFrames for the new era
can i get some help beta testing my flask chatroom before i upload to python anywhere
i made a chatroom on replit before uploading for me and some friends i need help finding bugs and testing the profanity filter.
https://2715b3d1-7a59-402a-8c03-a163c99efbdd-00-22r3agubyqyof.kirk.replit.dev/chat
if you would like you can join the final version after testing
/r/flask
https://redd.it/1j688ry
i made a chatroom on replit before uploading for me and some friends i need help finding bugs and testing the profanity filter.
https://2715b3d1-7a59-402a-8c03-a163c99efbdd-00-22r3agubyqyof.kirk.replit.dev/chat
if you would like you can join the final version after testing
/r/flask
https://redd.it/1j688ry
Help understanding the difference between TestCase, APIRequestFactory, and APIClient from Django REST
As the name implies, I need help learning the differences between the TestCase, APIRequestFactory, and APIClient classes. I started learning about Django testing today because I want to use it for my portfolio project, but I'm having a hard time understanding the difference and choosing one of them. For context, I'm creating a Django REST API that will interact with a PostgreSQL database and right now I want to test my views and models.
/r/django
https://redd.it/1j69vt4
As the name implies, I need help learning the differences between the TestCase, APIRequestFactory, and APIClient classes. I started learning about Django testing today because I want to use it for my portfolio project, but I'm having a hard time understanding the difference and choosing one of them. For context, I'm creating a Django REST API that will interact with a PostgreSQL database and right now I want to test my views and models.
/r/django
https://redd.it/1j69vt4
Reddit
From the django community on Reddit
Explore this post and more from the django community
What's your setup on AWS today?
Hi folks.. I'm building an app platform - LocalOps - for devs to deploy any piece of dockerized code on AWS. My setup spins up a VPC and EKS cluster to automate all steps.
Curious - How are you deploying your Django app today? Are you using AWS? If so, what does your AWS setup look like? Why?
/r/django
https://redd.it/1j6gdhw
Hi folks.. I'm building an app platform - LocalOps - for devs to deploy any piece of dockerized code on AWS. My setup spins up a VPC and EKS cluster to automate all steps.
Curious - How are you deploying your Django app today? Are you using AWS? If so, what does your AWS setup look like? Why?
/r/django
https://redd.it/1j6gdhw
Reddit
From the django community on Reddit
Explore this post and more from the django community
Why are you using Tailwind?
does anyone use Tailwind css in their Flask projects? If so, how and why? I use it personally, but I wonder how others do it? Why this particular CSS?
/r/flask
https://redd.it/1j6ehrg
does anyone use Tailwind css in their Flask projects? If so, how and why? I use it personally, but I wonder how others do it? Why this particular CSS?
/r/flask
https://redd.it/1j6ehrg
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Python is big in Europe
TIL the Python docs analytics are public, including visitors’ countries. I thought it was interesting to showcase according to this there’s more Python going on in Europe than in the US! Blog post: https://thib.me/python-is-big-in-europe, top countries:
1. 🇩🇪 Germany, 245k
2. 🇬🇧 United Kingdom, 227k
3. 🇫🇷 France, 177k
4. 🇪🇸 Spain, 93k
5. 🇵🇱 Poland, 80.2k
6. 🇮🇹 Italy, 78.6k
7. 🇳🇱 Netherlands, 74.4k
8. 🇺🇦 Ukraine, 66.5k
TL;DR; maps can be misleading when they look at country-level data without adjusting for the size of the place. Per capita there are loads of areas of the world that have more Python users than the country-level data suggests. For Europe – get you DjangoCon and EuroPython 2025 tickets already!
/r/Python
https://redd.it/1j6d2wo
TIL the Python docs analytics are public, including visitors’ countries. I thought it was interesting to showcase according to this there’s more Python going on in Europe than in the US! Blog post: https://thib.me/python-is-big-in-europe, top countries:
1. 🇩🇪 Germany, 245k
2. 🇬🇧 United Kingdom, 227k
3. 🇫🇷 France, 177k
4. 🇪🇸 Spain, 93k
5. 🇵🇱 Poland, 80.2k
6. 🇮🇹 Italy, 78.6k
7. 🇳🇱 Netherlands, 74.4k
8. 🇺🇦 Ukraine, 66.5k
TL;DR; maps can be misleading when they look at country-level data without adjusting for the size of the place. Per capita there are loads of areas of the world that have more Python users than the country-level data suggests. For Europe – get you DjangoCon and EuroPython 2025 tickets already!
/r/Python
https://redd.it/1j6d2wo
Thibaud’s blog
Python is big in Europe
The data is there if you look just below the surface.
Has anyone created a really good set of cursor rules for Django?
I think there should be a middle ground between vibe coding and whatever we’re calling manual coding these days.
Telling cursor the structure and the rules of my django projects should rapidly accelerate development. I don’t just want to vibe code something, get it working but have no idea what’s going on in there.
Has anyone started a group of cursor rules specifically for django?
/r/django
https://redd.it/1j6j1ql
I think there should be a middle ground between vibe coding and whatever we’re calling manual coding these days.
Telling cursor the structure and the rules of my django projects should rapidly accelerate development. I don’t just want to vibe code something, get it working but have no idea what’s going on in there.
Has anyone started a group of cursor rules specifically for django?
/r/django
https://redd.it/1j6j1ql
Reddit
From the django community on Reddit
Explore this post and more from the django community
I built a python library for realistic web scraping and captcha bypass
After countless hours spent automating tasks only to get blocked by Cloudflare, rage-quitting over reCAPTCHA v3 (why is there no button to click?), and nearly throwing my laptop out the window, I built PyDoll.
GitHub: https://github.com/thalissonvs/pydoll/
It’s not magic, but it solves what matters:
- Native bypass for reCAPTCHA v3 & Cloudflare Turnstile (HCaptcha coming soon).
- 100% async – because nobody has time to wait for requests.
- Currently running in a critical project at work (translation: if it breaks, I get fired).
Built on top of Chromium's CDP, with a focus on realistic interactions—from clicks to navigation behavior. If you’d like to support or contribute, drop a star! ⭐️
/r/Python
https://redd.it/1j689ag
After countless hours spent automating tasks only to get blocked by Cloudflare, rage-quitting over reCAPTCHA v3 (why is there no button to click?), and nearly throwing my laptop out the window, I built PyDoll.
GitHub: https://github.com/thalissonvs/pydoll/
It’s not magic, but it solves what matters:
- Native bypass for reCAPTCHA v3 & Cloudflare Turnstile (HCaptcha coming soon).
- 100% async – because nobody has time to wait for requests.
- Currently running in a critical project at work (translation: if it breaks, I get fired).
Built on top of Chromium's CDP, with a focus on realistic interactions—from clicks to navigation behavior. If you’d like to support or contribute, drop a star! ⭐️
/r/Python
https://redd.it/1j689ag
GitHub
GitHub - autoscrape-labs/pydoll: Pydoll is a library for automating chromium-based browsers without a WebDriver, offering realistic…
Pydoll is a library for automating chromium-based browsers without a WebDriver, offering realistic interactions. - GitHub - autoscrape-labs/pydoll: Pydoll is a library for automating chromium-base...
I have a angular with django backend. I am trying to implement redis with celery and rabbit mq for parallel processing so that when I am sending multiple request to backend, it could be in a quene and then work accordingly.
How do I do it?
/r/djangolearning
https://redd.it/1j6jcfc
How do I do it?
/r/djangolearning
https://redd.it/1j6jcfc
Reddit
I have a angular with django backend. I am trying to implement redis with celery and rabbit mq for parallel processing so that…
27K subscribers in the djangolearning community. A group dedicated to learning Django, a Python web framework.
How Does a Django Project Work in Real-World Startups? Seeking Insights from Experienced Developers
Hey everyone,
We’ve just started a new startup, and after some research, we’ve decided to go with Django for our backend. Right now, I’m the one leading the Django team, but my experience is mostly in freelancing. Managing a team and handling the entire tech process—from planning to deployment—is something new for me, and I’d love to hear from experienced Django developers about how things work in real-world projects.
Here are the main things I’d love to understand:
1. Planning & Architecture – How do you structure a Django project for long-term scalability?
2. Git & GitHub Workflow – Best practices for managing a team using GitHub (branches, PRs, CI/CD).
3. Scaling Considerations – Differences in approach for a small project vs. a high-scale system.
4. Is Django a Good Choice for a Low-Scale Project? – Would you recommend Django for early-stage startups, or is it overkill?
5. Deployment – What are the best deployment strategies for Django in 2024? Docker, Kubernetes, traditional servers?
6. Technology Stack – What are the essential tools (DB, caching, task queues, etc.) used in professional Django setups?
7. Security & Best Practices – How do you keep a Django project secure in production?
8. Team Management – How do you manage a team of
/r/django
https://redd.it/1j6pc54
Hey everyone,
We’ve just started a new startup, and after some research, we’ve decided to go with Django for our backend. Right now, I’m the one leading the Django team, but my experience is mostly in freelancing. Managing a team and handling the entire tech process—from planning to deployment—is something new for me, and I’d love to hear from experienced Django developers about how things work in real-world projects.
Here are the main things I’d love to understand:
1. Planning & Architecture – How do you structure a Django project for long-term scalability?
2. Git & GitHub Workflow – Best practices for managing a team using GitHub (branches, PRs, CI/CD).
3. Scaling Considerations – Differences in approach for a small project vs. a high-scale system.
4. Is Django a Good Choice for a Low-Scale Project? – Would you recommend Django for early-stage startups, or is it overkill?
5. Deployment – What are the best deployment strategies for Django in 2024? Docker, Kubernetes, traditional servers?
6. Technology Stack – What are the essential tools (DB, caching, task queues, etc.) used in professional Django setups?
7. Security & Best Practices – How do you keep a Django project secure in production?
8. Team Management – How do you manage a team of
/r/django
https://redd.it/1j6pc54
Reddit
From the django community on Reddit
Explore this post and more from the django community
Sunday Daily Thread: What's everyone working on this week?
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1j6upf0
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1j6upf0
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Getting a CORS error in browser console when making request from NextJS frontend to Django backend
Hello!
I'm attempting to make a request from my locally running NextJS frontend (**http://localhost:3000**) to my locally running Django server (**http://127.0.0.1:8000**). However, I'm running into an error on making the request:
`Access to fetch at 'http://127.0.0.1:8000/api/test' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.`
I did some reading on CORS on MDN here (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) and did this in my settings.py + installed `django-cors-headers`:
ALLOWED_HOSTS = ["localhost", "127.0.0.1"]
CORS_ALLOW_HEADERS = ["test", "content-type", "authorization", "x-csrftoken", "x-requested-with"]
CORS_ALLOWED_ORIGINS = ["http://localhost:3000"]
CORS_ALLOW_METHODS = ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"]
CORS_ALLOW_CREDENTIALS = True
MIDDLEWARE = [
"corsheaders.middleware.CorsMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
/r/django
https://redd.it/1j6t85n
Hello!
I'm attempting to make a request from my locally running NextJS frontend (**http://localhost:3000**) to my locally running Django server (**http://127.0.0.1:8000**). However, I'm running into an error on making the request:
`Access to fetch at 'http://127.0.0.1:8000/api/test' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.`
I did some reading on CORS on MDN here (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) and did this in my settings.py + installed `django-cors-headers`:
ALLOWED_HOSTS = ["localhost", "127.0.0.1"]
CORS_ALLOW_HEADERS = ["test", "content-type", "authorization", "x-csrftoken", "x-requested-with"]
CORS_ALLOWED_ORIGINS = ["http://localhost:3000"]
CORS_ALLOW_METHODS = ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"]
CORS_ALLOW_CREDENTIALS = True
MIDDLEWARE = [
"corsheaders.middleware.CorsMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
/r/django
https://redd.it/1j6t85n
MDN Web Docs
Cross-Origin Resource Sharing (CORS) - HTTP | MDN
Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any origins (domain, scheme, or port) other than its own from which a browser should permit loading resources. CORS also relies on a mechanism by which…
Meet Jonq: The jq wrapper that makes JSON Querying feel easier
Yo sup folks! Introducing Jonq(JsON Query) Gonna try to keep this short. I just hate writing jq syntaxes. I was thinking how can we make the syntaxes more human-readable. So i created a python wrapper which has syntaxes like sql+python
Inspiration
Hate the syntax in JQ. Super difficult to read.
What My Project Does
Built on top of jq for speed and flexibility. Instead of wrestling with some syntax thats really hard to manipulate, I thought maybe just combine python and sql syntaxes and wrap it around JQ.
Key Features
SQL-Like Queries: Write select field1, field2 if condition to grab and filter data.
Aggregations: Built-in functions like sum(), avg(), count(), max(), and min() (Will expand it if i have more use cases on my end or if anyone wants more features)
Nested Data Made Simple: Traverse nested jsons with ease I guess (e.g., user.profile.age).
Sorting and Limiting: Add keywords to order your results or cap the output.
Comparison:
JQ
JQ is a beast but tough to read....
In Jonq, queries look like plain English instructions. No more decoding a string of pipes and brackets.
Here’s an example to prove it:
JSON File:
Example
{"name": "Andy", "age": 30},
{"name": "Bob", "age":
/r/Python
[https://redd.it/1j6ykrs
Yo sup folks! Introducing Jonq(JsON Query) Gonna try to keep this short. I just hate writing jq syntaxes. I was thinking how can we make the syntaxes more human-readable. So i created a python wrapper which has syntaxes like sql+python
Inspiration
Hate the syntax in JQ. Super difficult to read.
What My Project Does
Built on top of jq for speed and flexibility. Instead of wrestling with some syntax thats really hard to manipulate, I thought maybe just combine python and sql syntaxes and wrap it around JQ.
Key Features
SQL-Like Queries: Write select field1, field2 if condition to grab and filter data.
Aggregations: Built-in functions like sum(), avg(), count(), max(), and min() (Will expand it if i have more use cases on my end or if anyone wants more features)
Nested Data Made Simple: Traverse nested jsons with ease I guess (e.g., user.profile.age).
Sorting and Limiting: Add keywords to order your results or cap the output.
Comparison:
JQ
JQ is a beast but tough to read....
In Jonq, queries look like plain English instructions. No more decoding a string of pipes and brackets.
Here’s an example to prove it:
JSON File:
Example
{"name": "Andy", "age": 30},
{"name": "Bob", "age":
/r/Python
[https://redd.it/1j6ykrs
Reddit
From the Python community on Reddit: Meet Jonq: The jq wrapper that makes JSON Querying feel easier
Explore this post and more from the Python community
Example data repository using Async Postgres, SQLAlchemy, Pydantic
What My Project Does
This is a data repository example which provides a clean, type-safe interface for creating, retrieving, and updating jobs in a PostgreSQL database. It leverages SQLModel (SQLAlchemy + Pydantic) for a modern, fully typed approach to database interactions with async support.
Target Audience
Python developers who use data-access patterns such has Martin Fowler's Repository pattern.
Comparison
This is in contrast to how I normally implement data repositories. I usually hand-craft my data repositories and load sql/*.sql files from disk. This allows for anyone who knows SQL to add new sql files or edit existing ones. This pattern has served me well in other languages such as: Clojure, Crystal, C#, Go, Ruby, etc.
However, in this project, I wanted to explore using the following choices: Async Postgres, SQLAlchemy ORM, Pydantic. SQLAlchemy also provides implicit support for connection pooling.
Project url: https://gitlab.com/ejstembler/python-repository-example
/r/Python
https://redd.it/1j6zwrh
What My Project Does
This is a data repository example which provides a clean, type-safe interface for creating, retrieving, and updating jobs in a PostgreSQL database. It leverages SQLModel (SQLAlchemy + Pydantic) for a modern, fully typed approach to database interactions with async support.
Target Audience
Python developers who use data-access patterns such has Martin Fowler's Repository pattern.
Comparison
This is in contrast to how I normally implement data repositories. I usually hand-craft my data repositories and load sql/*.sql files from disk. This allows for anyone who knows SQL to add new sql files or edit existing ones. This pattern has served me well in other languages such as: Clojure, Crystal, C#, Go, Ruby, etc.
However, in this project, I wanted to explore using the following choices: Async Postgres, SQLAlchemy ORM, Pydantic. SQLAlchemy also provides implicit support for connection pooling.
Project url: https://gitlab.com/ejstembler/python-repository-example
/r/Python
https://redd.it/1j6zwrh
martinfowler.com
Repository
Mediates between the domain and data mapping layers using a
collection-like interface for accessing domain objects.
collection-like interface for accessing domain objects.
Should I keep a native web app setup and put all the load in aws or optimised both front-end and backend?
So in the current setup, I have a django with angular hosted on GCP. My company is saying so keep the front-end as it is with no queue system and just keep send the multiple request to backend with could be completed via multi threading. Is it a good approach or is a better way?
/r/djangolearning
https://redd.it/1j6yeys
So in the current setup, I have a django with angular hosted on GCP. My company is saying so keep the front-end as it is with no queue system and just keep send the multiple request to backend with could be completed via multi threading. Is it a good approach or is a better way?
/r/djangolearning
https://redd.it/1j6yeys
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community