semvec/pypi-packages huggingface dataset:
prawframe 0.0.1
prawframe is a small framework for running plugin-based reddit bots. prawframe supports scheduling plugins and includes a remote python console for modifying your bot's behavior while it runs.

# prawframe
prawframe is a small framework for running plugin-based reddit bots. prawframe supports scheduling plugins and includes a remote python console for modifying your bot's behavior while it runs.

Documentation coming ~~soon~~ at some point.  Check [`example.py`](https://github.com/Wykleph/prawframe/blob/master/prawframe/example.py) for an
example of the features so far.  Run [`server.py`](https://github.com/Wykleph/prawframe/blob/master/prawframe/server.py) to run 
the remote python console "server".  The bot will connect
to you and you can send it python code.  Everything is
accessible through the [`Bot`](https://github.com/Wykleph/prawframe/blob/master/prawframe/bot.py) object.  Put your plugins in
[`plugins.py`](https://github.com/Wykleph/prawframe/blob/master/prawframe/plugins.py) to add your plugins to the remote python console's
namespace.

Make sure to open up the [`.env`](https://github.com/Wykleph/prawframe/blob/master/prawframe/.env) file to configure your bot.

## Install

`pip install prawframe`
PyCharmSync 0.0.2
PyCharmSync is a simple tool for uploading changed project files to a remote host, about as soon as they change.

# PyCharmSync

A simple tool for uploading changed project files to a remote host,
 automatically.

Paid versions of PyCharm can be set up to upload project files
as you change them locally. `PyCharmSync` aims to do just that 
using the `sshpass` and the `scp` command on Unix based machines.

`PyCharmSync` will watch a project directory, track the files in
the directory and then upload the changed versions automatically
based on settings set in an `.env` file in your root project 
directory.

## Install

`pip install PyCharmSync`

### `.env` Example

Here are some settings for a project named `project_name` on a 
raspberry pi.  The `.env` file should be consumable by `configparser.ConfigParser`

    [SSH]
    HOST = 10.0.0.200
    USER = pi
    PASS = raspberry
    PROJECT_ROOT = /home/pi/project_name

The settings laid out above would map to the following command:

    sshpass -p "PASS" scp FILEPATH USER@HOST:PROJECT_ROOT

or

    sshpass -p "raspberry" scp /home/user/project_name/some_file.py pi@10.0.0.200:/home/pi/project_name

### Usage Example

Once you have your `.env` file configured in your project's root
directory all you need to do is import `ProjectSync` from `PyCharmSync`
and then run it's `main` method:

```python
from PyCharmSync import ProjectSync

ProjectSync.main()
```

If you are not running the `main` method from your project's root 
directory you need to pass a `cwd` to the `main` method.

```python
from PyCharmSync import ProjectSync

ProjectSync.main('/home/user/project_name')
```
droplet-dove 0.0.3
A utility to manage a development server on digital ocean

# Dove
[![PyPI version](https://badge.fury.io/py/droplet-dove.svg)](https://badge.fury.io/py/droplet-dove)

A command line utility to help manage your development server in Digital Ocean

## Why?

Developing on a remote environment provides several advantages over local development such as resource scaling, OS selection, security, and portability. However, as an unemployed student, paying 20-30 dollars a month for a hosted server directly impacts my food budget. Dove helps ease this burden by making it easy to snapshot/rebuild your environment. Given that snapshot pricing is 0.05/GB/month, dove helps reduce the cost of maintaining a remote environment when it's frequently idle.

## How

1.  Generate an API access token on Digital Ocean [here](https://cloud.digitalocean.com/account/api/)
2.  Install dove:

    ```
    pip install droplet_dove
    ```

3.  Initialize dove with `dove init`
4.  Start your droplet with `dove up`
5.  Clean up your droplet and take a snapshot with `dove down`

Additional help: `dove --help`

## How Does It Work?

Dove maintains all of its configuration in `~/.dove_config.json`. You can edit these values manually; however you can use `dove init` for an initial population. Note that all properties under the `droplet` key are passed directly to digital ocean (with exception to the `sshkeys` array), so if addiitonal configuration is required it can be edited there.

### Dove Up

1. Check for a running droplet with the name specified in the dove config, abort if one exists
2. Find the latest snapshot for the prefix provided in dove config or use the default snapshot if none exist
3. Create the droplet with the configuration params
4. Wait for the droplet to start

### Dove Down

1. Get droplet based on name provided in dove config, abort if droplet not found
2. Shutdown droplet and take a snapshot
3. Destroy old snapshots with same prefix
4. Destroy droplet