Maria Sosnovskaya's Avatar

Maria Sosnovskaya

@sosnovskaya

Python Dev

37
Followers
252
Following
14
Posts
15.01.2026
Joined
Posts Following

Latest posts by Maria Sosnovskaya @sosnovskaya

Preview
State of WASI support for CPython: March 2026 It's been a while since I posted about WASI support in CPython! πŸ˜… Up until now, most of the work I have been doing around WASI has been making its maintenance easier for me and other core developers. ...

Wrote a blog post to give a status update on WASI support for CPython as PEP 816 got accepted!

snarky.ca/state-of-was...

02.03.2026 19:31 πŸ‘ 30 πŸ” 9 πŸ’¬ 1 πŸ“Œ 0

I totally get you! Let us know which option you choose in the end.

27.02.2026 16:16 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
posit::glimpse() Newsletter – February 2026 - Posit This edition covers major updates from Posit, including new versions of ggplot2, ellmer, and dplyr.

The newest edition of posit::glimpse() is here! πŸš€

Read a roundup of major #RStats & #Python updates: ggplot2 4.0.0, dplyr 1.2.0, ellmer 0.4.0, Positron native Jupyter Notebook support , and more.

🎟️ Plus, registration for posit::conf(2026) is officially OPEN!

Find it here: posit.co/blog/posit-g...

18.02.2026 16:34 πŸ‘ 11 πŸ” 8 πŸ’¬ 0 πŸ“Œ 0
Preview
RustPython / RustPython A Python Interpreter written in Rust

RustPython: A Python Interpreter written in Rust β˜…21785 https://github.com/RustPython/RustPython

15.02.2026 18:17 πŸ‘ 4 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
A bar chart comparing the performance of LiteStar (orange bars) and FastAPI (green bars) in Requests Per Second (RPS) as the number of dependencies ('Num Deps') increases from 0 to 5. The data shows that LiteStar consistently maintains a higher throughput than FastAPI across all dependency counts. For example, at 0 dependencies, LiteStar reaches 45573 RPS versus FastAPI's 37004 RPS. At 5 dependencies, LiteStar holds 32877 RPS while FastAPI drops to 26463 RPS.

A bar chart comparing the performance of LiteStar (orange bars) and FastAPI (green bars) in Requests Per Second (RPS) as the number of dependencies ('Num Deps') increases from 0 to 5. The data shows that LiteStar consistently maintains a higher throughput than FastAPI across all dependency counts. For example, at 0 dependencies, LiteStar reaches 45573 RPS versus FastAPI's 37004 RPS. At 5 dependencies, LiteStar holds 32877 RPS while FastAPI drops to 26463 RPS.

Testing #FastAPI vs #LiteStar with nested empty deps (0-5 levels).

Both show smooth perf degradation, unlike LiteStar's flat deps with TaskGroup.

Still, 5 deps = 28% drop for LiteStar β€” DI overhead is significant even when deps do nothing.

#Python

12.02.2026 14:44 πŸ‘ 4 πŸ” 2 πŸ’¬ 0 πŸ“Œ 1
A bar chart comparing performance in Requests Per Second (RPS) between 'TaskGroup' (purple bars) and 'Await' (orange bars) based on the number of dependencies ('Num Deps'). For 1 dependency, TaskGroup achieves 4604 RPS and Await achieves 4628 RPS. For 2 dependencies, TaskGroup is at 4085 RPS while Await is at 4558 RPS. For 4 dependencies, TaskGroup drops to 3817 RPS, whereas Await maintains 4529 RPS, showing that Await scales better as dependency count increases.

A bar chart comparing performance in Requests Per Second (RPS) between 'TaskGroup' (purple bars) and 'Await' (orange bars) based on the number of dependencies ('Num Deps'). For 1 dependency, TaskGroup achieves 4604 RPS and Await achieves 4628 RPS. For 2 dependencies, TaskGroup is at 4085 RPS while Await is at 4558 RPS. For 4 dependencies, TaskGroup drops to 3817 RPS, whereas Await maintains 4529 RPS, showing that Await scales better as dependency count increases.

Quick perf test: changed #LiteStar dependency resolution from TaskGroup to await.

RPS impact? Minimal vs 17% degradation with TaskGroup at 4 deps. Each request does 4 DB calls.

TaskGroup overhead matters more than expected.

More details in thread πŸ‘‡

#Python #Backend

10.02.2026 18:05 πŸ‘ 4 πŸ” 2 πŸ’¬ 2 πŸ“Œ 1
Как Π² Python примСняСтся инвСрсия зависимостСй. Максим Π‘Π°Ρ…Π½ΠΎ, ΠšΠΎΠ½Ρ‚ΡƒΡ€
Как Π² Python примСняСтся инвСрсия зависимостСй. Максим Π‘Π°Ρ…Π½ΠΎ, ΠšΠΎΠ½Ρ‚ΡƒΡ€ YouTube video by Π’ΠΈΠ΄Π΅ΠΎ с мСроприятий {speach!

My #PyCon RU 2025 talk (Best Speaker award! πŸ†) is now on YouTube: youtu.be/MpQgrhLO6aE

English subtitles available! πŸ‡¬πŸ‡§

I break down the Dependency Inversion Principle, compare popular #Python #DI frameworks, and show why they matter for building better applications.

06.02.2026 09:08 πŸ‘ 4 πŸ” 2 πŸ’¬ 1 πŸ“Œ 1

Very interesting talk, thank you!

06.02.2026 16:07 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Wow! I haven't seen it before

04.02.2026 18:56 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

This guy is doing a great job.

03.02.2026 14:29 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Flask vs Django: 6 Important Differences You Must Know Compare Flask vs Django for Python projects. Explore benefits, use cases, and must-know differences. Read our quick expert comparison!

Flask vs Django: Key Differences Every Python Developer Should Know #programming #webdesign

ift.tt/Kldvhmr

Flask vs Django: a concise guide for Python developers comparing lightweight flexibility with batteries-included completeness. Learn whe…

31.01.2026 16:55 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

Great news! Hope it will help to make litestar faster

29.01.2026 16:58 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Thank you for the research, it's very interesting :) Now I will know about this behavior of LiteStar!

28.01.2026 18:42 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Ohh, I'm using litestar, but I haven't known about it!

28.01.2026 18:04 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
A picture showing an example output of the program on the city of Montréal and the autumn color scheme. You can see a map of the city with all the roads, trains, subways and light rail. At the bottom there the poster is titled MONTRÉAL - QUÉBEC. The latitude and longitude are also written under the title.

A picture showing an example output of the program on the city of Montréal and the autumn color scheme. You can see a map of the city with all the roads, trains, subways and light rail. At the bottom there the poster is titled MONTRÉAL - QUÉBEC. The latitude and longitude are also written under the title.

A picture showing an example output of the program on the city of Paris and the emerald color scheme. You can see a map of the city with all the roads, trains, subways and light rail. At the bottom there the poster is titled PARIS - FRANCE. The latitude and longitude are also written under the title.

A picture showing an example output of the program on the city of Paris and the emerald color scheme. You can see a map of the city with all the roads, trains, subways and light rail. At the bottom there the poster is titled PARIS - FRANCE. The latitude and longitude are also written under the title.

A picture showing an example output of the program on the city of Tokyo and the japanese ink color scheme. You can see a map of the city with all the roads, trains, subways and light rail. At the bottom there the poster is titled TOKYO - JAPAN. The latitude and longitude are also written under the title.

A picture showing an example output of the program on the city of Tokyo and the japanese ink color scheme. You can see a map of the city with all the roads, trains, subways and light rail. At the bottom there the poster is titled TOKYO - JAPAN. The latitude and longitude are also written under the title.

A picture showing an example output of the program on the city of Berlin and the noir color scheme. You can see a map of the city with all the roads, trains, subways and light rail. At the bottom there the poster is titled BERLIN - GERMANY. The latitude and longitude are also written under the title.

A picture showing an example output of the program on the city of Berlin and the noir color scheme. You can see a map of the city with all the roads, trains, subways and light rail. At the bottom there the poster is titled BERLIN - GERMANY. The latitude and longitude are also written under the title.

Here is what I've been doing this past week: git.olaren.dev/Olaren/mapto...
A little python program that generates poster for cities! You might have seen stuff like this around lately, but I modified it to put an emphasis on rail infrastructure :3

25.01.2026 18:33 πŸ‘ 258 πŸ” 58 πŸ’¬ 14 πŸ“Œ 15
Preview
Building High-Performance APIs with FastAPI and Async Python Learn how to build high-performance APIs with FastAPI and Async Python. Discover async endpoint design, middleware, background tasks, and benchmarking techniques for scalable web services.

Building High-Performance APIs with FastAPI and Async Python:
dasroot.net/posts/2026/0...
#FastAPI #Async #Python #Redis

20.01.2026 08:07 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

That's interesting, thank you!

19.01.2026 13:25 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image Post image Post image Post image

One Trick That Can Rewrite Python’s Behavior: Monkey Patching

19.01.2026 10:49 πŸ‘ 10 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

Hi, Maxim! Nice to meet you

19.01.2026 13:11 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Oops, of course, no "Paython dev" πŸ˜„ I'm Python dev 😎

18.01.2026 17:50 πŸ‘ 6 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

That's ΠΏΠΈΠ·Π΄Π΅Ρ†

18.01.2026 17:38 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Thank you, I will try it!

18.01.2026 17:32 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

If a text column #Python #Pandas data frame uses lots of memory and repeats, make it a category:

df['x'].memory_usage(deep=True)
# result: 8,093,417

df['x'] = df['x'].astype('category')

df['x'].memory_usage(deep=True)
# result: 154,853

A 99% savings!

18.01.2026 16:30 πŸ‘ 6 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0

Hi everyone!

I'm Maria Sosnovskaya, Paython dev

It's my first post :)

I hope, I will find a lot of expert content here!

#Python #IAmNewHere

18.01.2026 17:24 πŸ‘ 8 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

You can also see to Nim: convenient like Python, but faster and with more language features :)

18.01.2026 17:20 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0