Micky Codes
155 subscribers
196 photos
27 videos
6 files
75 links
Software engineer | Game developer
Let's explore the codding world.
Download Telegram
I am working on a new python backend framework trust me that will improve most of the development experience for backend ecosystem so if you have a name idea i would like you to suggest me๐Ÿ™Œ
Then finally "Guaro" is choosed by owner of @bearly_learning

think of it like these ๐Ÿ˜‚๐Ÿ˜‚

from guaro import Model 

class User(Model):
id: int name: str
email: str
posts: list["Post"]


๐Ÿ˜‚๐Ÿ˜‚
๐Ÿ‘Œ2
So let me tell you about my unique ability so if I sleep well I can have ideas to work on so most of the time it is for the devs community in my dream ๐Ÿ˜‚๐Ÿ˜‚, and for now my idea was making a backend framework Guaro which is a unified API framework for building REST APIs, GraphQL APIs, or both from one codebase, one schema system, and one execution engine.
โค2
Just published Guaro to PyPI.
Guaro is a modern Python backend framework focused on unified REST + GraphQL APIs, async performance, automatic schema management, and multi-database support from a single model layer.

โ€œGuaroโ€ means โ€œBackโ€ in Amharic, inspired by backend systems and infrastructure(suggested by @vibybear73).


Supported databases:
- SQLite
- PostgreSQL
- MySQL
- MongoDB

Example:
from guaro import API, Model, Router, permission, require_auth


class User(Model):
id: int
name: str
email: str


router = Router(prefix="/users")


@router.get("/")
@require_auth
def get_users():
return User.all()


api = API()
api.register_model(User)
api.register_router(router)
api.run(mode="hybrid")

pip install guaro


from a single codebase you can have both GraphQL or RESTAPI's. with interactive generated API docs for both systems.


PyPI:
https://pypi.org/project/guaro/
Repository:
https://github.com/Alazar42/Guaro
๐Ÿ”ฅ4
Micky Codes pinned ยซJust published Guaro to PyPI. Guaro is a modern Python backend framework focused on unified REST + GraphQL APIs, async performance, automatic schema management, and multi-database support from a single model layer. โ€œGuaroโ€ means โ€œBackโ€ in Amharic, inspiredโ€ฆยป
Forwarded from แŠ แ‰ถ Codes
Quick update ๐Ÿ‘‹

Iโ€™ve created a dedicated channel for Equib Manager ๐Ÿš€

Starting from v2.0, all app updates, APK releases, new features, bug fixes, and client updates will be posted there.

This channel is mainly for clients and people using the app to stay updated and download the latest versions.

Donโ€™t worry devs ๐Ÿ˜… Iโ€™ll still share the build journey, code, lessons, and everything developer-related here as usual.

If youโ€™ve been following Equib Manager, Iโ€™d really appreciate your support joining the channel or sharing it goes a long way โค๏ธ

https://t.me/equbmanager

Letโ€™s build this together ๐Ÿš€

#equib_manager
Forwarded from แŠ แ‰ถ Codes
EQUB MANAGER
Equib Manager v2.2.0 Update
Just pushed an update on Equib Manager and running tests on it now.

been thinking a lot about how this whole equib system actually works in real lifeโ€ฆ and honestly my uncle is the one feeding me most of this real insight ๐Ÿ˜ญ

so I had to change a big part of the core structure again

now I added this thing called Contributor model

so basically:
members are not always just one personโ€ฆ sometimes they are like a small group
and contributors are the actual people putting money in

so payments now track contributors instead of just members

still testing everything but yeahโ€ฆ this feels way closer to how real equibs actually work

#equib_manager @atocodes
Am mostly working on game development so my go to game engine is Godot, and besides that i love backend so my comfortable framework is FastAPI but i love em all except Spring Boot๐Ÿ˜ญ.
Just launched my latest portfolio website.

Built to showcase my work in software engineering, backend systems, game development, and modern web experiences.

Portfolio: https://micky-codes.vercel.app

Feedback is always welcome.

Also share and join my channel @MickyCodes
๐Ÿ”ฅ3๐Ÿ‘1
Hello guys you can get free 30USD credits of claude in this website

https://tokenlb.net/sign-up?aff=T9Mg
I was working on gioui golang gui library so it was so bad and I didn't like the way of adding new widgets it is so deep nested and hard to control, and for someone comes from tools like JavaFX or Qt frameworks it much easy working on the ui separately like the following

@import "button.easy"

Window {
title: "Egg Timer"

VBox {
style: {
bgColor: "red"
}
Text {
text: "Decrement"
style: {
size: "16"
textColor: "white"
}
}
DecButton {}
}
}




DecButton {} comes from the imported file button.easy
@component DecButton {
Button {
id: decBtn
text: "Decrement"
onClick: Counter.Decrement
}
}



then setting up your main.go script with easy loader from the library i have done, that parses and stubs on to the main window using the real widgets from the gioui library, so your code will be easy as follows, the below code is even you can have a separate code to handle the events of the ui files,

Counter.Decrement
this function is connected to the button from the .easy ui file
package components

import (
"easygioui"
"fmt"
)

// Counter holds the counter state.
type Counter struct {
count int
}

// Decrement decrements the counter.
func (a *Counter) Decrement() {
a.count--
easygioui.SetText("counterText", fmt.Sprintf("Counter: %d", a.count))
}



then finally your main.go looks like the blow, ik it might still look complicated but not as before๐Ÿ˜‚๐Ÿ˜‚

package main

import (
"fmt"
"os"

"easygioui"
"easygioui/examples/counter/components"

"gioui.org/app"
"gioui.org/layout"
"gioui.org/op"
"gioui.org/unit"
)

var ui *easygioui.UI

func main() {
// Load and cache the UI once
ui = easygioui.Load("examples/counter/ui/counter.easy")
if ui == nil {
fmt.Println("Failed to load UI")
os.Exit(1)
}

// Create app instance and bind it
appInst := &components.Counter{}
easygioui.Bind(appInst)

go func() {
w := new(app.Window)
w.Option(app.Title("Egg Timer"), app.Size(unit.Dp(400), unit.Dp(600)))

var ops op.Ops

for {
evt := w.Event()

switch e := evt.(type) {
case app.FrameEvent:
// Reset ops for the new frame
ops.Reset()

// Create a layout context for rendering
gtx := layout.Context{
Ops: &ops,
Now: e.Now,
Metric: e.Metric,
Source: e.Source,
Values: make(map[string]interface{}),
}
gtx.Constraints = layout.Exact(e.Size)

// Register and render the UI
easygioui.Register(&ops, gtx, ui)

e.Frame(&ops)

case app.DestroyEvent:
os.Exit(0)
}
}
}()

app.Main()
}



i have attached the image even I made a calculator using my own library it's still in development but to update you guys this is enough for now.

if you wanna follow or give a start here is the github link
๐Ÿคฏ1
Forwarded from Abnet DevLog
๐ŸŽฌ NileFlix: Discover movies, TV shows, and anime in one place. โœจ

Features:
โ€ข Browse trending content ๐Ÿ”
โ€ข Search easily
โ€ข Save favorites โค๏ธ
โ€ข AI-powered recommendations ๐Ÿค–

Built with Next.js, TypeScript, and better-auth. Powered by TMDB + external streaming embeds. โš ๏ธ No videos hosted.

๐Ÿ”— https://nile-flix.vercel.app

Enjoy? Feedback welcome! ๐Ÿ™Œ
๐Ÿ‘2
Idk what is the loot record in clash of clans but today is special i am getting the record amounts ๐Ÿ™Œ๐Ÿ˜‹๐Ÿ˜
mine is not the record ๐Ÿ˜ญ
๐Ÿ˜2
This media is not supported in your browser
VIEW IN TELEGRAM
Dm for website and mobile app dev.

๐Ÿ˜๐Ÿ˜
๐Ÿ˜4