semvec/pypi-packages huggingface dataset:
gitarootools 0.1.8
command line tools to work with Gitaroo Man game data
License: MIT
Requires Python: >=3.7,<4.0

# gitarootools — command line tools to work with Gitaroo Man game data
 
*Gitaroo Man* is a rhythm action video game for PlayStation 2. This set of tools allows
you to work with data from the game, converting game files to more viewable formats. In
some cases, files converted this way can be edited, converted back to a game format, and
reinserted into the game.

## Installation
The easiest way to install `gitarootools` is to use `pip`:
```bash
pip install gitarootools
```

## Usage
See each tool's help and usage by running
```bash
gm-<toolname> -h
```

## Included tools
### Archive

**`gm-xgmpack`**: pack files into an XGM container

**`gm-xgmunpack`**: unpack files from an XGM container

**`gm-pakpack`**: pack files into a PAK container (Gitaroo Man Lives)

**`gm-pakunpack`**: unpack files from a PAK container (Gitaroo Man Lives)

### Audio

**`gm-imcpack`**: pack subsongs into an IMC audio container

**`gm-imcunpack`**: unpack subsongs from an IMC audio container

**`gm-subsongconv`**: convert a subsong to another format

**`gm-subsong2[subimc|wav]`**: convert multiple subsongs to the specified format

### Image

**`gm-imx2png`**: convert IMX images to PNG

**`gm-png2imx`**: convert PNG images to IMX

### Other

**`gm-gmo2animnames`**: extract animation names from a GMO model (Gitaroo Man Lives)

## Resources
* [Gitaroo Pals](https://discord.gg/ed6P8Jt) Discord server for help and support
* [Issue Tracker](https://github.com/boringhexi/gitarootools/issues)
ytsort 1.4.0
Arrange downloaded youtube videos
License: MIT
Requires Python: >=3.10,<4.0
Keywords: python,youtube,sort,youtube-playlist,youtube-data-api-v3

# YTSort

This program sorts the already downloaded youtube videos present in a folder by renaming them and adding serial number before their names.

# Requirements

Youtube Data API v3 is required. Get it from [here](https://console.cloud.google.com/apis/library/youtube.googleapis.com?supportedpurview=project)

# Install
###### Recommended (To install pipx click [here](https://github.com/pypa/pipx#install-pipx))
```
pipx install ytsort
```

###### or
```
pip install ytsort
```

#### Or upgrade by:
```
pipx upgrade ytsort
```
###### or
```
pip install --upgrade ytsort
```
# Usage

Set Youtube API Key to the environment variable 'YOUTUBE_DATA_API_KEY' (for ease of use, but not required).

### Execute:
```
ytsort
```

```
Usage: ytsort [OPTIONS]

Options:

  -c, --character TEXT    Character after serial.
  -z, --zero              Add zero before serial numbers to make them all of
                          equal length.
  -x, --nozero            Don't add zero before serial numbers.
  -d, --defaults          Change the default configurations and exit.
  -r, --remove-serial     Remove the serial numbers from the local files upto
                          the given character
  --help                  Show this message and exit.
```



# Install from source
Poetry is required. For installation click [here](https://python-poetry.org/docs/#installation).

1. Download the source and install the dependencies by running:
  
   ``` 
   git clone https://github.com/aqdasak/YTSort.git
   cd YTSort
   poetry install
   ```

2. Not required but for ease of use
 
   a) Set Youtube API Key to the environment variable 'YOUTUBE_DATA_API_KEY'

   or
 
   b) edit the `config.py`:

      `'api_key': os.environ.get('YOUTUBE_DATA_API_KEY'),` to `'api_key': <Your Youtube API key>,`

### Run
In the source folder containing pyproject.toml
```
poetry shell
```

then cd into the folder containing youtube videos and execute:
```
ytsort
```