https://pythonist.ru/best-practices-v-rabote-s-modelyami-django/ - Best Practicies по django ORM
#django #ORM #sql
#django #ORM #sql
Pythonist
Работаем с моделями Django (Python): Best Practices
Давайте посмотрим, какие подходы считаются лучшими при работе с моделями Django. Мы поговорим о таких вещах как нейминг, денормализация, дублирование полей.
https://habr.com/ru/company/yandex/blog/265569/ - советы по организации своих API сервисов использующих HTTP
#http #stucture
#http #stucture
Хабр
15 тривиальных фактов о правильной работе с протоколом HTTP
Внимание! Реклама! Пост оплачен Капитаном Очевидность! Ниже под катом вы найдёте 15 пунктов, описывающих правильную организацию ресурсов, доступных по протоколу HTTP — веб-сайтов, «ручек»...
https://habr.com/ru/post/273045/ - статья как реализован список в python с примерами кода на C
#cpython #list
#cpython #list
Хабр
Внутреннее устройство Python list
Предлагаю вашему вниманию статью, основанную на публикации Laurent Luce о реализации работы со списками в CPython. Она может быть полезна начинающим программистам на Python, либо готовящимся к...
https://testdriven.io/blog/django-debugging-vs-code/ - деббагинг djaongo проекта в контейнере с помощью vscode
#vscode #debugging #docker #django
#vscode #debugging #docker #django
testdriven.io
Debugging a Containerized Django App in VS Code
In this tutorial, we'll show you how to configure Visual Studio Code (VS Code) to debug a Django app running inside of Docker.
https://blog.jse.li/posts/pyc/ - Статья о том почему нужно следить за тем что попадает в репозиторий и почему не стоит прописывать какие-либо SECRET_KEYS в нем
#guthub #secrets #security #pyc
#guthub #secrets #security #pyc
blog.jse.li
Finding secrets by decompiling Python bytecode in public repositories | Jesse Li
Cache rules everything around me. `pyc` files can contain secrets and should not be checked in to source control. Use the standard Python [.gitignore](https://github.com/github/gitignore/blob/master/Python.gitignore).
https://pythonist.ru/algoritmy-sortirovki-na-python/ - алгоритмы сортировок, анализ, ссылки на сами алгоритмы
#algoritms #sorting
#algoritms #sorting
Pythonist
Изучаем популярные алгоритмы сортировки на Python
Давайте рассмотрим самые популярные алгоритмы сортировки, принцип их работы, а также примеры их реализации в коде на Python.
https://book.pythontips.com/en/latest/index.html - подборка python tips(статей о продвидунотом python)
#tips #book
#tips #book
https://pawelmhm.github.io/asyncio/python/aiohttp/2016/04/22/asyncio-aiohttp.html - делаем миллион запросов с помощью aiohttp
#asyncio #aiohttp #requests
#asyncio #aiohttp #requests
pawelmhm.github.io
Making 1 million requests with python-aiohttp
In this post I’d like to test limits of python aiohttp and check its performance in terms of requests per minute. Everyone knows that asynchronous code perf...
https://jvns.ca/blog/2017/06/03/async-io-on-linux--select--poll--and-epoll/ - статья о epool и asyncio
#asyncio #epool
#asyncio #epool
Julia Evans
Async IO on Linux: select, poll, and epoll
This week I got a new book in the mail: The Linux Programming Interface. My awesome coworker Arshia recommended it to me so I bought it! It’s written by the maintainer of the Linux man-pages project, Michael Kerrisk. It talks about the Linux programming interface…
https://www.integralist.co.uk/posts/python-asyncio/ - хорошая статья о параллельности в python
#asyncio #concurrency #threads #multiprocess
#asyncio #concurrency #threads #multiprocess
Forwarded from Habrahabr
PyTrace — Time Travel Debugger для Python. Возможно ли лучше понимать запутанный код? А что, если мы сможем понимать такой код быстрее чем тот, кто его написал? Встречайте — PyTrace: https://t.co/7D0GEGni9U https://t.co/supgIsIg0i
Хабр
PyTrace — Time Travel Debugger для Python
Мне часто приходится сталкиваться с отладкой. Иногда я ставлю точку останова, но понимаю что уже слишком поздно, и надо начинать все сначала. Более того, пер...
https://www.integralist.co.uk/posts/python-code-design/#interfaces-protocols-and-abstract-methods - интерфейсы, протоколы и абстрактные методы
#interface #protocols #abstract_methods
#interface #protocols #abstract_methods
integralist
Python Code Design and Dependency Management ⋆ Mark McDonnell
Introduction This post is going to cover a few tools and features I plan on using when writing Python code in 2019. I’ve grouped these into the following sections:
Type Hints and Static Analysis Interfaces, Protocols and Abstract Methods Dependency Management…
Type Hints and Static Analysis Interfaces, Protocols and Abstract Methods Dependency Management…
https://gtfobins.github.io/#+shell - как использовать ту или иную команду для создания шелла\повышения привилегий и прочего
#security #shell
#security #shell