Code Monkey home page Code Monkey logo

contributor-of-the-xxx-python's Introduction

COTO (Contributor of The Organization) Bot

Lint Format

Why?

As a part of HackSquad 2022, a competition took place where you'd have to create an autonomous "being of the Internet" (or "bot" to be precise) which takes the top contributor of a GitHub Organization within a given period and congratulates them for their contributions in both Discord and Twitter.

Speaking of that, this project has been made by one of the teams which joined forces in that competition. Feel free to have a look around!

Setup

Environment Variables

Before running the steps mentioned below, make sure you set the required secrets using the following command:

# use the example file to create local environment file
$ cp .env.example .env

# fill up the values using your favorite editor
$ nano .env

Initialize

You can setup the project with ease in two different methods:

# building the image
$ docker-compose build

# running it
$ docker-compose up
  • Manual: (requires Python 3.10 or later)
# setting up virtual environment using venv
$ python -m venv venv
$ source venv/bin/activate

# install dependencies using pip
$ pip install -r requirements.txt

# run the bot
$ python main.py

Licensed under MIT

View the original license document: click here!

contributor-of-the-xxx-python's People

Contributors

codingis4noobs2 avatar diwash007 avatar guyonsteroids avatar hitblast avatar kailashchoudhary11 avatar sravan1946 avatar thenishantsapkota avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

contributor-of-the-xxx-python's Issues

use `try` and `except` in getting org, etc.

I recommend using try/except while doing some things like tweeting to Twitter or something so that if something fails - the program can return a understandable error instead of normal errors

Saving image while test mode is enabled

Currently, while test mode is True or enabled, the image is generated but isn’t saved in the disk - which means that the test mode doesn’t return any such result - so the user expects the file to be saved on the disk.

So I’ll work on that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.