Pinned Tweet
A win-win approach to support the project. If you've ever wanted to dig deeper into #pythonsanic, this is your chance!
Impressive work done by @AdmHpkns to walk you through every single implementation detail and then guide you step by step to build a fully-working #webapp.
Want to help @sanicframework and level up your skills? A portion of proceeds from every purchase of sanicbook.com/ goes directly back to the project.
📣 Good day, fellow coders! Sanic v25.3 is now out.
🗒️Note that the release cadence for v24 may be slightly different to previous times.
👇Release notes
We’re shining a spotlight on the amazing projects built with Sanic! We want to showcase the power of Sanic and the creativity of our community.
Got a project you’re proud of? Drop a reply or DM us!
Sanic retweeted
I've just contributed to @sanicframework. Consider supporting them too — every little helps! opencollective.com/sanic-org via @opencollect
At the start of this month, we released v24.12! This brings:
- Custom CLI Commands (BETA)
- Python 3.13 Support
- Multiple bug fixes
Sanic retweeted
Replying to @umgbhalla
its literally the best
xitter.cf/vin_acct/status/180840…
for everyone writing an API in python, use sanic.dev/ instead of fastapi or whatever slop you were going to use.
its flask-like, asynchronous, supports multi-processing, has built-in openapi docs & cors headers support, etc.
Sanic version 24.6 has been released. Additionally, we have released a patch for our 23.12 LTS version.
Happy coding!
Sanic retweeted
Replying to @yasoobkhalid @AntoineMinoux
We landed on @sanicframework for two reasons: usage of asyncs and websockets. Fernand is ultra-fast thanks to websockets (and a custom implementation on live data on both backend and frontend)
Sanic retweeted
Replying to @yasoobkhalid
Hey!
We use Python with @sanicframework for the backend, which are the building block of our custom smart syncing engine.
Tagging @cx42net in case I missed something or said something stupid 😅
Sanic retweeted
Don’t let the small footprint of Sanic on X @sanicframework fools you of its relevance. 17k stars on GitHub is not a small achievement.
There are many Python libraries out there, but personally, I look for:
✅ ease of use
✅ detailed documentation
✅ mature community
Sanic retweeted
565 - Una API con Python y sanic casi sin programar
En los últimos días me he juntado con dos cuestiones que finalmente me han llevado a lo mismo. Por un lado, el reto de programación para este 2024, y por otro lado un problem...
youtube.com/watch?v=oH0anSZk…
Sanic retweeted
On the design of @RoyaleAPI as a website —
This site was never intended to be one used by millions of players, and as with all of my personal projects, I utilized it as an opportunity to test out frameworks and technologies that I’m interested in. So it’s built with a lot of things that might not even be ideally suited for the task.
I learned a lot about the different technologies that were relatively new at the time, and based on my dependency on several Python libraries, I found myself being involved and became part of the core team of a Python async web framework. Sanic @sanicframework used to be a tiny library, but through the dedication of the team lead Adam Hopkins @AdmHpkns, it has since grown to become one of the most popular async framework available.
As a single team of one, doing design, technology, marketing, and all the social media, video animation, of this brand, it’s my baby in every sense — but I also had to make lots of compromises in terms of fully realizing my vision of what could be. One of the regrets is that I don’t know how to write mobile apps from scratch, so while I recognize the need for it, I can’t very easily create one without hiring someone to develop it.
For many years, per the Supercell fan content policy, third-pary sites were not allowed to derive revenue other than display ads, which greatly diminished the potential to offer premium services to offset the costs. This part has now greatly changed, thankfully after I raised this issue with Supercell when they invited me to look at some new games in development in June 2023.
But not being able to monetize easily means that hiring a developer for a mobile app just doesn’t seem like a wise business decision. It’s very hard for me to justify the cost. I take zero salary from RoyaleAPI, so for me, the spend is 0. As soon as I hire a developer, that adds tremendous financial pressure to the company that doesn’t make any business sense.
There are many other aspects of the site that I plan to write about — such as the gift of being able to chat with the end users on a daily basis, and the gift of being able to chat with kids and young adults in the 16-25yo demographic.
I know that I will never have kids on my own, so this sudden availability to interact with young people has been one of the greatest gifts of all — not all of them are very pleasant, but I really appreciate the opportunity to talk to them when I want to — not because I have to.
Some of them would send me questions when they’re applying for universities, their first jobs, etc. Many of them have such talented and kind souls that I truly feel blessed that they would seek me out to ask for advice. I plan on writing more about this aspect in the future.
2024-01-22
This is one of the notes from my blog post about the story of RoyaleAPI.
Replying to @seeminglee @RoyaleAPI
7/ Our user-facing website was originally just a proof-of-concept, mainly developed to show what developers can do with the API that we published.
Sanic retweeted
Replying to @ImSh4yy
Nice. 😎
My (tiny) stack is python (@sanicframework), sqlite/@pocketbase and selfhosted s3 with @SeaweedFS using @coolifyio for easy deployment in my VPS.
Last release, one of the changes we introduced into Sanic was exactly this.
Trusted publishing allows Python projects like ours to upload stuff to PyPI without using a long-lived password or token.
I just shipped a new package to PyPI from GitHub Actions without using a password OR token, for the first time!
I'm using the Trusted Publishers mechanism PyPI added last year, which is based on OpenID Connect (implementation detail)
Here are my notes: til.simonwillison.net/pypi/p…















