Skip to content
View David-Lor's full-sized avatar
🐍
entro.py
🐍
entro.py
  • Vigo/Galiza/Spain
Block or Report

Block or report David-Lor

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
David-Lor/README.md

These are some of the main ideas I'm/I've been working on:

💫Main project

VigoBus-TelegramBot: A Telegram Bot to check the buses by stops on my hometown. Split into 3 services (bot backend, bus+stops API, persistence API), could be easily ported to other cities or even other public transport systems that work on a similar manner. Deployed at @vigobusbot (stable) and @vigobustestbot (development).

⚙️Libraries

  • Pnytter: Python library for scraping Twitter through Nitter.
  • python-qqddm: Python library for passing pictures to QQ's "Different Dimension Me" AI, which converts the images to anime avatars, returning the resulting pictures.
  • python-wait4it: wait for a TCP port to be reachable, or a function to pass without exceptions.
  • python-pvpc: wrapper for the Esios PVPC API (Spanish electricity cost).
  • ThisPersonDoesNotExistAPI: Python library for acquiring pictures from thispersondoesnotexist.com.

🔀Node-RED Nodes

🐳Docker images

🚉Services

  • ping2mqtt: ping multiple hosts and send ping results to MQTT topics

🤖Telegram bots

  • VigoBusBot: bot for checking the remaining arrival time of buses by stops on Vigo (Galicia)
  • DalleMiniBot: bot interface for getting AI-generated images from DALL·E mini, directly into Telegram

▶️GitHub Actions

🧪Proof of Concepts and experimental projects

  • TwitterScraper: Twitter profile scraper, microservice-based using AMQP queues, using Nitter
  • Telegram Bot Updates Receiver Service: microservice-based that receives Telegram Bot updates via Webhook, and publishes them on a queue or message broker.
  • autonice: utility for setting nice in running applications based on settings
  • pytelegrambotapi + Redis queue: microservice-based Telegram Bot that uses a Redis queue to enqueue client updates, and process them with multiple workers.
  • Logging Requests: API that traces log records per-requests, using Loguru + context variables, to store the records grouped by each individual request.
  • ZeroHealthCheck: decentralized service that healthchecks other nodes, using ZeroMQ.
  • pydantic-etcd: modified Pydantic BaseSettings class that supports loading variables from ETCD.

🗣Talks & sample projects

🚘GTA/🐎RDR Scripts

  • SimpleGangWar scripts: simple battle creator between two teams (allies and enemies) that fight each other on a frontal clash. Intended to have a nice balance between simplicity and high customization. Available for:
  • GTAV-LocationalDamage: implementation of a realistic damage system that reduces armor or health based on where the damage is dealt (torso or other parts).
  • GTAV-SelectiveFire: implementation of a selective fire mode for automatic guns (semi-auto and burst fire, plus full-auto).
  • GTAV-AccuracyFix: override of accuracy levels for all peds, with multiple settings.

🧸Scripts & others

  • Github-Actions-PR-Tag-Release: sample repository featuring Github Actions workflows that, on a merged Pull Request including a "Tags x.y.z" line in its body, automatically creates a tag with the given version on the merge commit, and triggers a workflow for creating a new Release.
  • Spotify-Collaborative-Public-Playlists-Template: project to manage public Spotify playlists from Github, using Github Actions. The repository is a template that can be used to manage a playlist (one per repo).
  • MQTT2NotifySend: bash script that shows notifications in Linux desktops using notify-send, from messages received through MQTT
  • PVPC: PVPC costs per day (Spanish electricity cost), powered by Github Actions and daily updated.

📖Articles

Pinned

  1. VigoBus-TelegramBot VigoBus-TelegramBot Public

    Bot de Telegram para ver los horarios de los autobuses de Vigo por paradas 🤖🚌🚏

    Python 12 5

  2. VigoBusAPI VigoBusAPI Public

    Updated REST API that provide Stops and Buses information for the public transport system of the city of Vigo (Galicia/Spain) 🚌🚏

    Python 15 3

  3. Docker-Python-Git-App Docker-Python-Git-App Public

    🐳Docker image to deploy a 🐍Python app hosted on a Git repository

    Python 7 3

  4. pnytter pnytter Public

    Python library for scraping (Twiiter) Nitter

    Python 8 5

  5. TelegramBot-Webhook-Updates-Receiver-Service TelegramBot-Webhook-Updates-Receiver-Service Public

    Proof of Concept of a Service to receive Telegram Bot updates through Webhook and publish/enqueue them on a message broker

    Python 1

  6. GTAV-SimpleGangWar GTAV-SimpleGangWar Public

    Grand Theft Auto V script to create a basic battle between two teams

    C# 8