I made a CV Generator using PyQt6 and Python | Modern Design
# What my Project Does?
cvGen is a CV generator made using PyQt6 and Python. It collects user data via inputs given by the user and then crafts a beautiful CV using built-in HTML and CSS templates.
# Target Audience
People who want to make good looking CVs without using any command line tools / YAML formatting manually.
# Comparison
For comparison, I don't know what to compare it to since there are no other UI-based CV generators. If you know any, please let me know.
# GitHub
GitHub Link: https://github.com/rohankishore/cvGen
# Known Issues
Only one template as of now (looking forward to expanding it)
Only support input via the UI (coding support for JSON/YAML)
/r/Python
https://redd.it/1b2eerp
# What my Project Does?
cvGen is a CV generator made using PyQt6 and Python. It collects user data via inputs given by the user and then crafts a beautiful CV using built-in HTML and CSS templates.
# Target Audience
People who want to make good looking CVs without using any command line tools / YAML formatting manually.
# Comparison
For comparison, I don't know what to compare it to since there are no other UI-based CV generators. If you know any, please let me know.
# GitHub
GitHub Link: https://github.com/rohankishore/cvGen
# Known Issues
Only one template as of now (looking forward to expanding it)
Only support input via the UI (coding support for JSON/YAML)
/r/Python
https://redd.it/1b2eerp
GitHub
GitHub - rohankishore/cvGen
Contribute to rohankishore/cvGen development by creating an account on GitHub.
Starter template for Cython
Hi guys
​
I made a starter template repo for creating Python bindings from a C library.. maybe someone else might find this useful - https://github.com/joegasewicz/cython-starter-template
​
thanks for looking
​
/r/Python
https://redd.it/1b2km3x
Hi guys
​
I made a starter template repo for creating Python bindings from a C library.. maybe someone else might find this useful - https://github.com/joegasewicz/cython-starter-template
​
thanks for looking
​
/r/Python
https://redd.it/1b2km3x
GitHub
GitHub - joegasewicz/cython-starter-template: Starter template to create Python bindings from a C static library
Starter template to create Python bindings from a C static library - joegasewicz/cython-starter-template
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
# Weekly Thread: Professional Use, Jobs, and Education π’
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! π
/r/Python
https://redd.it/1b2ltwd
# Weekly Thread: Professional Use, Jobs, and Education π’
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! π
/r/Python
https://redd.it/1b2ltwd
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
How does the the .only() method work?
q1 = Students.object.filter(major='cs').only('lastname')
q2 = Students.object.only('lastname')
Can someone elaborate on what the
/r/djangolearning
https://redd.it/1b2hkiq
q1 = Students.object.filter(major='cs').only('lastname')
q2 = Students.object.only('lastname')
Can someone elaborate on what the
only() method's purpose is in q1 and q2? Any help will be greatly appreciated. Thank you very much./r/djangolearning
https://redd.it/1b2hkiq
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Automate creating a virtual environment and upgrading pip tutorial
I've been building a lot of projects lately and got tired of upgrading pip each time I create a new venv (virtual environment), so I decided to look up solutions and found that I can use a script to run the steps I usually do manually.
This is obviously not something new or that necessary but thought it would be fun and save a few seconds especially when am building new projects everyday.
I created a short tutorial on how to do this: https://youtu.be/xMDh4TYoIB4?si=iEziqP5YQFj2wIHW
/r/Python
https://redd.it/1b2ldnp
I've been building a lot of projects lately and got tired of upgrading pip each time I create a new venv (virtual environment), so I decided to look up solutions and found that I can use a script to run the steps I usually do manually.
This is obviously not something new or that necessary but thought it would be fun and save a few seconds especially when am building new projects everyday.
I created a short tutorial on how to do this: https://youtu.be/xMDh4TYoIB4?si=iEziqP5YQFj2wIHW
/r/Python
https://redd.it/1b2ldnp
YouTube
Automate upgrading pip in a Python virtual environment [venv]
This tutorial shows you how to create a virtual environment and upgrade Pip using a simple shell script, saving you time and effort.
In this video, you'll learn:
β A quick method to automate venv creation
β How to upgrade Pip effortlessly
Subscribe forβ¦
In this video, you'll learn:
β A quick method to automate venv creation
β How to upgrade Pip effortlessly
Subscribe forβ¦
Best Approach for Excel-Like Table with Sort, Filter and Freeze Panes
The title sums it up. What library is best to get here? I have been researching/chatting away and can't seem to get the freeze panes right. Can anyone recommend a solution here?
/r/flask
https://redd.it/1b2ijrp
The title sums it up. What library is best to get here? I have been researching/chatting away and can't seem to get the freeze panes right. Can anyone recommend a solution here?
/r/flask
https://redd.it/1b2ijrp
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Sharing with you a powerful social network I built using Django
Hello, fellow creators and tech enthusiasts! π· Iβm thrilled to share with you a powerful social network I built using Django. My social network is all about sharing experiences. Imagine a platform where users can post their stories, lessons learned, and insightsβwhether itβs overcoming challenges, achieving personal growth, or simply connecting with like-minded individuals. Itβs a space where we learn from each other, inspire one another, and foster meaningful connections. Here is the link to the source code if you want to learn from my Django Project: https://github.com/ShadieC/Storykin--Django_Social_Network. If you find this project useful, consider supporting it by buying me a coffee.
/r/django
https://redd.it/1b2tid5
Hello, fellow creators and tech enthusiasts! π· Iβm thrilled to share with you a powerful social network I built using Django. My social network is all about sharing experiences. Imagine a platform where users can post their stories, lessons learned, and insightsβwhether itβs overcoming challenges, achieving personal growth, or simply connecting with like-minded individuals. Itβs a space where we learn from each other, inspire one another, and foster meaningful connections. Here is the link to the source code if you want to learn from my Django Project: https://github.com/ShadieC/Storykin--Django_Social_Network. If you find this project useful, consider supporting it by buying me a coffee.
/r/django
https://redd.it/1b2tid5
GitHub
GitHub - ShadieC/Storykin--Django_Social_Network: An interactive platform that enables individuals to share their unique experiencesβ¦
An interactive platform that enables individuals to share their unique experiences across various stages of life and emotional journeys. This platform serves as a learning hub where others can gain...
D Chance to improve my profile for PhD after a terrible Ms thesis
Iβm finishing my Master thesis in 2 weeks and I feel it super bad. Since I failed in the last Phd application cycle, I wanted to try it again, after my graduation. However, then people will care more about my thesis. I know bad thesis might be a big red flag for phd, but is there any chance to save my profile, like getting an RA position and publishing papers?
/r/MachineLearning
https://redd.it/1b2ozh7
Iβm finishing my Master thesis in 2 weeks and I feel it super bad. Since I failed in the last Phd application cycle, I wanted to try it again, after my graduation. However, then people will care more about my thesis. I know bad thesis might be a big red flag for phd, but is there any chance to save my profile, like getting an RA position and publishing papers?
/r/MachineLearning
https://redd.it/1b2ozh7
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
recapcha not working.
i used this article to deploy my flask app
https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-22-04
is i missed something? because it's working on my local host and previous hosting.
now giving this error: ERROR for site owner: Invalid site key
and i double checked everything my domain is registered on Google captcha console so this is not the issue..
/r/flask
https://redd.it/1b2haw9
i used this article to deploy my flask app
https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-22-04
is i missed something? because it's working on my local host and previous hosting.
now giving this error: ERROR for site owner: Invalid site key
and i double checked everything my domain is registered on Google captcha console so this is not the issue..
/r/flask
https://redd.it/1b2haw9
Digitalocean
How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 22.04 | DigitalOcean
In this guide, you will build a Python application using the Flask microframework on Ubuntu 22.04. The majority of this tutorial is about how to set up the β¦
This is what a +60k git diff gives Pythonistas this year
It was particularly challenging, the end result is worth it. A simple table replace a thousand words.
Comparison
----------
|Feature|niquests|requests|httpx|aiohttp|
|:-|:-|:-|:-|:-|
|`HTTP/1.1`|β |β |β |β |
|`HTTP/2`|β |β|β |β|
|`HTTP/3 over QUIC`|β |β|β|β|
|`Synchronous`|β |β |β |β|
|`Asynchronous`|β |β|β |β |
|`Thread Safe`|β |β |β|*N/A*|
|`Task Safe`|β |*N/A*|β |β |
|`OS Trust Store`|β |β|β|β|
|`Multiplexing`|β |β|*Limited*|β|
|`DNSSEC`|β |β|β|β|
|`Customizable DNS Resolution`|β |β|β|β |
|`DNS over HTTPS`|β |β|β|β|
|`DNS over QUIC`|β |β|β|β|
|`DNS over TLS`|β |β|β|β|
|`Network Fine Tuning & Inspect`|β |β|*Limited*|*Limited*|
|`Certificate Revocation Protection`|β |β|β|β|
|`Session Persistence`|β |β |β |β |
|`In-memory Certificate CA & mTLS`|β |β|*Limited*|*Limited*|
|`SOCKS 4/5 Proxies`|β |β |β |β|
|`HTTP/HTTPS Proxies`|β |β |β |β |
|`TLS-in-TLS Support`|β |β |β |β |
|`Direct HTTP/3 Negocation`|β |N/A|N/A|N/A|
|`Package / SLSA Signed`|β |β|β|β |
What My Project Does
--------------------
Gives an alternative in a limited HTTP clients world.
Target Audience
---------------
Made for the broader audience.
* Source: [https://github.com/jawah/niquests](https://github.com/jawah/niquests)
/r/Python
https://redd.it/1b2t6pd
It was particularly challenging, the end result is worth it. A simple table replace a thousand words.
Comparison
----------
|Feature|niquests|requests|httpx|aiohttp|
|:-|:-|:-|:-|:-|
|`HTTP/1.1`|β |β |β |β |
|`HTTP/2`|β |β|β |β|
|`HTTP/3 over QUIC`|β |β|β|β|
|`Synchronous`|β |β |β |β|
|`Asynchronous`|β |β|β |β |
|`Thread Safe`|β |β |β|*N/A*|
|`Task Safe`|β |*N/A*|β |β |
|`OS Trust Store`|β |β|β|β|
|`Multiplexing`|β |β|*Limited*|β|
|`DNSSEC`|β |β|β|β|
|`Customizable DNS Resolution`|β |β|β|β |
|`DNS over HTTPS`|β |β|β|β|
|`DNS over QUIC`|β |β|β|β|
|`DNS over TLS`|β |β|β|β|
|`Network Fine Tuning & Inspect`|β |β|*Limited*|*Limited*|
|`Certificate Revocation Protection`|β |β|β|β|
|`Session Persistence`|β |β |β |β |
|`In-memory Certificate CA & mTLS`|β |β|*Limited*|*Limited*|
|`SOCKS 4/5 Proxies`|β |β |β |β|
|`HTTP/HTTPS Proxies`|β |β |β |β |
|`TLS-in-TLS Support`|β |β |β |β |
|`Direct HTTP/3 Negocation`|β |N/A|N/A|N/A|
|`Package / SLSA Signed`|β |β|β|β |
What My Project Does
--------------------
Gives an alternative in a limited HTTP clients world.
Target Audience
---------------
Made for the broader audience.
* Source: [https://github.com/jawah/niquests](https://github.com/jawah/niquests)
/r/Python
https://redd.it/1b2t6pd
GitHub
GitHub - jawah/niquests: Drop-in replacement for Requests. Automatic HTTP/1.1, HTTP/2, and HTTP/3. WebSocket, and SSE included.
Drop-in replacement for Requests. Automatic HTTP/1.1, HTTP/2, and HTTP/3. WebSocket, and SSE included. - jawah/niquests
Handling databases in deployment
Dear community,
I have been learning python (from scratch) for the last three years by tinkering with Django and making different web-applications. Last week I actually did my first deployment on pythonanywhere and got everything to work fine.
When I update the app I do it locally, push to github and then to pythonanywhere. I also update the database locally and push it together with the code. But if I am to implement user accounts, I reason that the database has to be online and can't be altered locally anymore. What is a good practice for doing this? Do you use third party solutions - same as for static files?
​
/r/django
https://redd.it/1b2wnf4
Dear community,
I have been learning python (from scratch) for the last three years by tinkering with Django and making different web-applications. Last week I actually did my first deployment on pythonanywhere and got everything to work fine.
When I update the app I do it locally, push to github and then to pythonanywhere. I also update the database locally and push it together with the code. But if I am to implement user accounts, I reason that the database has to be online and can't be altered locally anymore. What is a good practice for doing this? Do you use third party solutions - same as for static files?
​
/r/django
https://redd.it/1b2wnf4
Reddit
From the django community on Reddit
Explore this post and more from the django community
Help Flask Socketio + uWSGI + Nginx
Hey.
I am trying to use flask-socketio on my uwsgi + nginx server.
I read ...ALOT... of documentation pages and tutorials. Maybe I just can't read or my braincells are not enough. But I just cant get it working. Okay first of all a bit about the structure.
I have multiple flask servers running behind the nginx.
Every Server gets a path. So mydomain.com/projectname
So my current "test" project is under mydomain.com/sockettoe (dont ask just not creative in naming)
The first problem was socketio (in js fronend) trys to connect on mydomain.com wich is not where the flask-socketio runs. I fixed that by adding this to my config
location /socket.io
{
include uwsgi_params
uwsgi_pass unix:/pathtoproject/sockettoe/sockettoe.sock;
}
Now the server get my requests buuut they dont seem to connect. Cant fire any event.
What I thought is that the uwsgi does not run socketio but app(Flask app) so I tryed to change that but uwsgi does not want to run a SocketIo object. Can someone help me with this you will save me alot of headache because I will not give up. It must be possible.
Oh also my backend gets a Exception:
/r/flask
https://redd.it/1b2wwls
Hey.
I am trying to use flask-socketio on my uwsgi + nginx server.
I read ...ALOT... of documentation pages and tutorials. Maybe I just can't read or my braincells are not enough. But I just cant get it working. Okay first of all a bit about the structure.
I have multiple flask servers running behind the nginx.
Every Server gets a path. So mydomain.com/projectname
So my current "test" project is under mydomain.com/sockettoe (dont ask just not creative in naming)
The first problem was socketio (in js fronend) trys to connect on mydomain.com wich is not where the flask-socketio runs. I fixed that by adding this to my config
location /socket.io
{
include uwsgi_params
uwsgi_pass unix:/pathtoproject/sockettoe/sockettoe.sock;
}
Now the server get my requests buuut they dont seem to connect. Cant fire any event.
What I thought is that the uwsgi does not run socketio but app(Flask app) so I tryed to change that but uwsgi does not want to run a SocketIo object. Can someone help me with this you will save me alot of headache because I will not give up. It must be possible.
Oh also my backend gets a Exception:
/r/flask
https://redd.it/1b2wwls
pyCage: A VSCode extension to search and install popular Python packages from the command palette.
What Does My Project Do?
pyCage is a VSCode extension powered by astral.sh's uv package manager and pip. It enables users to search for and download Python packages directly from the command palette, similar to Dart's package manager.
Target Audience
This extension is designed for individuals who frequently use venvs and struggle with remembering package names.
Comparison
The installation speed is notably fast due to the option to download using uv.It might be faster to download packages using pyCage than using the terminal in some cases.
GitHub
GitHub Link: https://github.com/qKitNp/pyCage
/r/Python
https://redd.it/1b32suc
What Does My Project Do?
pyCage is a VSCode extension powered by astral.sh's uv package manager and pip. It enables users to search for and download Python packages directly from the command palette, similar to Dart's package manager.
Target Audience
This extension is designed for individuals who frequently use venvs and struggle with remembering package names.
Comparison
The installation speed is notably fast due to the option to download using uv.It might be faster to download packages using pyCage than using the terminal in some cases.
GitHub
GitHub Link: https://github.com/qKitNp/pyCage
/r/Python
https://redd.it/1b32suc
Visualstudio
pyCage - Visual Studio Marketplace
Extension for Visual Studio Code - Fastest Python package manager for Visual Studio Code powered by uv by astral.sh
How to handle APIs calls and async code on Pythonanyehere?
How to handle async code on Pythonanyehere? There is an article on their site that suggests using Django-Q and always-on tasks to handle async code, but the post seems outdated because Django-Q hasn't received any updates/changes for 3 years. Also, celery and redis are not supported I guess.
Do you have any suggestions on how to handle async code like calling APIs?
Thank you in advance.
/r/django
https://redd.it/1b2zc3o
How to handle async code on Pythonanyehere? There is an article on their site that suggests using Django-Q and always-on tasks to handle async code, but the post seems outdated because Django-Q hasn't received any updates/changes for 3 years. Also, celery and redis are not supported I guess.
Do you have any suggestions on how to handle async code like calling APIs?
Thank you in advance.
/r/django
https://redd.it/1b2zc3o
Reddit
From the django community on Reddit
Explore this post and more from the django community
Ruff 0.3.0 - first stable version of ruff formatter
Blog - https://astral.sh/blog/ruff-v0.3.0
Changes:
\- The Ruff 2024.2 style guide
\- Range Formatting
\- f-string placeholder formatting
\- Lint for invalid formatter suppression comments
\- Multiple new rules - both stable and in preview
/r/Python
https://redd.it/1b36z60
Blog - https://astral.sh/blog/ruff-v0.3.0
Changes:
\- The Ruff 2024.2 style guide
\- Range Formatting
\- f-string placeholder formatting
\- Lint for invalid formatter suppression comments
\- Multiple new rules - both stable and in preview
/r/Python
https://redd.it/1b36z60
astral.sh
Ruff v0.3.0
The next stable version of Ruff is out now.
Real time platform
Hi guys Iβm really looking for some advice! Iβm working on a project nd Iβm still developing it like 70% is done. I still have some questions :
Is the django authentication system decent to secure the data of my clients : password, emails, pictures, documentsβ¦
/r/django
https://redd.it/1b35skw
Hi guys Iβm really looking for some advice! Iβm working on a project nd Iβm still developing it like 70% is done. I still have some questions :
Is the django authentication system decent to secure the data of my clients : password, emails, pictures, documentsβ¦
/r/django
https://redd.it/1b35skw
Reddit
From the django community on Reddit
Explore this post and more from the django community
New python library for ELT
PyAirbyte just released to public beta - just tried it out, super easy to use and very pythonic. Is there anything else out there like this?
/r/Python
https://redd.it/1b36wde
PyAirbyte just released to public beta - just tried it out, super easy to use and very pythonic. Is there anything else out there like this?
/r/Python
https://redd.it/1b36wde
Airbyte
Using PyAirbyte | Airbyte Documentation
PyAirbyte brings the power of Airbyte to every Python and AI developer.
Single commodity trading platform
I am looking at developing a trading platform that services a single commodity. Initially I want to keep as light weight as possible. It would only need to service the basic needs for transactions between two parties that want to trade. Is flask a good option?
I am fairly new to flask, but it appeals to me as it seems to be relatively lightweight compared to something like Django. I find some frameworks are far too feature rich, especially when you want something basic. I just want to be sure that flask isnβt too feature poor?
Any advice on this would be greatly appreciated.
/r/flask
https://redd.it/1b3hlx8
I am looking at developing a trading platform that services a single commodity. Initially I want to keep as light weight as possible. It would only need to service the basic needs for transactions between two parties that want to trade. Is flask a good option?
I am fairly new to flask, but it appeals to me as it seems to be relatively lightweight compared to something like Django. I find some frameworks are far too feature rich, especially when you want something basic. I just want to be sure that flask isnβt too feature poor?
Any advice on this would be greatly appreciated.
/r/flask
https://redd.it/1b3hlx8
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Django-admin-shellx - A terminal in your admin using xtermjs
Hey,
I built an Django app that adds a terminal using xterm.js to the admin.
It uses websockets with Django channels and xterm.js for the terminal.
Has multiple features as full screen mode, favorite commands, recording of actions and history of commands among others.
Here is the GitHub link:
https://github.com/adinhodovic/django-admin-shellx
Thanks for taking a look!
/r/django
https://redd.it/1b3edif
Hey,
I built an Django app that adds a terminal using xterm.js to the admin.
It uses websockets with Django channels and xterm.js for the terminal.
Has multiple features as full screen mode, favorite commands, recording of actions and history of commands among others.
Here is the GitHub link:
https://github.com/adinhodovic/django-admin-shellx
Thanks for taking a look!
/r/django
https://redd.it/1b3edif
GitHub
GitHub - adinhodovic/django-admin-shellx: A Django Admin Web Shell using Xterm.js and Django Channels.
A Django Admin Web Shell using Xterm.js and Django Channels. - adinhodovic/django-admin-shellx
Why won't IPython allow more than one line in a function def? Drops me back to the prompt after one line.
https://pastebin.com/EGZqu512
/r/IPython
https://redd.it/1b3bz60
https://pastebin.com/EGZqu512
/r/IPython
https://redd.it/1b3bz60
Pastebin
zzyzx@eyearesee:~/p/numpy$ uname -aLinux eyearesee 5.15.0-73-generic #80-Ubunt - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.