News for hackers. Stuff that matters.

sobolevn

Django-modern-rest 0.16.0 release

Hi everyone, I am the release manager of `django-modern-rest` :)django-modern-rest 0.16.0 is out!Is this your first time that you hear about this project? django-modern-rest is a fully typed / fast / flexible / async-ready framework to create REST APIs for Django. It supports Pydantic, msgspec, attrs and many other models.Here's how the code looks like: import uuid import pydantic ...

( Read More... | no comments | 5 points | on HN )
Re:Show HN: Django-Modern-Rest on Wednesday April 29, 2026 @07:23AM (#47946797)
<3

I also have a very warm relationship with Django. I used it for my first ever Python project back in 2010. And it made me to ditch Java and come to Python land. Great memories!

Show HN: Django-Modern-Rest

https://github.com/wemake-services/django-modern-rest

Hi, my name is Nikita Sobolev, I am a CPython core dev, Django Software Foundation member, and maintainer of countless Python / Django opensource tools.Now I am happy to present to you my new project.Docs: https://django-modern-rest.rtfd.io/ Code: https://github.com/wemake-services/django-modern-rest/Features:- No AI slop, but built for the LLM era.- Blazingly fast.- Supports Django &gt;= 4.2-...

( Read More... | 2 comments | 5 points | on HN )
That's quite unexpected that Citus is not always ACID. I wonder if there are other PostgreSQL extensions, which are ACID
Re:Functional Programming in Python on Friday May 29, 2020 @04:19AM (#23347579)
Hi, author of `returns` here! Thanks a lot for sharing this link.

I would love to highlight several features of `0.14` release we are working on right now:

1. Typed `partial` and `curry` functions: https://returns.readthedocs.io/en/latest/pages/curry.html

2. `Future` and `FutureResult` containers for working with async Python! https://returns.readthedocs.io/en/latest/pages/future.html

3. Typed functional pipelines with very good type inference: https://returns.readthedocs.io/en/latest/pages/pipeline.html

It is going to be released soon, stay tuned!

There's a better solution: use open-source cli tools that do just that!

1. 520 Python checks? Use `wemake-python-styleguide` (wrapper around flake8) that has bigger amount of checks: https://github.com/wemake-services/wemake-python-styleguide There's also `pylint` with a set of awesome checks as well.

2. Type checking? Use `mypy`: it just a single command!

3. Autofixing? Use `black` / `autopep8` / `autoflake` and you can use `pybetter` to have the same ~15 auto-fix rules. But, it is completely free and open-source

I don't like this whole idea of such tools (both technically and ethically):

- Why would anyone want to send all their codebase to 3rd party? We used to call it a security breach back in the days

- On moral side, this (and similar) projects look like thin wrappers around open-source tools but with a monetisation model. How much do these companies contribute back to the original authors of pylint, mypy, flake8? Ones who created and maintained them for years. I will be happy to be wrong here

Re:Python exceptions considered an anti-pattern on Monday February 11, 2019 @08:05AM (#19134115)
Thanks, my idea was to state the problem and propose a solution. Hope, that you will find `returns` helpful.

Older »