Находки в опенсорсе
10.6K subscribers
11 photos
1 video
3 files
816 links
Привет!

Меня зовут Никита Соболев. Я занимаюсь опенсорс разработкой полный рабочий день.

Тут я рассказываю про #python, #c, опенсорс и тд.
Поддержать: https://boosty.to/sobolevn
РКН: https://vk.cc/cOzn36

Связь: @sobolev_nikita
Download Telegram
​​Lifecycle hooks for #django that are inspired by #rails. That's very pretty on the one side and very ugly on the other.


Check it out and create your own opinion!
https://github.com/rsinger86/django-lifecycle
​​Test #django schema and data migrations, including migrations' order.

https://github.com/wemake-services/django-test-migrations

And there's also an announcing post about how I got into the sutiation where I have to test my migrations: https://sobolevn.me/2019/10/testing-django-migrations

#python
Breaking news!

#django 3.0 released.

With first-step asyncio support. I am still not sure about this: it might be a complete disaster, or it might resolve in first truly usabe async python web framework. (in case you really believe that there's something async in #python)

Let's see how it goes!

https://www.djangoproject.com/weblog/2019/dec/02/django-3-released/
​​Organize #django settings into multiple files and directories. Easily override and modify settings. Use wildcards and optional settings files.

Read this blog post for more information: https://sobolevn.me/2017/04/managing-djangos-settings

This one was my first serious open-source project. I still have strong feels for it.

https://github.com/sobolevn/django-split-settings

#python
​​#django gRPC framework is a toolkit for building gRPC services, inspired by djangorestframework.

https://github.com/fengsp/django-grpc-framework

#python
​​Today I want to talk about our #django template: https://github.com/wemake-services/wemake-django-template

It is the strictest and the most advanced django project template there is.
Features:

- Always up-to-date with the help of dependabot
- Supports latest python3.7+
- poetry for managing dependencies
- mypy and django-stubs for static typing
- pytest and hypothesis for unit tests
- flake8 and wemake-python-styleguide for linting
- docker for development, testing, and production
- sphinx for documentation
- Gitlab CI with full build, test, and deploy pipeline configured by default
- Caddy with https and http/2 turned on by default
- Great docs

And many more! Featured products built with it:

- Backend for https://apps.apple.com/app/apple-store/id1506209462

My close friend made an app that helps you find new cool and interesting facts every day. No ads, 100% free. They parse multiple sources to get just the pure content without any noise.

- Internal services for https://github.com/roskomsvoboda a company who tracks different law-related incidents in the Russian internet

- And more than 590 public projects on github: https://github.com/search?q=wemake-django-template&type=Code

- Our own private projects for the largest Russian corporations
- Are you using it too? Drop me a line privately or add your company in this list: https://github.com/wemake-services/wemake-django-template/wiki/Who-is-using-this-template

Totally worth it! #python