Skip to content
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.

Add an optional note:
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

  • 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 interface to acquire 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

  • pipexec: run predefined scripts using Linux pipes
  • 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. Bot de Telegram para ver los horarios de los autobuses de Vigo por paradas 🤖🚌🚏

    Python 8 3

  2. VigoBusAPI Public

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

    Python 6 2

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

    Python 2 1

  4. pnytter Public

    Python library for scraping (Twiiter) Nitter

    Python 1

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

    Python

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

    C# 3

902 contributions in the last year

Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep Mon Wed Fri

Contribution activity

September 2022

Created an issue in docker-library/rabbitmq that received 4 comments

Setting RABBITMQ_PLUGINS_DIR in RabbitMQ 3.9.22 crashes on init

I want to install a certain custom plugin (.ez file) not bundled with RabbitMQ, which I'm running in Docker. For this purpose, I'm trying to set a …

4 comments
Opened 1 other issue in 1 repository
Started 1 discussion in 1 repository

Seeing something unexpected? Take a look at the GitHub profile guide.