semvec/pypi-packages huggingface dataset:
tpy 0.3.0
tmux through python
License: MIT
Requires Python: >=2.7.0


# tpy

## Installation

```bash
pip install tpy
```


## Usage

See `tpy --help`:

```
usage: tpy [--socket-name SOCKET_NAME] [--socket-path SOCKET_PATH]
           [--session-name SESSION_NAME] [--window-name WINDOW_NAME]
           [--hotkey HOTKEY] [--reset-window] [--reset-pane] [--dry] [--debug]
           [-h]
           {cmd,again} ...

Runs commands in tmux.

positional arguments:
  {cmd,again}

optional arguments:
  --socket-name SOCKET_NAME
                        Socket name
  --socket-path SOCKET_PATH
                        Socket path
  --session-name SESSION_NAME
                        Session name
  --window-name WINDOW_NAME
                        Window name
  --hotkey HOTKEY       Register and wait for hotkey. Requires `sudo`
                        invocation.
  --reset-window        Resets window before execution
  --reset-pane          Resets pane before execution
  --dry                 Will send but not execute commands
  --debug               Debugging info
  -h, --help            Usage info


usage: tpy cmd command

Runs arbitrary command.

positional arguments:
  command  Command to execute



usage: tpy again [-tu TIMES_UP]

Runs previous command again.

optional arguments:
  -tu TIMES_UP, --times-up TIMES_UP
                        Number of times to press cursor up
```
pyplayingcards 1.2.4
Create and manipulate playing cards in Python!
License: MIT

# pyplayingcards
Repository for the pyplayingcards module on PyPi.

This module allows you to create and modify playing card objects in Python. With only the standard library modules random and functools as dependencies, the pyplayingcards module is an easy-to-use, well documented way of adding playing cards to your code.

As this is a simple project, the documentation is within the code itself. Feel free to fork, clone, copy and use any of the code in the module. For more information, see the LICENSE file on the GitHub page.

I learnt a lot of good coding practices from this project, and I hope it will help you have an easier time doing whatever card thing you're doing. Enjoy!

**Installation:**

`pip install pyplayingcards`

**How to use, basics:**

There are three classes in the pyplayingcards module:

PlayingCard

PlayingCards

Deck


All three of these classes are relatively simple to use.
The PlayingCard class defines a simple class for normal playing cards.

The PlayingCards class defines either a randomly generated list of PlayingCard objects or a user-defined list of PlayingCard objects, with various other features.

A Deck is inherits from the PlayingCards class, but with the default values of a normal deck of cards and other methods.


For an actual understanding of the inner-workings of the pyplayingcards module, it is recommended that you look at the source code on the GitHub page, as it has more documentation than actual code.

_Happy coding!_

**The GitHub page I keep talking about:**

https://github.com/DaJodhi/pyplayingcards
glueetl 0.0.5
A command line tool to help deploy AWS Glue Jobs at ease :)
License: MIT
Requires Python: >=3.6

# glueetl
A command line tool to help deploy AWS Glue Jobs at ease :)


## Install
```bash
$ pip install glueetl
```


## How to develop a Glue job
You can develop a Glue job by following the steps below.



### 1. Set up AWS Credentials and Region

Before you can deploy a Glue job to AWS Glue, you must set up AWS Credentials and Region.
```bash
$ vim ~/.aws/credentials

[default]
aws_access_key_id=<AWS_ACCESS_KEY_ID>
aws_secret_access_key=<AWS_SECRET_ACCESS_KEY>
region=<REGION>
```



### 2. Initialize a Glue job

```bash
$ mkdir sample
$ cd sample
$ glueetl init
```
```
.
├── README.md
├── config.yaml
└── script.py
```

`config.yaml` includes job properties and currently it supports the following properties:  
```yaml
job: 
  name: sample-glue-job
  role_name: AWSGlueServiceRole
  script_location: s3://glue-job-scripts/sample-glue-job/script.py
  max_concurrent_runs: 10
  command_name: glueetl
  max_retries: 0
  timeout: 28800
  max_capacity: 10
  connections:
    - first_connection
    - second_connection
  default_arguments:
    argument1: value1
    argument2: value2
  non_overridable_arguments:
    argument1: value1
    argument2: value2
  trigger:
    name: trigger-sample-glue-job
    schedule: cron(5 * * * ? *)
  tags:
    key1: value1
    key2: value2

```

Please change default values in file `config.yaml` and write your job logic in file `script.py`.  



### 3. Deploy a Glue job

```bash
$ cd sample
$ glueetl deploy
```
Your job will be deployed to AWS Glue.



### 4. Run a Glue job

You can manually run your Glue job like this.
```bash
$ cd sample
$ glueetl run --arg1=value1 --arg2=value2
```