Better HN
topnewbestaskshowjobs
Log inSign up

Lancetnik

2 karma · joined May 19, 2023 (3y ago) · 14 submissions

Submissions

1.

FastStream 0.7: MQTT support – in-memory tests, AsyncAPI generation and more(github.com ↗)

4 points · by Lancetnik · 6mo ago · discuss

2.

Building low-latency voice agents in 3 lines of code with GPT Realtime 2 and AG2(docs.ag2.ai ↗)

1 points · by Lancetnik · 6mo ago · discuss

comment 1y ago · link · parent

We’ve finally released version 0.6, and that means we can start adding support for new brokers again

This update brings major internal improvements, a cleaner API, and sets the stage for expanding the ecosystem even further.

Check out the full release notes: https://github.com/ag2ai/faststream/releases/tag/0.6.0

And the documentation of course: https://faststream.ag2.ai/0.6/getting-started/

Exciting things ahead

4.

FastStream 0.6 Release unlocks support for new event brokers(github.com ↗)

2 points · by Lancetnik · 1y ago · 1 comment

comment 3y ago · link · parent

Sure, by default it installs PydanticV2, but you can downgrade it manually - all works fine. We are testing it with bith versions https://github.com/airtai/faststream/actions/runs/6312083287...

comment 3y ago · link · parent

Not natively, but you have a tools to run multiple brokers manually (run them together at lifespan hooks). In the nearest future we will add this feature at the framework core.

comment 3y ago · link · parent

Hello everyone!

Two months ago I told you about Propan - the Python framework to build messaging services based on Any Message Broker. So, there were a lot of changes for this time and I want you to tell me again about them.

At first, we added Kafka, Redis Pub/Sub, SQS, and NatsJS support (to RabbitMQ and regular NATS). At now you can interact with these brokers via the same Propan interfaces.

Also, we added an AsyncAPI schema autogeneration, so you already have documentation for your services if you are using Propan.

And the last (but not least) - PydanticV2 support! You can use V1 and V2 both, but V2 is much faster - it is a preferred way to write new services.

By the way: we have a new Propan major version draft, so if you want to participate in the discussion and suggest a new feature, it is time to join our discord and tell about it!

Propan: https://github.com/Lancetnik/Propan

Propan discord: https://discord.gg/ChhMXJpvz7

8.

Propan – Python Framework for building messaging services has a big update(github.com ↗)

2 points · by Lancetnik · 3y ago · 1 comment

comment 3y ago · link · parent

Hello everyone!

I have accumulated a critical mass of stuffed bumps in the development of RabbitMQ based services. The amount of boilerplate forced me to drag the same code from project to project. So I decided to put all this code in a separate package, spice it up with a small pinch of FastAPI concepts and scale my experience to other message brokers.

The only purpose of the framework is to make interaction with message brokers as simple and comfortable as possible: one decorator, launch via the CLI - and your application is ready to production.

Please take a look at the project and give me your feedback: maybe you have some ideas for improvement. Also, I really need your help as a developers, as it becomes difficult for me alone with a project of this scale.

10.

Propan – is a new Python framework for building messaging services(github.com ↗)

1 points · by Lancetnik · 3y ago · 1 comment