Python Principles Course on Udemy!
Hello everyone! My team and I created a course for those starting their programming journey and those needing a refresher on the basics of Python. This course provides an hour of video content and offers hands-on coding exercises, where you can practice and enhance your coding skills with real-world situations. If you're unsure about the quality of our courses, we have another machine learning course, with over 400 students across 70+ countries who enrolled within a week of the course being live. Plus, this very course gained over 300 members within a week as well! If you're curious, the course is linked here: https://www.udemy.com/course/principles-of-python-programming/
/r/Python
https://redd.it/1e1oczh
Hello everyone! My team and I created a course for those starting their programming journey and those needing a refresher on the basics of Python. This course provides an hour of video content and offers hands-on coding exercises, where you can practice and enhance your coding skills with real-world situations. If you're unsure about the quality of our courses, we have another machine learning course, with over 400 students across 70+ countries who enrolled within a week of the course being live. Plus, this very course gained over 300 members within a week as well! If you're curious, the course is linked here: https://www.udemy.com/course/principles-of-python-programming/
/r/Python
https://redd.it/1e1oczh
Udemy
Free Python Tutorial - Principles of Python Programming
Learn the Fundamentals to Code in Python - Free Course
What's the best deployment for a Django startup business? AWS? Heroku?
Hi All,
I’m a front end developer and I’m pretty close to wrapping up a side hustle project which is a Django e-commerce application locally on my machine and I would like to deploy this onto either AWS or Heroku.
What would you guys suggest would be the best recommendation?
I was looking into:
- Lightsail which is $7 a month for an instance of Django 4.2.13.
- Elastic Beanstalk with a free tier RDS. That would be $15/month.
- Heroku (I have William Vincent’s books on Django and that’s what he uses so I was thinking of doing the same.)
Currently, I have both an AWS and Heroku account.
Also, I have a domain name purchased for my side project in AWS.
I’ve been messing around with Elastic Beanstalk this week and successfully was able to get their sample application out so I can get used to AWS.
Ideally I would like to have a total of 2 environments (Staging and Production).
I’m also thinking about if this application gets lots of traffic in the future what would be the best out of the two.
Heroku seems more straight forward with someone that has limited experience doing devops and deployments, but I’m not sure. AWS seems like I can screw something
/r/django
https://redd.it/1e1jkbo
Hi All,
I’m a front end developer and I’m pretty close to wrapping up a side hustle project which is a Django e-commerce application locally on my machine and I would like to deploy this onto either AWS or Heroku.
What would you guys suggest would be the best recommendation?
I was looking into:
- Lightsail which is $7 a month for an instance of Django 4.2.13.
- Elastic Beanstalk with a free tier RDS. That would be $15/month.
- Heroku (I have William Vincent’s books on Django and that’s what he uses so I was thinking of doing the same.)
Currently, I have both an AWS and Heroku account.
Also, I have a domain name purchased for my side project in AWS.
I’ve been messing around with Elastic Beanstalk this week and successfully was able to get their sample application out so I can get used to AWS.
Ideally I would like to have a total of 2 environments (Staging and Production).
I’m also thinking about if this application gets lots of traffic in the future what would be the best out of the two.
Heroku seems more straight forward with someone that has limited experience doing devops and deployments, but I’m not sure. AWS seems like I can screw something
/r/django
https://redd.it/1e1jkbo
Help Unable to import WTForm class to my controller.py file
```
.venv
|____applications
| -__init__.py
|-config.py
|-controllers.py
|-forms.py
|____templates
|-name.html
|____static
|____main.py
```
Considering my file structure above
I am unable to import NamerForm from forms.py to controllers.py. Getting ImportError
main.py
from flask import Flask
import os, application.config
from application.config import LocalDevelopmentConfig
from application.database import db
app = None
def createapp():
app = Flask(name, templatefolder='templates', staticfolder='static')
app.config['SECRETKEY']='somekey'
if os.getenv('ENV',"development") == "production":
raise Exception("Currently no production config is set up.")
else:
print("Starting Local Development")
app.config.fromobject(LocalDevelopmentConfig)
db.initapp(app)
app.appcontext().push()
return(app)
app = createapp()
from
/r/flask
https://redd.it/1e1pb97
```
.venv
|____applications
| -__init__.py
|-config.py
|-controllers.py
|-forms.py
|____templates
|-name.html
|____static
|____main.py
```
Considering my file structure above
I am unable to import NamerForm from forms.py to controllers.py. Getting ImportError
main.py
from flask import Flask
import os, application.config
from application.config import LocalDevelopmentConfig
from application.database import db
app = None
def createapp():
app = Flask(name, templatefolder='templates', staticfolder='static')
app.config['SECRETKEY']='somekey'
if os.getenv('ENV',"development") == "production":
raise Exception("Currently no production config is set up.")
else:
print("Starting Local Development")
app.config.fromobject(LocalDevelopmentConfig)
db.initapp(app)
app.appcontext().push()
return(app)
app = createapp()
from
/r/flask
https://redd.it/1e1pb97
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
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/1e1wj7h
# 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/1e1wj7h
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
How to secure the source code of my django app?
I created a management system in django for a store, the app will be run on the local server of that store. How can I secure the source code? I am afriad that the store manager will take my app and give it to other people to use it and thus prevenetig me from reselling my app
/r/django
https://redd.it/1e1hzlk
I created a management system in django for a store, the app will be run on the local server of that store. How can I secure the source code? I am afriad that the store manager will take my app and give it to other people to use it and thus prevenetig me from reselling my app
/r/django
https://redd.it/1e1hzlk
Reddit
From the django community on Reddit
Explore this post and more from the django community
Free-threaded CPython is ready to experiment with!
https://labs.quansight.org/blog/free-threaded-python-rollout
> Yesterday, py-free-threading.github.io launched! It's both a resource with documentation around adding support for free-threaded Python, and a status tracker for the rollout across open source projects in the Python ecosystem
/r/Python
https://redd.it/1e1s08n
https://labs.quansight.org/blog/free-threaded-python-rollout
> Yesterday, py-free-threading.github.io launched! It's both a resource with documentation around adding support for free-threaded Python, and a status tracker for the rollout across open source projects in the Python ecosystem
/r/Python
https://redd.it/1e1s08n
labs.quansight.org
Free-threaded CPython is ready to experiment with!
An overview of the ongoing efforts to improve and roll out support for free-threaded CPython throughout the Python open source ecosystem
First python project
I have been studying python for about 1 to 2 weeks and I have been really enjoying the language, I just wanted to show off what I made as my first big program/project.
What My Project Does
Its a very basic investing game I made to attempt to teach an investing motto that I think is very important, time in the market beats timing the market. It is completely console based so to be honest its pretty boring and it takes too long to play, but I am proud of it.
Target Audience
No target audience, just a project I did
Comparison
I can't really give it any comparisons, I just made it based off of an idea i had
Here's a link to the GitHub repo:
https://github.com/erikhox/Market-Game
/r/Python
https://redd.it/1e1twdj
I have been studying python for about 1 to 2 weeks and I have been really enjoying the language, I just wanted to show off what I made as my first big program/project.
What My Project Does
Its a very basic investing game I made to attempt to teach an investing motto that I think is very important, time in the market beats timing the market. It is completely console based so to be honest its pretty boring and it takes too long to play, but I am proud of it.
Target Audience
No target audience, just a project I did
Comparison
I can't really give it any comparisons, I just made it based off of an idea i had
Here's a link to the GitHub repo:
https://github.com/erikhox/Market-Game
/r/Python
https://redd.it/1e1twdj
GitHub
GitHub - erikhox/Market-Game: Very simple stock market simuulating game made in python
Very simple stock market simuulating game made in python - erikhox/Market-Game
Terminal Webmail - GMail in the Linux Terminal
# Terminal Webmail - GMail in the Linux Terminal
* **What My Project Does**
* GMail in the web browser is extremely slow on older machines, requires JavaScript to be enabled, and can't run in text mode.
* If you live in the Linux Terminal and you need access to GMail, you'll love Terminal Webmail.
* Features:
* Print email in terminal including inline images and gifs
* Print attachments in terminal
* Download attachments
* Mark email as read
* Reply to email using the default EDITOR on your system
* Write email
* Set to, cc, and bcc for any reply or written email
* **Target Audience**
* Anyone who lives in the Linux Terminal and needs access to GMail
* **Comparison**
* On my EEE PC from 2011, GMail in Firefox runs like a dog while Terminal Webmail is extremely performant.
Here's a link to the GitHub repo: [https://github.com/RNRetailer/terminal-gmail-client](https://github.com/RNRetailer/terminal-gmail-client)
Here's a link to the commercial webstore: [https://terminalwebmail.com/](https://terminalwebmail.com/)
/r/Python
https://redd.it/1e1x3n7
# Terminal Webmail - GMail in the Linux Terminal
* **What My Project Does**
* GMail in the web browser is extremely slow on older machines, requires JavaScript to be enabled, and can't run in text mode.
* If you live in the Linux Terminal and you need access to GMail, you'll love Terminal Webmail.
* Features:
* Print email in terminal including inline images and gifs
* Print attachments in terminal
* Download attachments
* Mark email as read
* Reply to email using the default EDITOR on your system
* Write email
* Set to, cc, and bcc for any reply or written email
* **Target Audience**
* Anyone who lives in the Linux Terminal and needs access to GMail
* **Comparison**
* On my EEE PC from 2011, GMail in Firefox runs like a dog while Terminal Webmail is extremely performant.
Here's a link to the GitHub repo: [https://github.com/RNRetailer/terminal-gmail-client](https://github.com/RNRetailer/terminal-gmail-client)
Here's a link to the commercial webstore: [https://terminalwebmail.com/](https://terminalwebmail.com/)
/r/Python
https://redd.it/1e1x3n7
GitHub
GitHub - RNRetailer/terminal-gmail-client: Gmail client in the Linux terminal. Written in Python3.
Gmail client in the Linux terminal. Written in Python3. - RNRetailer/terminal-gmail-client
My Python project to batch convert excel files to csv/txt
I created this project last year when working with financial & accounting data and now I made it an application with
What My Project Does
Simple and easy to understand and use, it batch converts excel files from an input folder location to csv/txt and export to an output folder.
Target Audience
Just a project I made. If you can give me some feedback, I would appreciate.
Comparison
Well, I did use ASAP utilities to do this, but the problem is that it only supports with the active sheets, i.e. the last place where you hit Save your workbook. This could mess your output, so you have to ensure the correct active sheet, and this is tedious.
In my project, I add the option to choose the sheet index to convert. This is quite handy if all files had the same layout.
Github repo: https://github.com/fusted2/Convert-Excel-to-CSV
/r/Python
https://redd.it/1e212c2
I created this project last year when working with financial & accounting data and now I made it an application with
tkinter.What My Project Does
Simple and easy to understand and use, it batch converts excel files from an input folder location to csv/txt and export to an output folder.
Target Audience
Just a project I made. If you can give me some feedback, I would appreciate.
Comparison
Well, I did use ASAP utilities to do this, but the problem is that it only supports with the active sheets, i.e. the last place where you hit Save your workbook. This could mess your output, so you have to ensure the correct active sheet, and this is tedious.
In my project, I add the option to choose the sheet index to convert. This is quite handy if all files had the same layout.
Github repo: https://github.com/fusted2/Convert-Excel-to-CSV
/r/Python
https://redd.it/1e212c2
GitHub
GitHub - fusted2/Convert-Excel-to-CSV: Convert Excel to CSV
Convert Excel to CSV. Contribute to fusted2/Convert-Excel-to-CSV development by creating an account on GitHub.
Nested routing multiple plural
I'm a beginner, and at work I got an OpenAPI spec to implement that looks like
With the one in the spec, in my house controller's/viewset I need to make a custom action called rooms and call the rooms' ViewSet list method. There, I then have to check the request path, and if its
/r/django
https://redd.it/1e25to5
I'm a beginner, and at work I got an OpenAPI spec to implement that looks like
/houses/rooms/ which means "list all rooms available in all houses", and to make a new room, make a post request to this endpoint with the new room details and also the house id in the body. However, if I study at resources/tutorials online, most nested routes are always /houses/{house_id}/rooms/, which would then only list rooms of a particular home. The standard DRF ModelView also give things in this pattern.With the one in the spec, in my house controller's/viewset I need to make a custom action called rooms and call the rooms' ViewSet list method. There, I then have to check the request path, and if its
houses, then get all rooms in all houses.I can imagine this becoming a lot of if elseifs (e.g hospitals/rooms, offices/rooms, etc). I can of course make a mapping instead between the request path with the correct entity's dbset/queryset. But this whole "checking the path to determine what to do" and calling other viewsets in a viewset feels wrong. Any thoughts/ideas? Or am I wrong? This can indeed work but I'm not sure it will scale well/r/django
https://redd.it/1e25to5
Reddit
From the django community on Reddit
Explore this post and more from the django community
Looking for working on a side project just for learning (without compensation is fine too)
Hi,
So I am a self-taught dev currently been working in the python eco-system with US start-up since past three years. However, my job is in intelligent automation domain (for which we don't use Django) and I have been kind of feeling stagnant on the professional front. Hence, just for learning sake I was wondering if some experienced person would want a fresher Django developer for any project. My goal here is simply to work under someone who could assign me tickets and most importantly review my submissions and provide feedback. I am not looking for any kind of monetary remuneration and am just here to learn.
I am willing to give 15-20 hours per week.
I have tried experimenting it on my own through videos building and breaking things on the side but wanted to experience things in a more professional setting. The feedbacks would be immensely valuable.
Any help in this direction? I'd be really grateful
/r/django
https://redd.it/1e2glod
Hi,
So I am a self-taught dev currently been working in the python eco-system with US start-up since past three years. However, my job is in intelligent automation domain (for which we don't use Django) and I have been kind of feeling stagnant on the professional front. Hence, just for learning sake I was wondering if some experienced person would want a fresher Django developer for any project. My goal here is simply to work under someone who could assign me tickets and most importantly review my submissions and provide feedback. I am not looking for any kind of monetary remuneration and am just here to learn.
I am willing to give 15-20 hours per week.
I have tried experimenting it on my own through videos building and breaking things on the side but wanted to experience things in a more professional setting. The feedbacks would be immensely valuable.
Any help in this direction? I'd be really grateful
/r/django
https://redd.it/1e2glod
Reddit
From the django community on Reddit
Explore this post and more from the django community
Computers are fast Python perf quiz
I first encountered Julia Evans' Computers Are Fast performance quiz soon after it was published 10 years ago. It was so eye opening as a new programmer to get a few of the questions wrong by a 2-3 orders of magnitudes.
I wanted to update that quiz for 2024, swapping out Rust for C and fixing a couple of places where the 2014 quiz's Python 2 code does not translate directly and obviously into Python3.
Try it out and see how you go :)
https://thundergolfer.com/computers-are-fast
/r/Python
https://redd.it/1e2cvwb
I first encountered Julia Evans' Computers Are Fast performance quiz soon after it was published 10 years ago. It was so eye opening as a new programmer to get a few of the questions wrong by a 2-3 orders of magnitudes.
I wanted to update that quiz for 2024, swapping out Rust for C and fixing a couple of places where the 2014 quiz's Python 2 code does not translate directly and obviously into Python3.
Try it out and see how you go :)
https://thundergolfer.com/computers-are-fast
/r/Python
https://redd.it/1e2cvwb
Jonathon Belotti [thundergolfer]
Computers are fast
Do you know how much your computer can do in one second?
R Understanding the Unreasonable Effectiveness of Discrete Representations In Reinforcement Learning
# Links
Paper: https://arxiv.org/abs/2312.01203
Code: https://github.com/ejmejm/discrete-representations-for-continual-rl
Video: https://youtu.be/s8RqGlU5HEs <-- Recommended if you want a quick (\~13 min) look
Thesis: https://era.library.ualberta.ca/items/d9bc72bd-cb8c-4ca9-a978-e97e8e16abf0
# Problem
Several recent papers in the model-based RL space [e.g. 1, 2, 3\] have used discrete state representations - that is weird! Why use representations that are less expressive and are far more limited in informational content?
That's what this paper looks at:
(1) What are the benefits of using discrete states to learn world models, and
(2) What are the benefits of using discrete states to learn policies?
We also start just start to look at why this might be the case.
# Key Results
1. World models learned over discrete representations were able to more accurately represent more of the world (transitions) with less capacity when compared to those learned over continuous representations.
ground-truth
continuous representations
discrete representations
Above you can see the same policy played out in the real environment, and simulated in continuous and discrete world models. Over time, errors in the continuous world model accumulated, and the agent never reaches the goal. This is less of a problem in the discrete world model. It's important to note that both have the potential to learn perfect would models
/r/MachineLearning
https://redd.it/1e2e9ou
# Links
Paper: https://arxiv.org/abs/2312.01203
Code: https://github.com/ejmejm/discrete-representations-for-continual-rl
Video: https://youtu.be/s8RqGlU5HEs <-- Recommended if you want a quick (\~13 min) look
Thesis: https://era.library.ualberta.ca/items/d9bc72bd-cb8c-4ca9-a978-e97e8e16abf0
# Problem
Several recent papers in the model-based RL space [e.g. 1, 2, 3\] have used discrete state representations - that is weird! Why use representations that are less expressive and are far more limited in informational content?
That's what this paper looks at:
(1) What are the benefits of using discrete states to learn world models, and
(2) What are the benefits of using discrete states to learn policies?
We also start just start to look at why this might be the case.
# Key Results
1. World models learned over discrete representations were able to more accurately represent more of the world (transitions) with less capacity when compared to those learned over continuous representations.
ground-truth
continuous representations
discrete representations
Above you can see the same policy played out in the real environment, and simulated in continuous and discrete world models. Over time, errors in the continuous world model accumulated, and the agent never reaches the goal. This is less of a problem in the discrete world model. It's important to note that both have the potential to learn perfect would models
/r/MachineLearning
https://redd.it/1e2e9ou
arXiv.org
Harnessing Discrete Representations For Continual Reinforcement Learning
Reinforcement learning (RL) agents make decisions using nothing but observations from the environment, and consequently, heavily rely on the representations of those observations. Though some...
Why do people want to obduscate python code?
Over the last few months I have observed quite a few people asking how they can obfuscate python code.
Now, I understand why they'd want this. If you want to distribute your code for a payment, it would allow your users to not just copy it for free. But all the solutions for obfuscation where either "don't do it, make it a webapp" or reversible and slowed down the code.
But why would you even want to obfuscate python code and still run it using python? Wouldn't it be better to use smth like Cython or Nukita to convert your code to C and then create a binary? AFAIK that would still make your code unreachable while also making it faster.
Or are there any major drawbacks with that? One I could think of is that last time I used Cython numpy wasn't working properly. I havent used Nukita or other tools extensively enough to comment on them though.
/r/Python
https://redd.it/1e29hy8
Over the last few months I have observed quite a few people asking how they can obfuscate python code.
Now, I understand why they'd want this. If you want to distribute your code for a payment, it would allow your users to not just copy it for free. But all the solutions for obfuscation where either "don't do it, make it a webapp" or reversible and slowed down the code.
But why would you even want to obfuscate python code and still run it using python? Wouldn't it be better to use smth like Cython or Nukita to convert your code to C and then create a binary? AFAIK that would still make your code unreachable while also making it faster.
Or are there any major drawbacks with that? One I could think of is that last time I used Cython numpy wasn't working properly. I havent used Nukita or other tools extensively enough to comment on them though.
/r/Python
https://redd.it/1e29hy8
Reddit
From the Python community on Reddit
Explore this post and more from the Python 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/1e2om1j
# 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/1e2om1j
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Flask api not predicting
I've deploying flask api api.py from this repo
However, it's not predicting the result as positive or negative.
Kindly look into this
Url: https://github.com/pik1989/Sentiment-Analysis
/r/flask
https://redd.it/1e25bj6
I've deploying flask api api.py from this repo
However, it's not predicting the result as positive or negative.
Kindly look into this
Url: https://github.com/pik1989/Sentiment-Analysis
/r/flask
https://redd.it/1e25bj6
GitHub
GitHub - pik1989/Sentiment-Analysis
Contribute to pik1989/Sentiment-Analysis development by creating an account on GitHub.
Textchat: The SSL and SASL update
Hello all! I have posted in the past about Textchat, a TUI IRC Client made with textual that had a lot of bugs to it. I am back with an update: It now supports SASL and SSL! Again it's in alpha and bugs are still possible and bug reports are encouraged. Again here is the link: https://github.com/rmblau/textchat and it is available on pypi as well. Just a pip install away :)
# What My Project Does
As before, my project is a terminal application, single server irc client written with the python irc library and textual. No znc support presently.
# Target Audience
This is aimed at people who love irc as much as I do. Feedback is welcome and encouraged!
# Comparison
Nothing that I have found, as before.
/r/Python
https://redd.it/1e2rmta
Hello all! I have posted in the past about Textchat, a TUI IRC Client made with textual that had a lot of bugs to it. I am back with an update: It now supports SASL and SSL! Again it's in alpha and bugs are still possible and bug reports are encouraged. Again here is the link: https://github.com/rmblau/textchat and it is available on pypi as well. Just a pip install away :)
# What My Project Does
As before, my project is a terminal application, single server irc client written with the python irc library and textual. No znc support presently.
# Target Audience
This is aimed at people who love irc as much as I do. Feedback is welcome and encouraged!
# Comparison
Nothing that I have found, as before.
/r/Python
https://redd.it/1e2rmta
GitHub
GitHub - rmblau/textchat: TUI IRC client written in python, powered by textual
TUI IRC client written in python, powered by textual - rmblau/textchat
RAW SQL over django ORM
So I came across a situation where I needed to join two tables on multiple columns that were not foreign keys. As far as I know, in django this could be done only using sub queries and outer refs. This creates significant performance issues comparison to the JOIN in a raw SQL query. Any thoughts on preferring raw SQL over django ORM?
/r/djangolearning
https://redd.it/1e2xiul
So I came across a situation where I needed to join two tables on multiple columns that were not foreign keys. As far as I know, in django this could be done only using sub queries and outer refs. This creates significant performance issues comparison to the JOIN in a raw SQL query. Any thoughts on preferring raw SQL over django ORM?
/r/djangolearning
https://redd.it/1e2xiul
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Tutorial Resource needed
I am trying to make a Event Management web app for my college project I am a complete newby in flask html and css So with your help provide me some resources link to achieve my goal
/r/flask
https://redd.it/1e2vmfk
I am trying to make a Event Management web app for my college project I am a complete newby in flask html and css So with your help provide me some resources link to achieve my goal
/r/flask
https://redd.it/1e2vmfk
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
[Showcase] G-Scraper - a GUI web scraper written completely in Python
**Target audience?** Basically data collectors or anyone trying to scrape data from websites using a GUI
**What my project does:**
* -Take URLs
* -Take elements to scrape from those webpages (this is optional in the sense that if you dont specify any elements the app will just scrape the entire page)
* -You can also send web parameters like Headers, Payloads along with specific URLs. This means it can perform any logins that are necessary
* -Is able to log the results in a log file, a separate one for each scrape
* -Data is stored in form of .txt files
**Some unique features of this project:**
* -Can scrape multiple URLs
* -Can scrape multiple elements in a single URL
* -Supports GET and POST requests
* -Scraping runs in a separate thread than the GUI, so you can close the app or use it and the scraping will continue
* -You can edit the added variables or delete them. You can also reset the entire app's current data to start a new set of scrapes
* -Very very unique filenames for each file created
* -3 types of log files: webpage scrape log, element scrape log and error log
* Has a
/r/Python
https://redd.it/1e2z7n7
**Target audience?** Basically data collectors or anyone trying to scrape data from websites using a GUI
**What my project does:**
* -Take URLs
* -Take elements to scrape from those webpages (this is optional in the sense that if you dont specify any elements the app will just scrape the entire page)
* -You can also send web parameters like Headers, Payloads along with specific URLs. This means it can perform any logins that are necessary
* -Is able to log the results in a log file, a separate one for each scrape
* -Data is stored in form of .txt files
**Some unique features of this project:**
* -Can scrape multiple URLs
* -Can scrape multiple elements in a single URL
* -Supports GET and POST requests
* -Scraping runs in a separate thread than the GUI, so you can close the app or use it and the scraping will continue
* -You can edit the added variables or delete them. You can also reset the entire app's current data to start a new set of scrapes
* -Very very unique filenames for each file created
* -3 types of log files: webpage scrape log, element scrape log and error log
* Has a
/r/Python
https://redd.it/1e2z7n7
Reddit
From the Python community on Reddit
Explore this post and more from the Python community