semvec/pypi-packages huggingface dataset:
itchiodl 2.3.0
Python Scripts for downloading / archiving your itchio library
License: MIT
Requires Python: >=3.8,<4.0

## IMPORTANT NOTICE: up until 2022-03-09, the package was called itchio, it is now called itchiodl (to avoid pypi conflicts)

# Itchio Downloader Tool
## Install
```bash
pip install itchiodl
```
## Download All Games in library from account
**Please Note:** Having too many jobs may cause rate-limiting from some testing 8 works fine but 10 starts giving errors.

```bash
# via python
python -m itchiodl.downloader

# via setup-tools entry point
itch-download
```

This uses the same API the itchio app uses to download the files. If you have 2FA enabled, generate an API key [here](https://itch.io/user/settings/api-keys) and run the following instead

```bash
# via python (with 4 concurrent downloads)
python -m itchiodl.downloader --api-key=KEYHERE --jobs=4

# via setup-tools entry point
itch-download -k KEYHERE

# download with multiple threads
itch-download -k KEYHERE -j 4

# only download osx or cross platform downloads
itch-download -p osx
```

## Add All Games in a bundle to your library

```bash
# via python
python -m itchiodl.bundle_tool

# via setup-tools entry point
itch-load-bundle
```

This is a bit of a bodge, but it works. It essentially goes through and clicks the "Download" link on every item on the bundle's page, which adds it to your itchio library. It does not download any files. You will need the download page's URL (this will be in the bundle's email, and possibly your purchase history). It will not work with 2FA, and I'm unlikely to be able to fix it without making it far more complicated


## Errors
if a download fails it will be reported in ```errors.txt``` in the same directory as your downloads

An example of which could look something like this:
```Cannot download game/asset: <Game Name>
Publisher Name: <Publisher Name>
Output File: <Publisher Name>/<Game Name>/<Specific Item>
Request URL: <Some URL>
Request Response Code: 404
Error Reason: Not Found
This game/asset has been skipped please download manually
---------------------------------------------------------
```

This is not a perfect solution but does prevent the whole process from crashing
leukeleu-thumbor-multidir 1.0.0
Thumbor file loader that support multiple source paths
License: MIT
Requires Python: >=3.8
Keywords: thumbor file loader multiple source directories

leukeleu-thumbor-multidir
=========================

Thumbor file loader that checks multiple paths

Introduction
------------

[Thumbor](https://github.com/globocom/thumbor/wiki) is a smart imaging service. 
It enables on-demand crop, resizing and flipping of images.

By default, the Thumbor file loader only loads images from a single path. 
Using this loader, multiple paths can be specified. The first path that contains 
the requrest image is then used.

Usage
-----

To enable this loader, add the following to `thumbor.conf`:

    LOADER = 'tc_multidir.loader'

Then, configure the paths to check for the image:

    # List of paths to check for file to load (required)
    TC_MULTIDIR_PATHS = ['/home/media', '/mnt/media']