Skip to content
View MrBenoit's full-sized avatar
Block or Report

Block or report MrBenoit

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
MrBenoit/README.md

Hey there 👋, I'm Benoit!

I am learning to program in order to simplify my life and create something new



from datetime import date
from sqlalchemy import select
from sqlalchemy import and_
from sqlalchemy.ext.asyncio import AsyncSession

from core.models import engine

class AboutMe():
    def __init__(self):
        async with AsyncSession(engine) as session:
            user = session.scalar(
                select(Users)
                .where(
                    and_(
                        user_id=1,
                        user_name='MrBenoit'
                    )
                )
            )
            
        print(user.username)
        > MrBenoit
        print(user.pronouns)
        > ["he", "him"]
        print(user.location)
        > {"Russian": "Moscow"}
        print(user.occupation)
        > Computer Science Student
        print(user.birthday)
        > 16.06.2004
        print(user.age)
        > 19
        print(user.hobbies)
        > ["Coding", "Gaming", "Anime", "Gym"]
        print(user.interests)
        > ["Programming", "Music", "Open Source"]

if __name__ == "__main__":
    me = AboutMe()

Projects 📦

  • - Discord bot with a variety of functionality

  • - A simple matrix calculator. I wrote it out of boredom

  • :  My personal website | Not work


Languages 💾

Python PostgreSQL HTML CSS

Tools 🛠️

VS Code JetBrains Zsh GitHub

My Specs 💻

Desktop CPU GPU

Mac OS CPU

Contact Me 📡

Discord Instagram
Reddit Twitter
GitHub Telegram

GitHub Stats 📊

Benoit GitHub Stats

Pins 📌

Lapis MatrixCalculator

Popular repositories

  1. MatrixCalculator MatrixCalculator Public

    Simple Matrix Calculator

    Python 1

  2. MrBenoit MrBenoit Public

    1

  3. Lapis Lapis Public

    Python Discord bot

    Python 1