Дайджест Python #9: PandasAI, Телеграм-бот на Django и языковые модели на Python
Собрали лучшие материалы по Python с 1 по 15 мая. Узнайте, что такое PandasAI и как сделать языковую модель на Python.
Читать: «Дайджест Python #9: PandasAI, Телеграм-бот на Django и языковые модели на Python»
Собрали лучшие материалы по Python с 1 по 15 мая. Узнайте, что такое PandasAI и как сделать языковую модель на Python.
Читать: «Дайджест Python #9: PandasAI, Телеграм-бот на Django и языковые модели на Python»
Tproger
Дайджест Python #9: PandasAI, Телеграм-бот на Django и языковые модели на Python
Собрали лучшие материалы по Python с 1 по 15 мая. Узнайте, что такое PandasAI и как сделать языковую модель на Python.
Guia do PEP 8: Convenções de Estilo de Código Python
Vamos abordar agora um pouco sobre o PEP 8. Falarei resumidamente dos principais conceitos dessa convenção
Introdução:
Quando se trata de escrever código Python limpo, legível e consistente, seguir as diretrizes do PEP 8 é fundamental. O PEP 8 é um...
Read: https://viana.hashnode.dev/pep8
Vamos abordar agora um pouco sobre o PEP 8. Falarei resumidamente dos principais conceitos dessa convenção
Introdução:
Quando se trata de escrever código Python limpo, legível e consistente, seguir as diretrizes do PEP 8 é fundamental. O PEP 8 é um...
Read: https://viana.hashnode.dev/pep8
Создаем блог на Django с опросами и тестами. Краткая инструкция. Часть 1
Самый действенный способ изучить фреймворк — написать пет-проект. Например, свою социальную платформу на Django. Во время реализации можно попрактиковаться в работе с формами, представлениями, сигналами и SMTP.
В Proglib собрали небольшой шаблон, на базе которого можно создать свой блог на Django, а после — задеплоить на виртуальный сервер. Материал будет полезен новичкам, которые знакомы с базовыми концепциями фреймворка и хотят закрепить знания. Подробности под катом!
Читать: https://habr.com/ru/companies/selectel/articles/735556/
Самый действенный способ изучить фреймворк — написать пет-проект. Например, свою социальную платформу на Django. Во время реализации можно попрактиковаться в работе с формами, представлениями, сигналами и SMTP.
В Proglib собрали небольшой шаблон, на базе которого можно создать свой блог на Django, а после — задеплоить на виртуальный сервер. Материал будет полезен новичкам, которые знакомы с базовыми концепциями фреймворка и хотят закрепить знания. Подробности под катом!
Читать: https://habr.com/ru/companies/selectel/articles/735556/
Error Exception Handling in Django/Python
Write
Get unlimited access to all of Medium for less than $1/week.
Become a member
Ejikeme Blaise
Just now
Hi Python/Django Developers, which two most popular exceptions.py do you use in your code?
Me: ObjectDoesNotExist and IntegrityError!
The for...
Read: https://blaismart.hashnode.dev/error-exception-handling-in-djangopython
Write
Get unlimited access to all of Medium for less than $1/week.
Become a member
Ejikeme Blaise
Just now
Hi Python/Django Developers, which two most popular exceptions.py do you use in your code?
Me: ObjectDoesNotExist and IntegrityError!
The for...
Read: https://blaismart.hashnode.dev/error-exception-handling-in-djangopython
Building Course Assist Part 14: Adding timestamps to conversations and creating a professional business email
With the launch of Course Assist nearly approaching I've spent the last couple of days adding some final touches and testing the app to make sure everything is working the way it's supposed to. Some of the latest tasks I did as stated in the title ar...
Read: https://andysonm.hashnode.dev/building-course-assist-part-14-adding-timestamps-to-conversations-and-creating-a-professional-business-email
With the launch of Course Assist nearly approaching I've spent the last couple of days adding some final touches and testing the app to make sure everything is working the way it's supposed to. Some of the latest tasks I did as stated in the title ar...
Read: https://andysonm.hashnode.dev/building-course-assist-part-14-adding-timestamps-to-conversations-and-creating-a-professional-business-email
Crud using Django Rest Framework(DRF)
Today, we will build a CRUD API with the help of Django Rest Framework. The API will allow users to add, update, and delete items. Each item will consist of an item name, price, and quantity.
Here are the steps for performing the task as described b...
Read: https://bisesh-blog.hashnode.dev/crud-using-django-rest-frameworkdrf
Today, we will build a CRUD API with the help of Django Rest Framework. The API will allow users to add, update, and delete items. Each item will consist of an item name, price, and quantity.
Here are the steps for performing the task as described b...
Read: https://bisesh-blog.hashnode.dev/crud-using-django-rest-frameworkdrf
Проектирование ML-сервиса для прогнозирования котировок акций (для Advisors’ Axiom от Росбанка)
Привет, меня зовут Илья Померанцев, я руководитель ML-направления в Globus IT. Расскажу, как мы разработали нейросеть для оценки тональности новостей для инвестиционной платформы Advisors’ Axiom от Росбанка.
О проекте
Инвестиционная платформа Advisors’ Axiom — это площадка для совместной работы инвесторов сегмента Premium и VIP, инвестиционных консультантов и финансовых экспертов, разработанная ПАО «Росбанк».
Для проекта была разработана нейросеть для прогнозирования котировок акций в зависимости от тональности финансовых новостей. Полученная информация поможет клиентам, инвестиционным консультантам и финансовым экспертам более эффективно инвестировать денежные средства в ценные бумаги компаний. Вот о ее разработке мы и расскажем подробнее.
Задача
Задача сервиса — получение, оценка (классификация) финансово-экономических новостей на основе машинного обучения модели нейронной сети для классификации текстов финансово-экономической направленности по трем видам тональностей.
Читать: https://habr.com/ru/articles/736122/
Привет, меня зовут Илья Померанцев, я руководитель ML-направления в Globus IT. Расскажу, как мы разработали нейросеть для оценки тональности новостей для инвестиционной платформы Advisors’ Axiom от Росбанка.
О проекте
Инвестиционная платформа Advisors’ Axiom — это площадка для совместной работы инвесторов сегмента Premium и VIP, инвестиционных консультантов и финансовых экспертов, разработанная ПАО «Росбанк».
Для проекта была разработана нейросеть для прогнозирования котировок акций в зависимости от тональности финансовых новостей. Полученная информация поможет клиентам, инвестиционным консультантам и финансовым экспертам более эффективно инвестировать денежные средства в ценные бумаги компаний. Вот о ее разработке мы и расскажем подробнее.
Задача
Задача сервиса — получение, оценка (классификация) финансово-экономических новостей на основе машинного обучения модели нейронной сети для классификации текстов финансово-экономической направленности по трем видам тональностей.
Читать: https://habr.com/ru/articles/736122/
Load Testing Django APIs with Locust: A Quick Guide
My interest in APIs performance, metrics monitoring, and observability has been piqued ever since I read this awesome article by Shalvah. My first foray into this world which I would like to document is Load Testing.
By the end of this article, you'l...
Read: https://damisola.hashnode.dev/load-testing-django-apis-with-locust-a-quick-guide
My interest in APIs performance, metrics monitoring, and observability has been piqued ever since I read this awesome article by Shalvah. My first foray into this world which I would like to document is Load Testing.
By the end of this article, you'l...
Read: https://damisola.hashnode.dev/load-testing-django-apis-with-locust-a-quick-guide
Configurando o banco de dados MariaDB no framework Django
Hoje veremos como realizar a configuração do banco de dados MariaDB utilizando o driver mysqlclient no framework web Django.
📝 Código testado no Django 4.2.
📝 O framework Django 4.2 suporta MariaDB 10.4 ou superior.
Para ver como configurar o fra...
Read: https://blog.justcode.com.br/configurando-o-banco-de-dados-mariadb-no-framework-django
Hoje veremos como realizar a configuração do banco de dados MariaDB utilizando o driver mysqlclient no framework web Django.
📝 Código testado no Django 4.2.
📝 O framework Django 4.2 suporta MariaDB 10.4 ou superior.
Para ver como configurar o fra...
Read: https://blog.justcode.com.br/configurando-o-banco-de-dados-mariadb-no-framework-django
Configurando o banco de dados PostgreSQL no framework Django
Hoje veremos como realizar a configuração do banco de dados PostgreSQL utilizando-se o driver psycopg3 no framework web Django.
📝 Código testado no Django 4.2.
📝 O framework Django 4.2 suporta PostgreSQL 11 ou superior.
Instalação
Para instalar ...
Read: https://blog.justcode.com.br/configurando-o-banco-de-dados-postgresql-no-framework-django
Hoje veremos como realizar a configuração do banco de dados PostgreSQL utilizando-se o driver psycopg3 no framework web Django.
📝 Código testado no Django 4.2.
📝 O framework Django 4.2 suporta PostgreSQL 11 ou superior.
Instalação
Para instalar ...
Read: https://blog.justcode.com.br/configurando-o-banco-de-dados-postgresql-no-framework-django
👍1
Configurando o banco de dados MySQL no framework Django
Hoje veremos como realizar a configuração do banco de dados MySQL utilizando-se o driver mysqlclient no framework web Django.
📝 Código testado no Django 4.2.
📝 O framework Django 4.2 suporta MySQL 8 ou superior.
Dependências
Ubuntu
sudo apt inst...
Read: https://blog.justcode.com.br/configurando-o-banco-de-dados-mysql-no-framework-django
Hoje veremos como realizar a configuração do banco de dados MySQL utilizando-se o driver mysqlclient no framework web Django.
📝 Código testado no Django 4.2.
📝 O framework Django 4.2 suporta MySQL 8 ou superior.
Dependências
Ubuntu
sudo apt inst...
Read: https://blog.justcode.com.br/configurando-o-banco-de-dados-mysql-no-framework-django
👍1
Battle of the Backend API Frameworks: Django REST Framework vs. NestJS - Which One Reigns Supreme?
Software architects often find themselves in a perplexing dilemma when it comes to making tech stack decisions. This predicament becomes especially challenging when comparing frameworks like Django REST Framework and NestJS. On one hand, Django REST ...
Read: https://triglon.hashnode.dev/battle-of-the-backend-api-frameworks-django-rest-framework-vs-nestjs-which-one-reigns-supreme
Software architects often find themselves in a perplexing dilemma when it comes to making tech stack decisions. This predicament becomes especially challenging when comparing frameworks like Django REST Framework and NestJS. On one hand, Django REST ...
Read: https://triglon.hashnode.dev/battle-of-the-backend-api-frameworks-django-rest-framework-vs-nestjs-which-one-reigns-supreme
Особенности асинхронности в Python
Привет, Хабр! Меня зовут Николай Нагорный, я работаю в Росбанке над платформой Advisors’ Axiom. В этом посте я подробно расскажу о важной фиче, которая появилась в Python 3.5 — асинхронности. Затрону основные концепции и инструменты, приведу примеры кода. Пост будет полезен новичкам для понимания основ асинхронности и, может, даже опытным разработчикам в поиске новых идей и подходов.
Читать: https://habr.com/ru/companies/rosbank/articles/736698/
Привет, Хабр! Меня зовут Николай Нагорный, я работаю в Росбанке над платформой Advisors’ Axiom. В этом посте я подробно расскажу о важной фиче, которая появилась в Python 3.5 — асинхронности. Затрону основные концепции и инструменты, приведу примеры кода. Пост будет полезен новичкам для понимания основ асинхронности и, может, даже опытным разработчикам в поиске новых идей и подходов.
Читать: https://habr.com/ru/companies/rosbank/articles/736698/
👍1
Building Course Assist Part 15: Setting up an SMTP server
An SMTP (Simple mail transfer protocol) server is an application or computer that sends, receives and relays emails. For Course Assist I set up a Gmail SMTP server on the backend to send verification code emails to users when they want to access the ...
Read: https://andysonm.hashnode.dev/building-course-assist-part-15-setting-up-an-smtp-server
An SMTP (Simple mail transfer protocol) server is an application or computer that sends, receives and relays emails. For Course Assist I set up a Gmail SMTP server on the backend to send verification code emails to users when they want to access the ...
Read: https://andysonm.hashnode.dev/building-course-assist-part-15-setting-up-an-smtp-server
Django Uncomplicated: Crafting Web Applications
In rookie terms...Django is a tool or framework in Python that helps developers create websites and web applications. It comes with a set of pre-built components and tools that make building web projects easier and smoother 😮.
For Example, Let's say...
Read: https://mirageazlit.hashnode.dev/django-uncomplicated-crafting-web-applications
In rookie terms...Django is a tool or framework in Python that helps developers create websites and web applications. It comes with a set of pre-built components and tools that make building web projects easier and smoother 😮.
For Example, Let's say...
Read: https://mirageazlit.hashnode.dev/django-uncomplicated-crafting-web-applications
Mastering Django ORM: Unleashing the Power of Object-Relational Mapping
Introduction
Querying the Database
Model Relationships
Advanced Queries and Aggregations
Performance Optimization
Conclusion
Introduction
Discover the potential of Django's Object-Relational Mapping (ORM) layer, a powerful tool that streamlines datab...
Read: https://rahulbiradar.hashnode.dev/mastering-django-orm-unleashing-the-power-of-object-relational-mapping
Introduction
Querying the Database
Model Relationships
Advanced Queries and Aggregations
Performance Optimization
Conclusion
Introduction
Discover the potential of Django's Object-Relational Mapping (ORM) layer, a powerful tool that streamlines datab...
Read: https://rahulbiradar.hashnode.dev/mastering-django-orm-unleashing-the-power-of-object-relational-mapping
Understanding Query Optimization Techniques in Django ORM
Introduction
When working with Django's Object-Relational Mapping (ORM), it's essential to leverage efficient query optimization techniques to improve the performance of your application. In this article, we will explore two useful methods provided b...
Read: https://techwithsg.hashnode.dev/understanding-query-optimization-techniques-in-django-orm
Introduction
When working with Django's Object-Relational Mapping (ORM), it's essential to leverage efficient query optimization techniques to improve the performance of your application. In this article, we will explore two useful methods provided b...
Read: https://techwithsg.hashnode.dev/understanding-query-optimization-techniques-in-django-orm
Diff mixin to detect changes in Django models instances
Suppose you change your Django model instance, how do you know if the data actually changed? There are a few ways to achieve this, for example using django-simple-history which will add a database entry for every change to keep history.
However, you ...
Read: https://deepintodjango.com/diff-mixin-to-detect-changes-in-django-models-instances
Suppose you change your Django model instance, how do you know if the data actually changed? There are a few ways to achieve this, for example using django-simple-history which will add a database entry for every change to keep history.
However, you ...
Read: https://deepintodjango.com/diff-mixin-to-detect-changes-in-django-models-instances
Deploying A Django Project on PythonAnywhere
Deploying a Django project on PythonAnywhere lets you make your web application accessible online. With PythonAnywhere, you can create a web app, configure it with a WSGI file, and host your Django project seamlessly.
This article provides a comprehe...
Read: https://chrisdevcode.hashnode.dev/deploying-a-django-project-on-pythonanywhere
Deploying a Django project on PythonAnywhere lets you make your web application accessible online. With PythonAnywhere, you can create a web app, configure it with a WSGI file, and host your Django project seamlessly.
This article provides a comprehe...
Read: https://chrisdevcode.hashnode.dev/deploying-a-django-project-on-pythonanywhere
How I Developed a Fully Functional Django API Project Using ChatGPT
Django is one of the most popular web frameworks for building robust API projects. It is also one of my favorite frameworks to work with. Its versatility and powerful features make it an excellent choice for creating dynamic web applications. In rece...
Read: https://readmethis.hashnode.dev/how-i-developed-a-fully-functional-django-api-project-using-chatgpt
Django is one of the most popular web frameworks for building robust API projects. It is also one of my favorite frameworks to work with. Its versatility and powerful features make it an excellent choice for creating dynamic web applications. In rece...
Read: https://readmethis.hashnode.dev/how-i-developed-a-fully-functional-django-api-project-using-chatgpt
Another Valorant Stats Tracking Dashboard?
Yes and No.
Despite having a plethora of high-quality stats trackers for Valorant, you might be wondering why I decided to build one from scratch (of course excluding the API). Well, the answer is pretty simple.
As a Data practitioner and a Netizen,...
Read: https://blog.deepsonshrestha.com.np/another-valorant-stats-tracking-dashboard
Yes and No.
Despite having a plethora of high-quality stats trackers for Valorant, you might be wondering why I decided to build one from scratch (of course excluding the API). Well, the answer is pretty simple.
As a Data practitioner and a Netizen,...
Read: https://blog.deepsonshrestha.com.np/another-valorant-stats-tracking-dashboard