semvec/pypi-packages huggingface dataset:
easelog 0.0.2
A python package for easy log formatting and productivity boost.
Requires Python: >=3.6

# easelog

## Description

A python package for easy log formatting and productivity boost.

# Install
    pip install easelog

# Currently Available functions

```

critical(msg, *args, extras)
c(msg, *args, extras) # short name for critical

fatal(msg, *args, extras)
f(msg, *args, extras) # short name for fatal

error(msg, *args, extras)
e(msg, *args, extras) # short name for error

warning(msg, *args, extras)
w(msg, *args, extras) # short name for warning

info(msg, *args, extras)
i(msg, *args, extras) # short name for info

debug(msg, *args, extras)
d(msg, *args, extras) # short name for debug

```

# Usage example

```python

from easelog.easelog import *

setup(
      name="MY APP",
      output_fmt=["asctime", "levelname", "message"],
      sep = " | ",
      datefmt="%d/%m/%Y",
      level=logging.CRITICAL)

critical("Critical message.")
fatal("Fatal message.")
error("Error message.")
warning("Warning message.")
info("Info message.")
debug("Debug message.")

c("Critical message.")
f("Fatal message.")
e("Error message.")
w("Warning message.")
i("Info message.")
d("Debug message.")

2020-06-20 00:36:51 | WARNING | Warning message.
2020-06-20 00:36:51 | INFO | Info message.
2020-06-20 00:36:51 | CRITICAL | Critical message.

2020-06-20 00:36:51 | CRITICAL | Fatal message.
2020-06-20 00:36:51 | ERROR | Error message.
2020-06-20 00:36:51 | WARNING | Warning message.
2020-06-20 00:36:51 | INFO | Info message.

```

## PyPi

[easelog](https://pypi.org/project/easelog)

## Author

[**2020 brworkit**](https://github.com/brworkit).

## License
[MIT License.](https://opensource.org/licenses/MIT)
discordpy-replit-heroku-1-hi-1 0.0.1
Hosting your repl based discord.py bot on Heroku to keep it running INDEFINETLY
Requires Python: >=3.6

# Hosting your repl based discord.py bot on Heroku to keep it running **INDEFINETLY**
[![Join Discord](https://discordapp.com/api/guilds/745448868040409148/widget.png?style=shield)](https://discord.gg/6GPjN8C)
[![Run on Repl.it](https://repl.it/badge/github/syntax-corp/discordpy-replit-heroku)](https://repl.it/github/syntax-corp/discordpy-replit-heroku)

### Prerequisites
You must have an account for [Discord](https://discord.com/register), [GitHub](https://github.com/join) , [Heroku](https://signup.heroku.com/), and [Repl.it](https://repl.it/signup) (you probably have an account already).

### 1. Create a bot and get its token
* Create an application in the developer portal [here](https://discordapp.com/developers/applications/)
* Open up your new application and click 'Add Bot' under the Bot settings to create your bot.
* After creating the bot, click the 'Copy' button under the title Token. Take note of your token as you will need it later.

### 2. Clone the GitHub repository and set it up to work with Heroku
* Clone my Github repository into a repl [here](https://repl.it/github/syntax-corp/discordpy-replit-heroku). This contains all the code you need to host your bot on Heroku. You can also view it [here](https://github.com/syntax-corp/discordpy-replit-heroku)
* Link your repl to a GitHub repository
* Create an application for Heroku [here](https://dashboard.heroku.com/new-app).
* Under 'Deploy', do the following:
  * Deployment Method => Connect your GitHub
  * App connected to GitHub => Search for the forked repository
  * Automatic Deploy => Enable Automatic Deploy (to redeploy after every commit)
* Under 'Settings', click on 'Reveal Config Vars' and enter the following:
  * KEY => DISCORD_TOKEN
  * VALUE => (Enter the bot token that you copied from the developer portal)
  * Click the 'Add' button after entering all of this information.
* Under 'Resources', do the following:
  * Click on the 'Pencil' icon.
  * Switch the worker from off to on.
  * Click 'Confirm' to finalize the decision.
  * NOTE: You are given 550 free Dyno hours, which will not last the entire month. However, if you provide a credit card to verify your identity, you are given an additional 450 hours, which will allow your bot to run indefinitely. You will not be charged for this.

### What's next?
* Now you can tweak the main.py file as you please! just don't mess with the first 5 or last 2 lines (you can change the prefix in line 4 though.)

### Original code belongs to audieni. I just made it more suitable for repl.it bot creators. Visit his repository [here](https://github.com/audieni/discord-py-heroku)