semvec/pypi-packages huggingface dataset:
lemmy-post-automation 1.5.0a52
A bot to automate regular image posts from a variety of sources.
Requires Python: >=3.6

# Lemmy Post Automation
A bot to automate regular image posts from a variety of sources.

## Running the Bot
In its default configuration, the bot is set up to accept links to image boards in a CSV list.
It then processes the list on a schedule defined using cron syntax, checks the target community 
for duplicates, and then posts the image (reuploaded to a provided hosting site) with a title in
the format of *Title [Content Warning] (Artist)*. Below is an example configuration setup to post
images from data/post_list.csv to transfem every day at 6am:

```python
import os

from pythonlemmy import LemmyHttp

from postautomation import PostAutomation

if __name__ == "__main__":
    lemmy = LemmyHttp("https://lemmy.blahaj.zone")
    lemmy.login("username", "hunter2")
    automation = PostAutomation.create(
        lemmy,
        "transfem",
        "data/post_list.csv",
        "0 6 * * *"
    )
    automation.run()
```

From this, custom upload targets can be provided, as well as custom scrapers.
windows-control 0.0.10
It is used to do some control with keyboard/mouse on windows (especially on win10).
Requires Python: >=3.8

[windows_control](https://pypi.org/project/windows-control/) is a package named with a root Python module `windows_control`.
It provides some simple and efficient ways to do manipulations on Windows systems(Especially on Win10) efficiently, since it is written in Rust using [PyO3](https://crates.io/crates/pyo3).

## Installation

```bash
pip install windows_control
```

## Requirements

- Setting for final usage: Python (version 3.9.11 or later)

## Examples
(TODO)
linkedin-discord-bot 0.1.4
A Discord bot that posts LinkedIn job postings
Requires Python: >=3.12

# linkedin-discord-bot

[![ci](https://github.com/IAmSkweetis/linkedin-discord-bot/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/IAmSkweetis/linkedin-discord-bot/actions/workflows/ci.yml)

A simple little discord bot that will search LinkedIn job postings daily at post them to discord.

## Installation

The package is on PyPi and can be installed with pip:

```bash
pip install linkedin-discord-bot
```

## Usage

Running the bot requires either a sqlite3 or postgres database to store state of jobs and queries. 

You will need the following environment variables set:

```bash
LINKEDIN_DISCORD_BOT_DISCORD_TOKEN
LINKEDIN_DISCORD_BOT_DISCORD_NOTIF_CHANNEL_ID
LINKEDIN_DISCORD_BOT_DB_CONNECTION_STRING
```

For a local dev flow, you can put these values in a dotenv file.

Then run the following command to start the bot. Note that the current implementation is running
in the foreground.

```bash
lidb bot start
```

### Alternative - Docker Compose

A docker compose file is provided in the repo. To use it, run:

```bash
docker compose build
docker compose create
docker compose start
```

The docker compose file will download a postgres container image and initiate a blank database using a local volume. It will also create an image based on the provided Dockerfile. The docker compose file references the image name. If you have built the container image using the Taskfile tasks, Docker compose will attempt to use that image before building a new one.

## Dev Setup

Requirements:
- [uv](https://docs.astral.sh/uv/)
- [Taskfile](https://taskfile.dev/)
- sqlite3

Clone the repo:
```bash
git clone git@github.com:IAmSkweetis/linkedin-discord-bot.git
```

Use uv to sync:
```bash
uv sync
```

Run the following scripts for local-dev setup:
```bash
# Install chromedriver
task setup:chromedriver

# Initialize the local db
task db:init

# Run any db migrations
task db:migrate
```