Manage Proxmox KVM Virtual Machines via Slack bot.

Overview

proxmox-slack-bot

Create KVM Virtual Machines on Proxmox, the easy way.

Not much works works here yet...

Setup dev environment

Setup fully editable stack for:

  • proxmox-slack-bot
  • fastapi
  • starlette
  • pydantic
VENDOR_ROOT=$HOME/git/vendor
PROJECT_ROOT=$VENDOR_ROOT/plenuspyramis/proxmox-slack-bot
PROJECT_ENV=$PROJECT_ROOT/env

# Clone dependencies to seperate vendor dirs:
git clone https://github.com/PlenusPyramis/proxmox-slack-bot.git \
    $PROJECT_ROOT
git clone https://github.com/tiangolo/fastapi.git \
    $VENDOR_ROOT/tiangolo/fastapi
git clone https://github.com/encode/starlette.git \
    $VENDOR_ROOT/encode/starlette
git clone https://github.com/samuelcolvin/pydantic.git \
    $VENDOR_ROOT/samuelcolvin/pydantic

# Create virtualenv in main project dir:
virtualenv $PROJECT_ENV --prompt "(proxmox-slack-bot) "

# Activate the virutalenv:
source $PROJECT_ENV/bin/activate

# Upgrade pip inside the virtualenv:
# (You must use pip >= 19.1.1 in order to install an editable fastapi)
pip install --upgrade pip


# Install all dependencies in place:
pip install -e $VENDOR_ROOT/samuelcolvin/pydantic/
pip install -e $VENDOR_ROOT/encode/starlette

# Fastapi cannot be pip installed in place :(
# as a workaround create a .pth file in the virtualenv:
echo $VENDOR_ROOT/tiangolo/fastapi > $PROJECT_ENV/lib/python3.7/site-packages/fastapi.pth

# Install additional fastapi dependencies manually:
pip install -r $PROJECT_ROOT/dev-requirements.txt

# start a fastapi demo app to test the setup:
cd $PROJECT_ROOT/demo
uvicorn main:app --reload
Owner
Plenus Pyramis
Plenus Pyramis
Orca is an extensive and extendable Python 3.x library for the Discord API.

Orca is an extensive and extendable Python 3.x library for the Discord API.

RPS 4 Apr 03, 2022
Discord Voice Channel Automatic Online

Discord-Selfbot-voice Features: Discord Voice Channel Automatic Online FAQ Q: How can I obtain my token? A: 1. How to obtain your token in android 2.

Pranav Ajay 3 Oct 31, 2022
A minimalist file manager for those who want to use Linux mobile devices.

Portfolio A minimalist file manager for those who want to use Linux mobile devices. Usage Tap to activate and press to select, to browse, open, copy,

Martin Abente Lahaye 71 Nov 18, 2022
Unauthenticated enumeration of services, roles, and users in an AWS account or in every AWS account in existence.

Quiet Riot ๐ŸŽถ C'mon, Feel The Noise ๐ŸŽถ An enumeration tool for scalable, unauthenticated validation of AWS principals; including AWS Acccount IDs, roo

Wes Ladd 89 Jan 05, 2023
Python client library for Bigcommerce API

Bigcommerce API Python Client Wrapper over the requests library for communicating with the Bigcommerce v2 API. Install with pip install bigcommerce or

BigCommerce 81 Dec 26, 2022
Collect links to profiles by username through search engines

Marple Summary Collect links to profiles by username through search engines (currently Google and DuckDuckGo). Quick Start ./marple.py soxoj Results:

125 Dec 19, 2022
A discord program that will send a message to nearly every user in a discord server

Discord Mass DM Scrapes users from a discord server to promote/mass dm Report Bug ยท Request Feature Features Asynchronous Easy to use Free Auto scrape

dropout 56 Jan 02, 2023
An async python wrapper to interact with the Steam API and its CMs

steam.py A modern, easy to use, and async ready package to interact with the Steam API. Heavily inspired by discord.py and borrowing functionality fro

James Hilton-Balfe 90 Dec 15, 2022
Auto Moderation is a powerfull moderation bot

Auto Moderation.py Auto Moderation a powerful Moderation Discord Bot ๐ŸŽญ Futures Moderation Auto Moderation ๐Ÿš€ Installation git clone https://github.co

Gโˆ™MAX 2 Apr 02, 2022
This is a Telegram Bot that tracks packages from the Brazilian Mail Service.

RastreioBot About Setup Run Contribute Contact About This is a Telegram Bot that tracks packages from the Brazilian Mail Service. It runs on Python 3

Gabriel R F 320 Dec 22, 2022
trackbranch is a tool for developers that can be used to store collections of branches in the form of profiles.

trackbranch trackbranch is a tool for developers that can be used to store collections of branches in the form of profiles. This can be useful for sit

Kevin Morris 1 Oct 21, 2021
Fix Twitter video embeds in Discord

TwitFix very basic flask server that fixes twitter embeds in discord by using youtube-dl to grab the direct link to the MP4 file and embeds the link t

Robin Universe 682 Dec 28, 2022
๐Ÿ™ Share your Github stats for 2020 on Twitter

Year on Github ๐Ÿ™ Share your Github stats for 2020 on Twitter. This project contains a small web app that let's you share stats about your Github acti

Johannes Rieke 129 Dec 25, 2022
Send OpenWeatherMap alerts (One Call API) to telegram users.

OpenWeatherMap Telegram Alert Send OpenWeatherMap alerts (One Call API) to telegram users. Installation Requirements: $ apt install python3-yaml pytho

Michael Hacker 1 Jun 04, 2022
A python script that changes our background based on current weather and time of the day.

Desktop background on Windows 10, based on current weather and time A python script that changes our background based on current weather and time of t

Maj Gaberลกฤek 1 Nov 16, 2021
AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications

AWS Serverless Application Model (AWS SAM) The AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications

Amazon Web Services 8.9k Dec 31, 2022
DoriBot -Discord Chat Bot

DoriBot -Discord Chat Bot Please do not use these source files for commercial use. Be sure to mark the source. ์ด์ œ ๋”์ด์ƒ์˜ ๋ฉ”์ด์ € ์—…๋ฐ์ดํŠธ๋Š” ์—†์Šต๋‹ˆ๋‹ค. ๋งˆ์ด๋„ˆ ์—…๋ฐ์ดํŠธ๋“ค์€ ์กด์žฌํ•ฉ๋‹ˆ

queenanna1999 0 Mar 30, 2022
Checks instagram names to see if they're available

How to install You must have python 3.7.6 installed and make sure you click the 'ADD TO PATH' option when installing Open cmd and type pip install aio

2 Oct 20, 2021
A Discord Bot coded using Python. Open to collaboration

DisPy-Bot A Discord Bot coded using Python. Open to collaboration La syntax pour intรฉgrer le bot (imaginons la fonction lol_reponse dans le fichier au

BiMathAx 2 Mar 03, 2022
Discord Bot for Genshin Impact Wish Simulating

Genshin Inpact Wish Simulation Discord Bot Bot Links Invite Reddit Official Discord Features Discord embed reaction menu for wishes Simple code scalin

Jeffrey Shum 2 Jan 04, 2023