English
Open in Telegram
PPython Flet Global group🌐

Python Flet Global group🌐

@python_flet · group · Tech · indexed since 2026-09-29
615members
10writing in 30 days
36messages in 30 days
4 504messages in the index
B
Maybe No One Here@brunobr0wn my brother I work with flet_onesignal I want know how to send notification to a one person on 2 not everyone U use this and it not work
Hey bro! There’s an important architectural detail about OneSignal here. 😊 1. The flet-onesignal is a client SDK; it DOES NOT send notifications All the package does within the app is: - request permission, - identify the user (login), - receive notifications, - manage tags, aliases, and opt-in/opt-out settings. The notification is always sent by the OneSignal server; you trigger the sending by calling the REST API (https://api.onesignal.com/notifications) from your own backend or through the web platform (https://dashboard.onesignal.com/apps). So the onesignal.login(...) you circled in the image is correct: it just binds that device to your external_id (in your case, the delivery worker's username). It doesn't fire any notification by itself — it only sets up the "address" so you can target that user later. 2. How to target 1 or 2 specific users Once each user has called login(external_id) in the app, you send the notification like this (from your backend or any Python script): import httpx # or requests ONESIGNAL_APP_ID = "your-app-id" ONESIGNAL_REST_API_KEY = "your-REST-API-KEY" async def send_to_users(external_ids: list[str], title: str, message: str): payload = { "app_id": ONESIGNAL_APP_ID, "target_channel": "push", "include_aliases": { "external_id": external_ids # e.g. ["john", "mary"] }, "headings": {"en": title}, "contents": {"en": message}, } async with httpx.AsyncClient() as client: r = await client.post( "https://api.onesignal.com/notifications", headers={ "Authorization": f"Key {ONESIGNAL_REST_API_KEY}", "Content-Type": "application/json", }, json=payload, ) print(r.status_code, r.json()) # To 1 person: await send_to_users(["john_driver"], "New order", "There's a new order for you!")
  1. B
    In short, bro: login(external_id) on the client + a REST API call with include_aliases from the server. Those two together are what deliver a notification to 1 or N specific users. 😊
Whole thread · 2 replies →
N
Link
click to show
Hey everyone, I'm Onyeka, a software engineer and Django specialist from Nigeria. I love Python so much that writing JS honestly feels like infidelity to me 😂. I have a lot of experience with client-side computing using Pyodide, but zero mobile experience. I just discovered Flet and I'm hoping to use it to kill ten birds with one stone for some complex cross-platform architectures. Excited to learn from this community You can check out some of my work here: github.com/Nwokike
  1. B
    Hey bro, great point! 😊 Since I'm still working on a few things, I chose to deploy it on Render first so developers could start using and testing it right away. Later on, I may move it to Cloudflare Pages or another solution depending on the project needs. 😉👍🏿
      1. B
        That’s really cool! 🔥 I haven’t tried it yet, I just took a quick look on my phone since I don’t have my computer with me right now. But I’ll definitely give it a try as soon as possible. I really appreciate you building on top of it 🙌 I also gave it a star, by the way! ⭐ 😊
Whole thread · 3 replies →
N
Link
click to show
I noticed Flet didn't have an MCP server, so I just built one. It is officially live on PyPI! 🚀 flet-mcp-server gives AI agents (Cursor, Claude, etc.) direct access to the live Flet documentation and PyPI ecosystem so they write perfect, up-to-date Flet code. No more hallucinated UI controls! To use it, just add this to your MCP config: JSON { "mcpServers": { "flet-mcp-server": { "command": "uvx", "args": ["flet-mcp-server"] } } } 📦 PyPI: https://pypi.org/project/flet-mcp-server/ 💻 GitHub: https://github.com/nwokike/flet-mcp-server Let me know how it works for your AI setup! Stars on GitHub are much appreciated. ⭐
  1. B
    Not sure if you've done this already, but if not, it might be worth sharing it on the official Flet Discord server — I think the community would really benefit from it. 😉😊👍🏿
Whole thread · 2 replies →
N
Here are the 6 tools it adds to your AI's brain: 🧠 📖 Docs & UI: • search_flet_docs - Finds the right page in the official docs. • get_flet_doc - Reads the raw Markdown so the AI learns the exact syntax. • list_flet_controls - Discovers every core UI component available. 📦 Ecosystem & Packages: • list_official_packages - Fetches Flet's official extensions (audio, video, etc). • search_flet_ecosystem - Finds community-built controls on GitHub/PyPI. • get_package_details - Reads PyPI to get the exact uv add or pip install commands.
Whole thread · 1 reply →
H
🗣️Kk funda devops AWS devops Sivakumar84batch AWS devops by riyaz Multicloud with ai Spring boot microservices Playwright Fullstack java Flm devops Cybersecurity Powerbi Oracle fusion Oic and hcm Fabric Gen ai agentic ai with python Artificial intelligence Data science gen ai Servicenow .net Python Azure devops latest           course available anyone need         ping me.
A
my code is something like submit section the user need to write his name and when he press submit his name should be saved in info.txt file in netlfiy web but it doesnt save 😅

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count