pythondaily | Образование

Telegram-канал pythondaily - Python Daily

1102

Daily Python News Question, Tips and Tricks, Best Practices on Python Programming Language Find more reddit channels over at @r_channels

Подписаться на канал

Python Daily

What job boards do you use?

I've been looking for a senior Django (also Flask or FastAPI) dev for a couple of months now and the quality of candidates I got was abysmal.

So I'm wondering if I'm using the wrong channel (Linkedin). Where do you guys typically look for jobs?

/r/django
https://redd.it/1fdd99j

Читать полностью…

Python Daily

Computational Collision Physics

Hello, so I recently wrote a paper on my Python project based on collision physics. If possible, I would to love to hear anyone's honest feedback about it and possible areas of improvement. Additionally, could anyone suggest any other notable academic sites where I can publish my paper?

https://www.academia.edu/123663289/Computational\_Physics\_Collision\_Project

/r/Python
https://redd.it/1fd9k40

Читать полностью…

Python Daily

Laravel raises a $57 million series A from Accel – what about Django?


https://laravel-news.com/laravel-raises-57-million-series-a

Laravel has pulled in $57M from Accel, and it’s got me wondering on why isn’t Django receiving similar financial recognition? What’s holding Django back, and how do we as a community make sure we stay competitive? Thoughts?

/r/django
https://redd.it/1fcsgjn

Читать полностью…

Python Daily

Library for generating REST API clients using methods annotated with type hints

What My Project Does

Meatie is a Python metaprogramming library that eliminates the need for boilerplate code when integrating with REST APIs. The library generates code for calling a REST API based on method signatures annotated with type hints. Meatie abstracts away mechanics related to HTTP communication, such as building URLs, encoding query parameters, serializing and deserializing request and response body. With some modest additional configuration, generated methods provide rate limiting, retries, and caching. Meatie works with major HTTP client libraries (request, httpx, aiohttp). It offers integration with Pydantic V1 and V2. The minimum officially supported version is Python 3.9.

Code Example

from typing import Annotated
from aiohttp import ClientSession
from meatie import api_ref, endpoint
from meatie_aiohttp import Client
from meatie_example.store import Product, Basket, BasketQuote # Pydantic models

class OnlineStore(Client):
def init(self, session: ClientSession) -> None:
super().init(session)

@endpoint("/api/v1/products")


/r/Python
https://redd.it/1fcz4bd

Читать полностью…

Python Daily

PyWeek 38: A Python Game Jam

PyWeek is a twice-a-year game jam (that's been running for over 15 years) where you have a week to create a game in Python that fits the theme voted on by the community. You can enter by yourself or with a team of your choosing. The games are judged and voted on by the other PyWeek participants.

Once you've signed, you can immediately go vote on the different themes! Head over here to vote: [https://pyweek.org/p/42/](https://pyweek.org/p/42/)


**Important Dates**

* Theme is revealed and PyWeek starts: Sunday, September 15th, 2024 (midnight UTC)
* Challenge ends: Sunday, September 22nd (midnight UTC)
* Judging ends & winners announced: Sunday, October 6th (midnight UTC)


**Helpful Links & Other Info**

* Sign up on the PyWeek website: [https://pyweek.org/38/](https://pyweek.org/38/)
* PyWeek Rules: [https://pyweek.readthedocs.io/en/latest/rules.html](https://pyweek.readthedocs.io/en/latest/rules.html)


If you're interested in working with other folks or have more questions, there is a dedicated channel over on the Python Discord server for PyWeek. You're welcome to ping me directly there.

I'll also try to keep an eye on this thread if folks have questions\~

/r/Python
https://redd.it/1fccov9

Читать полностью…

Python Daily

Snappea: A Simple Task Queue for Django
https://www.bugsink.com/blog/snappea-design/

/r/django
https://redd.it/1fcnqvt

Читать полностью…

Python Daily

Complete Serverless Django Deployment

Hi,

I am planning to deploy a django (DRF) project. After doing a bunch of research AWS Lambda was the cheapest option. Did a little more digging and found Cockroach DB, it offers integration with Django and also offers Serverless pricing model.

So I made a final decision of deploying the django (DRF) project to AWS Lambda and use Cockroach DB with serverless model for database.


Anybody faced any issues with running Django in AWS Lambda with Cockroack DB in production? What are the cons that I can expect with this deployment plan?

/r/django
https://redd.it/1fc8pxg

Читать полностью…

Python Daily

My first flask app

As an avid sports lover, I've often faced the challenge of finding training partners, especially after relocating to a new city. This inspired me to create Sport CoTrain, a platform where fellow sports lovers can connect, post their activities, and find co-trainers.

I've built this app using Flask and basic HTML, keeping it simple yet functional. While it's still in its early stages, I'm excited to share it with the community and would greatly appreciate your feedback.

Sport CoTrain aims to solve a common problem for active individuals, making it easier to maintain an engaging workout routine and meet like-minded people. I'm looking forward to hearing your thoughts and suggestions to improve the app.

Thank you all for your time and potential input!


Link to app: https://sportcotrain.com/

/r/flask
https://redd.it/1fccgt7

Читать полностью…

Python Daily

Audio Book Reader: Read .epub, .rtf, and .txt as audio books!

https://github.com/RNRetailer/audio-book-reader



What My Project Does

This program is for the Linux terminal.

It breaks text files into lines and reads them out loud one line at a time.

Your progress for each file is stored in a .json file.

You can choose to skip to a certain line by passing it as a parameter when running the script.

Please make an issue or a pull request if you think any changes are needed.

Thanks!



Target Audience (e.g., Is it meant for production, just a toy project, etc.)

Anyone who uses Linux and wants to have a text file read out loud to them.



Comparison (A brief comparison explaining how it differs from existing alternatives.)

I haven't looked into alternatives in this space, I just made it on a whim.



/r/Python
https://redd.it/1fb3f8p

Читать полностью…

Python Daily

I need some help with an issue regarding enumerations in Flask.



I need some help with an issue regarding enumerations in Flask.



My model is as follows:



```python

class ApprovalStatus(PyEnum):

PENDING = 'pending'

APPROVED = 'approved'

REJECTED = 'rejected'



class Approval(db.Model):

id = db.Column(db.Integer, primary_key=True)

content_type = db.Column(db.String(50), nullable=False)

content_id = db.Column(db.Integer, nullable=False)

field_name = db.Column(db.String(50), nullable=False)

new_value = db.Column(db.Text, nullable=False)

status = db.Column(SQLAlchemyEnum(ApprovalStatus), default=ApprovalStatus.PENDING)



submitter_id = db.Column(db.Integer, db.ForeignKey('user.id'), nullable=False)

submit_time = db.Column(db.DateTime, default=current_time)

reviewer_id = db.Column(db.Integer, db.ForeignKey('user.id'))

review_time = db.Column(db.DateTime, default=current_time)

review_comment = db.Column(db.Text)



submitter = db.relationship('User', foreign_keys=[submitter_id\])

reviewer = db.relationship('User', foreign_keys=[reviewer_id\])



__table_args__ = (UniqueConstraint('content_type', 'content_id'),)



u/property

def content(self):

model = getattr(models, self.content_type)

return model.query.get(self.content_id)

```



However, I keep encountering the following error:



```

LookupError: 'pending' is not among the defined enum values. Enum name: approvalstatus. Possible values: PENDING, APPROVED, REJECTED

```



/r/flask
https://redd.it/1fc2ltr

Читать полностью…

Python Daily

winaccent - A Python module for getting Windows' accent color or a shade of it

# What my project does

winaccent allows you to get the Windows' accent color or a shade of it. Works on both Windows 10 and 11 and doesn't require additional dependencies. Useful if you are creating a GUI using Python and you want to style your app with the system's accent color.

# Target audience

It is meant for production.

# Comparison

Unlike other alternatives that only allow you to get the accent color, this project also allows you to get a shade of it. Also, it allows you to listen for accent color changes for easily updating your app's colors to match it.

# Installation

The module can be installed using the following command:

pip install winaccent

# Documentation & Source code

The documentation and the source code is available here: https://github.com/Valer100/winaccent . Feedback is greatly appreciated. If you found this module useful, please consider starring it on GitHub.

/r/Python
https://redd.it/1fbvhmr

Читать полностью…

Python Daily

Flask authorization question ❓

Welcome, I am a jonuior web developer,
I have a question, now I know how can I implement a an authentication functionality with flask, flask-login, and also can I implement a More than role like an admin role manager role, and an employee role, I defined this roles in the code after the routes definition, and that's not helpful and not easiler in the development, what's the best way to can I implement the authorization functionality? I hope to find something let me to add the authorization feature for the client, as example like if I build a hr management system, the admin can add the employees and can add a new role from the GUI , and can select if The employee can add or read or update for something, and he also can select what is the page's the employee can access to it,
Please share the best resources and toturials for that, thanks guys.


/r/flask
https://redd.it/1fam8as

Читать полностью…

Python Daily

VitePress vs. Material for MkDocs

Hey everyone,
I’m torn between using VitePress and Material for MkDocs to generate documentation for my code.

# mkdocstring support

I prefer VitePress for its interface, but Material for MkDocs can generate HTML directly from the source code and docstrings thanks to mkdocstrings library (see an example here), which VitePress doesn’t seem to support (or maybe I'm missing something?).

# Question

Why is such a common feature not available in VitePress? Would love to hear your thoughts or workarounds!

/r/Python
https://redd.it/1fbs772

Читать полностью…

Python Daily

Need to make sure I added the fields from my model correctly in search_indexes.py file. This is a Haystack/Solr question

Hey guys, new to Reddit here. I'm new to Haystack/Solr. I have a Django project and I'm using Haystack to build a search index for the data in my PostgreSQL database. Here is my `search_indexes.py` code ```

from haystack import indexes

from .models import Arborist





class ArboristIndex(indexes.SearchIndex, indexes.Indexable):

text = indexes.CharField(document=True, use_template=True)

arborist_city = indexes.CharField(model_attr='city')

arborist_state = indexes.CharField(model_attr='state')

price = indexes.PositiveIntegerField()

company_name = indexes.CharField(model_attr='company')

one_star = indexes.PositiveIntegerField(default=0, null=True, blank=True)

two_stars = indexes.PositiveIntegerField(default=0, null=True, blank=True)

three_stars = indexes.PositiveIntegerField(default=0, null=True, blank=True)

four_stars = indexes.PositiveIntegerField(default=0, null=True, blank=True)

five_stars = indexes.PositiveIntegerField(default=0, null=True, blank=True)

review_by_homeowner = indexes.CharField(model_attr='reviews')

tree_pruning = indexes.CharField(model_attr='tree_pruning')

tree_removal = indexes.CharField(model_attr='tree_removal')

tree_planting = indexes.CharField(model_attr='tree_planting')

pesticide_applications = indexes.CharField(model_attr='pesticide_applications')

soil_management = indexes.CharField(model_attr='soil_management')

tree_protection = indexes.CharField(model_attr='tree_protection')

tree_risk_management = indexes.CharField(model_attr='tree_risk_management')

tree_biology = indexes.CharField(model_attr='tree_biology')





def get_model(self):

return Arborist



def prepare_arborist_cty(self, obj):

return [arborist_city.id for arborist_city in obj.aborist_city_set.active().order_by('-created')\]

```. I'm also following the docs tutorial https://django-haystack.readthedocs.io/en/v2.4.1/tutorial.html. Where I'm stuck, is that some of these fields are different field types than what the tutorial is using, for example, `PositiveInteger` and also some of these fields are from two other models that are foreign keys to this `Arborist` model.



I just want to make sure that I'm setting up the fields properly to be indexed. It's probably best to view this in my Github repo https://github.com/remoteconn-7891/MyProject/tree/master since I have five different model files in my models folder. I was using Discord Django, but they weren't helpful with this

/r/djangolearning
https://redd.it/1fbmrpe

Читать полностью…

Python Daily

Custom Template filters for global use

I am building a project and created a filter to format phone numbers. initially I created it inside one of my apps but decided since it could be use for the whole project to put it at project level but now its not working and giving me

TemplateSyntaxError at /
Invalid filter: 'formatphonenumber'


here is the file structure

projectManager/
├── main/
│ └── settings.py
├── onboarding/
├── templates/
│ └── base.html
├── templatetags/
│ ├── init.py
│ └── customfilters.py
├── theme/
├── unit/
└──
manage.py

the custom\
filter.py contents

from
django
import


/r/django
https://redd.it/1fbjtdq

Читать полностью…

Python Daily

Help with CSS being overwritten by bootstrap

I am loading my base.css stylesheet after the bootstrap loader. Any clue why my css is being overwritten still? Do i need to redeclare the stylesheet in the extended template "orders.html"?

https://preview.redd.it/6b4ff00l9vnd1.png?width=1920&format=png&auto=webp&s=56017247893bfd6414876090db94d8828f046e43

https://preview.redd.it/w3dyfi0l9vnd1.png?width=1280&format=png&auto=webp&s=3742409f45606c57ec613bc895e48b43cd0c5324

https://preview.redd.it/9772c20l9vnd1.png?width=1920&format=png&auto=webp&s=a296e3f51b44e049d2ecb8f52253ab97dedaca5f

https://preview.redd.it/aizjc10l9vnd1.png?width=1920&format=png&auto=webp&s=f43987b6bca09d3beda79f73290a095f39ef5c81



/r/djangolearning
https://redd.it/1fd3iri

Читать полностью…

Python Daily

What are some good open-source projects to contribute to?

I’m looking to get involved in open-source and would love your suggestions for projects related to Django that need contributors. Whether they’re beginner-friendly or more advanced, I’m open to any recommendations!

/r/django
https://redd.it/1fcudnc

Читать полностью…

Python Daily

Tuesday Daily Thread: Advanced questions

# Weekly Wednesday Thread: Advanced Questions 🐍

Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.

## How it Works:

1. **Ask Away**: Post your advanced Python questions here.
2. **Expert Insights**: Get answers from experienced developers.
3. **Resource Pool**: Share or discover tutorials, articles, and tips.

## Guidelines:

* This thread is for **advanced questions only**. Beginner questions are welcome in our [Daily Beginner Thread](#daily-beginner-thread-link) every Thursday.
* Questions that are not advanced may be removed and redirected to the appropriate thread.

## Recommended Resources:

* If you don't receive a response, consider exploring r/LearnPython or join the [Python Discord Server](https://discord.gg/python) for quicker assistance.

## Example Questions:

1. **How can you implement a custom memory allocator in Python?**
2. **What are the best practices for optimizing Cython code for heavy numerical computations?**
3. **How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?**
4. **Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?**
5. **How would you go about implementing a distributed task queue using Celery and RabbitMQ?**
6. **What are some advanced use-cases for Python's decorators?**
7. **How can you achieve real-time data streaming in Python with WebSockets?**
8. **What are the

/r/Python
https://redd.it/1fd4fhr

Читать полностью…

Python Daily

Build web applications with wwwpy: For backend developers looking to minimize frontend headaches

All while providing strong customization, extension, and scalability!

Hey guys, my name is Simon and this is my first post.

I'm here for two reasons. One, share some thoughts about libraries you may be familiar with, like: Streamlit, Gradio, Dash, Anvil, Panel, Reflex, Taipy, NiceGUI, Remo, Pyweb, PyJs, Flet, Mesop and Hyperdiv. Two, get to know what problems you are dealing with that pushed you to use one of the above.

Don't get me wrong, the libraries listed have amazing features but I'm purposely looking at the missing parts.

Here are some pain points I've identified:

Slow UI rendering with big datasets or multiple visualization
Difficult to scale programming model and UI interaction
Extending or building components is costly, difficult or involving long toolchains
Overly simplistic architectures for complex applications
Scalability challenges in transitioning from demos to fully-fledged applications
Python runs server-side, while browser capabilities remain distant and restricted by the framework's architecture. (markdown, server side api, pushing updates to the DOM)



The famous libraries mentioned are particularly close to my heart because it's the field where I invested the most time working on. I've been developing software as a consultant for nearly 35 years and in the last 15 I developed web applications and

/r/Python
https://redd.it/1fcwvuk

Читать полностью…

Python Daily

Just Released Version 0.4.0 of Django Action Triggers!

First off, a huge thank you to everyone who provided feedback after the release of version 0.1.0! I've taken your input to heart and have been hard at work iterating. I’m excited to announce the release of **version 0.4.0** of **django-action-triggers**.

There’s still more to come in terms of features and addressing suggestions, but here’s an overview of the current progress.

# What is Django Action Triggers

[Django Action Triggers](https://github.com/Salaah01/django-action-triggers) is a Django library that lets you trigger specific actions based on database events, detected via Django Signals. With this library, you can configure **actions** that run asynchronously when certain triggers (e.g., a model save) are detected.

For example, you could set up a trigger that hits a webhook and sends a message to AWS SQS whenever a new sale record is saved.

# What's New in Version 0.4.0?

Here’s a quick comparison of **version 0.1.0** vs. **version 0.4.0**:

**Version 0.1.0** features:

* Webhook integration
* RabbitMQ integration
* Kafka integration

**Version 0.4.0** features:

* Webhook integration
* RabbitMQ integration
* Kafka integration
* Redis integration
* AWS SQS (Simple Queue Service) integration
* AWS SNS (Simple Notification Service) integration
* Actions all run asynchronously
* Actions can have a timeout

# Looking Forward

As always, I’d love to hear your feedback. This project started as a passion project but has

/r/djangolearning
https://redd.it/1fc2svw

Читать полностью…

Python Daily

Django admin to take header value from browser

Hi ,
My application is running on AWS lambda and now I have added cognito authorizer for security reason , but /admin is giving me unauthorised because it doesn't have the token , so Is there a way like before I hit /admin it takes a value from local storage if exist else hit my token url and pass this token in request headers.

any help around this will be appreciable

/r/django
https://redd.it/1fck8on

Читать полностью…

Python Daily

Monday Daily Thread: Project ideas!

# Weekly Thread: Project Ideas 💡

Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.

## How it Works:

1. **Suggest a Project**: Comment your project idea—be it beginner-friendly or advanced.
2. **Build & Share**: If you complete a project, reply to the original comment, share your experience, and attach your source code.
3. **Explore**: Looking for ideas? Check out Al Sweigart's ["The Big Book of Small Python Projects"](https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242) for inspiration.

## Guidelines:

* Clearly state the difficulty level.
* Provide a brief description and, if possible, outline the tech stack.
* Feel free to link to tutorials or resources that might help.

# Example Submissions:

## Project Idea: Chatbot

**Difficulty**: Intermediate

**Tech Stack**: Python, NLP, Flask/FastAPI/Litestar

**Description**: Create a chatbot that can answer FAQs for a website.

**Resources**: [Building a Chatbot with Python](https://www.youtube.com/watch?v=a37BL0stIuM)

# Project Idea: Weather Dashboard

**Difficulty**: Beginner

**Tech Stack**: HTML, CSS, JavaScript, API

**Description**: Build a dashboard that displays real-time weather information using a weather API.

**Resources**: [Weather API Tutorial](https://www.youtube.com/watch?v=9P5MY_2i7K8)

## Project Idea: File Organizer

**Difficulty**: Beginner

**Tech Stack**: Python, File I/O

**Description**: Create a script that organizes files in a directory into sub-folders based on file type.

**Resources**: [Automate the Boring Stuff: Organizing Files](https://automatetheboringstuff.com/2e/chapter9/)

Let's help each other grow. Happy

/r/Python
https://redd.it/1fcc2z6

Читать полностью…

Python Daily

How do I stop my Socket IO chat room from disconnecting users 30 seconds after joining the room? I'm hosting using Adaptable's free plan.

I've been working on a chat room application using Flask and JS where you can join a room and message people and it works fine on my local server but when I access the site from Adaptable, 30 seconds into joining a room, it boots the user out, so I was wondering if anyone knows why this is happening. I've tried a couple solutions already including implementing a heartbeat. Any help would be great, I'm just trying to diagnose the issue. Thanks!

/r/flask
https://redd.it/1fcag2y

Читать полностью…

Python Daily

Just Released Version 0.4.0 of Django Action Triggers!

First off, a huge thank you to everyone who provided feedback after the release of version 0.1.0! I've taken your input to heart and have been hard at work iterating. I’m excited to announce the release of **version 0.4.0** of **django-action-triggers**.

There’s still more to come in terms of features and addressing suggestions, but here’s an overview of the current progress.

# What is Django Action Triggers

[Django Action Triggers](https://github.com/Salaah01/django-action-triggers) is a Django library that lets you trigger specific actions based on database events, detected via Django Signals. With this library, you can configure **actions** that run asynchronously when certain triggers (e.g., a model save) are detected.

For example, you could set up a trigger that hits a webhook and sends a message to AWS SQS whenever a new sale record is saved.

# What's New in Version 0.4.0?

Here’s a quick comparison of **version 0.1.0** vs. **version 0.4.0**:

**Version 0.1.0** features:

* Webhook integration
* RabbitMQ integration
* Kafka integration

**Version 0.4.0** features:

* Webhook integration
* RabbitMQ integration
* Kafka integration
* Redis integration
* AWS SQS (Simple Queue Service) integration
* AWS SNS (Simple Notification Service) integration
* Actions all run asynchronously
* Actions can have a timeout

# Looking Forward

As always, I’d love to hear your feedback. This project started as a passion project but has

/r/Python
https://redd.it/1fc2t9a

Читать полностью…

Python Daily

Thoughts about my project design

Hey all, hope everyone is good!

Brief introduction to me: A data engineer with 4+ years of experience and 3+ years of experience in AWS who is currently employed at one of the big automative company. I did one freelance django project in the past and now I am doing another one for my wife whom is a yoga instructor.

The requirements of the project:

Subscription based model that people can subscribe and watch her content in the website
Auth, registering, video streaming, stripe, paypal
Assuming will be 50 active users in the beginning can increase to 500 in 1 year
Assuming there will be 30gb of video content in the beginning and it may increase to \~100gb in one year
1 developer is developing the project, it is me

Decisions:

After a pricing research I decided to use digital ocean because it was giving better server with a cheaper cost also the data transfer limits.
I did not wanted to use a managed pg db because of cost also the db load will be very low due to number of active users, for that reason I decided to up all the system on docker
I set hourly email backups, the size

/r/django
https://redd.it/1fbw4se

Читать полностью…

Python Daily

R Training models with multiple losses

Instead of using gradient descent to minimize a single loss, we propose to use Jacobian descent to minimize multiple losses simultaneously. Basically, this algorithm updates the parameters of the model by reducing the Jacobian of the (vector-valued) objective function into an update vector.

To make it accessible to everyone, we have developed TorchJD: a library extending autograd to support Jacobian descent. After a simple pip install torchjd, transforming a PyTorch-based training function is very easy. With the recent release v0.2.0, TorchJD finally supports multi-task learning!

Github: https://github.com/TorchJD/torchjd
Documentation: https://torchjd.org
Paper: https://arxiv.org/pdf/2406.16232

We would love to hear some feedback from the community. If you want to support us, a star on the repo would be grealy appreciated! We're also open to discussion and criticism.

/r/MachineLearning
https://redd.it/1fbvuhs

Читать полностью…

Python Daily

global installations or project-specific environments

When installing libraries on python which one is better? Global installations or project-specific environment installation? Can you also write important bulletpoints for each?

/r/Python
https://redd.it/1fbs3ge

Читать полностью…

Python Daily

Loom, python library to animate visualizations

I just exported loom, a python library that can animated your plots and graphs to make them more catchy. Check out the demo here : https://youtu.be/5eZqREtMW_Y?si=hJCJbt7sXdWAnCdQ

/r/Python
https://redd.it/1fbr7n7

Читать полностью…

Python Daily

Can't get Cloudfront to work (Heroku + Whitenoise)

Hi experts, thanks for any advice: as the title says, am in deployment on Heroku, am using Whitenoise. I have set up CloudFront as per directions from Whitenoise: https://whitenoise.readthedocs.io/en/latest/django.html#instructions-for-amazon-cloudfront, but it just doesn't want to work - e.g. my admin page has no CSS. I have put my app domain under origins in Cloudfront settings of course and have changed no other settings.

Settings:

STATIC_ROOT = BASE_DIR / "staticfiles"

Successful without Cloudfront

STATIC_URL = "static/"

Unsuccessful with Cloudfront

STATIC_HOST = os.environ.get("DJANGO_STATIC_HOST", "")

STATIC_URL = STATIC_HOST + "/static/" #https://xxxxxxxx.cloudfront.net/static

Logs aren't returning errors, but the Browser console is returning various "rejected" messages - it just can't see the Cloudfront resources, or there is some other security setting I need to change. It's driving me nuts: thanks for any tips you can give!

/r/django
https://redd.it/1fbgomg

Читать полностью…

Python Daily

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/1fbku4v

Читать полностью…
Подписаться на канал