GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” uriyyo - Overview

@uriyyo uriyyo Follow
More
  • Overview
  • Repositories
  • Projects
  • Packages
  • Stars
@uriyyo
uriyyo
Follow
View uriyyo's full-sized avatar
πŸ”Š
I'll be in the back room, tell me when it's over

Yurii Karabas uriyyo

πŸ”Š
I'll be in the back room, tell me when it's over
Follow
Sponsor
It was a bright cold day in April, and the clocks were striking thirteen
182 followers Β· 36 following
  • Ukraine
  • 13:11 (UTC +01:00)
  • uriyyo.github.io
  • in/uriyyo

Achievements

Achievement: Pull Sharkx4Achievement: Pair Extraordinairex4Achievement: YOLOAchievement: Galaxy Brainx4Achievement: Starstruckx3Achievement: QuickdrawAchievement: Mars 2020 ContributorAchievement: Arctic Code Vault Contributor

Achievements

Achievement: Pull Sharkx4Achievement: Pair Extraordinairex4Achievement: YOLOAchievement: Galaxy Brainx4Achievement: Starstruckx3Achievement: QuickdrawAchievement: Mars 2020 ContributorAchievement: Arctic Code Vault Contributor

Organizations

@python @ukrainians-gh
More
  • Overview
  • Repositories
  • Projects
  • Packages
  • Stars
uriyyo/README.md

Hi there πŸ‘‹

Can you help me learn Haskell?

My OOP mind struggles every time I attempt to learn it 😒

fibs = 0 : 1 : zipWith (+) fibs (tail fibs)

About me

I am a Software Engineer who mostly works with Python but used to work with C/C++ and Java a long time ago. Hope one day I will be able to understand Haskell (I have a dream to learn functional programming).

PEP 505 None-aware operators is a feature that I miss the most in Python.

I?.really?.want?.this?.feature ?? "Or not?"

Things done by me

FastAPI related

If you are using FastAPI and use function return type annotation as response_model you should know - I am the one who implemented it πŸ˜„ (FastAPI #1436).

from fastapi import FastAPI
from pydantic import BaseModel

app = FastAPI(title="Bio")


class Bio(BaseModel):
    name: str
    education: str
    languages: set[str]


@app.get("/me")
async def get_bio() -> Bio:
    return Bio(
        name="Yurii",
        education="Master's degree in Computer Engineering",
        languages={"Ukrainian", "English", "Polish", "German (a bit)"},
    )

Also, I have created fastapi-pagination package that helps you to paginate things (obviously) using FastAPI πŸ“–. Another thing that I currently work on is fastapi-filters package. Hope one day it will be useful for someone as fastapi-pagination is 🍸.

Python related

I have several contributions to Python itself (commits). The most interesting one is (#23316 Store func annotations as a tuple). This optimization reduces memory footprint and improves performance of loading modules having many func annotations.

>>> sys.getsizeof({"a":"int","b":"int","return":"int"})
232
>>> sys.getsizeof(("a","int","b","int","return","int"))
88

The tuple is converted into dict on the fly when func.__annotations__ is accessed first.

PyCharm related

I have created a plugin (pycharm-evaluate-async-code) for PyCharm that helps you evaluate async code the using Evaluate Expression window. This is really useful when you are debugging your code and want to check some async stuff. I guess it's my favorite project that I have ever done (because I used it every day and it really saved me a lot of time).

evaluate_expression

Pinned Loading

  1. fastapi-pagination fastapi-pagination Public

    FastAPI pagination πŸ“–

    Python 1.7k 176

  2. fastapi-filters fastapi-filters Public

    FastAPI filters🍸

    Python 99 9

  3. pycharm-evaluate-async-code pycharm-evaluate-async-code Public

    Finally, you can use await in evaluate expression πŸ’ͺ

    Kotlin 51 2

  4. fastapi-lifespan-manager fastapi-lifespan-manager Public

    FastAPI LifespanManager πŸ§‘β€βš–οΈ

    Python 42 1

Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.

Uh oh!

There was an error while loading. Please reload this page.

You are visitor 01402503 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.