semvec/pypi-packages huggingface dataset:
danbooru-scraper 0.1.2
Scraper for the site danbooru
License: MIT
Requires Python: <4.0,>=3.10

# danbooru-scraper

yet another danbooru scraper, this time distributed for sagemaker use

## Installation:

```bash
pip install danbooru-scraper
```

## Usage

### cli:

```bash
# danbooru-scraper --help
usage: danbooru-scraper [-h] --from-id FROM_ID --to-id TO_ID
                        --local-dir LOCAL_DIR --upload-dir UPLOAD_DIR
```

example inputs:
```bash
danbooru-scraper --from-id 8627380 --to-id 8627391 --local-dir danbooru_downloads --upload-dir s3://dataset-ingested/danbooru --request-interval 0.85
```

### python:

```python
from danbooru_scraper import DanbooruScraper

scraper = DanbooruScraper(root_dir='../data/')
post_ids = [i for i in range(1000, 10000)]
scraper.scrape_posts(post_ids)
```

### SageMaker:

(Check notebooks/laucch_sagemaker.ipynb for a complete example of distributed scraping on sagemaker.)

## Build:

```bash
python -m pip install build twine
python -m build
twine check dist/*
twine upload dist/*
```
pylitter 1.1.1
CLI tool to upload file to litterbox/catbox
License: MIT
Keywords: direct upload cli

# litter

A simple CLI tool to upload temporary files to [Litterbox](https://litterbox.catbox.moe/)/[Catbox](https://catbox.moe/). You type a command, you get a link. As simple as that!

Made for those who are too lazy to open SCP/SFTP.

## Installation
```
pip install pylitter
```

or use `pipx` if you're on Arch or equivalent.
## Usage
The main command is "throw", because just "**throw it into the litter, man**". Geddit?

```
throw file (for|forever) [1h/12h/24h/72h]
```

- Use `for <time>` if you want to upload to Litterbox, temporary.
- Use `forever` if you want to upload to Catbox, permanent.

>[!NOTE]
>The old command `litter` and the new `throw` can still be used interchangeably, but it is recommended to use the superior `throw`.

>[!IMPORTANT]
>Remember that Catbox has a file size limit of 200mb.

## Examples

```
throw test.jpg for 12h   

[71097/71097] bytes |====================>|
Your link : https://litter.catbox.moe/zmr6i6.jpg
```

```
throw test2.jpg forever

[23039/23039] bytes |====================>|
Your link : https://files.catbox.moe/nxulxl.jpg
```

## Acknowledgements
- [@yukinotenshi](https://github.com/yukinotenshi) for creating [PyUpload](https://github.com/yukinotenshi/pyupload).
- [catbox.llc](https://catbox.llc/) for litterbox and catbox. 

You guys are amazing!
## Contributing
If you wish to, you can contribute to the project by submitting a pull request.

The best way to contribute would be to suggest the developer a provider or a feature, more better if you can show a logic of how that can be done, you'll be mentioned and thanked!
### Sponsoring
Money is appreciated, but **stars even more**! Feel free to star the project if you think it is worthy of one. Moreover, you can just talk, banter and argue with the developer as that way you'll be paying with your time.

<p align="center"><sup>Never forget, you are SUPER cool!</sup></p>
selenium-make 0.0.3
A simple CLI tool to set up Selenium scripts and install browser drivers for automation.
License: MIT
Requires Python: >=3.8
Keywords: automation, chrome, cli, firefox, selenium

# selenium-make

`selenium-make` automates the installation of essential dependencies for web scraping and browser automation using Selenium and BeautifulSoup. It creates a simple Selenium-based web automation script tailored for the specified browser (Chrome or Firefox).

## Installation

To install `selenium-make`, you can use pip. Run the following command in your terminal:

```bash
pip install selenium-make
```

## Usage

After installing the package, you can initialize the selenium project by running the following command:

```bash
slm init <browser name>
```

### Supported Browsers

- **Chrome**: Use `slm init chrome` to download the ChromeDriver that is compatible with your browser version.
- **Firefox**: Use `slm init firefox` to download the GeckoDriver that is compatible with your browser version.

### Example

To initialize selenium script for using chrome, you would run:

```bash
slm init chrome
```

To initialize selenium script for using firefox, the command would be:

```bash
slm init firefox
```


## Requirements

- Python 3.6 or higher

## Contribution

If you would like to contribute to this project, please fork the repository and submit a pull request. Any enhancements, bug fixes, or suggestions are welcome!

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.
muuusiiik 0.0.36
simple utilities
License: MIT
Requires Python: >=3.7

# UTILITY PACKAGE
### OVER VIEW
* **timer** - counter a runtime 
* **configure** - reading configure file in yaml format
* **data** - load & save plain text & object 
* **hasher** - string hashing
* **param_tool** - convert between dict and plain-text
* **log** - log manager

### DEMO LOG 
``` python
import muuusiiik.util as msk

# define logger
logger = msk.log.GetLogger(level=msk.log.DEBUG, formatter='minimal')
hand   = msk.log.GetHandler(filename='logs/usage.log', when='daily', level=msk.log.WARNING, formatter='full')
logger.addHandler(hand)

# use logger
logger.info(' > info')
logger.debug(' > debug')
logger.warning(' > warning')
logger.error(' > error')
logger.critical(' > critical')
```

### DEMO PARSER
```python
import muuusiiik.parser as ps

```


### HOW TO BUILD A PACKAGE TO PYPI
prerequisite
``` shell
pip install setuptools wheel tqdm twine
```

build and upload package
```shell
# preparing tar.gz package 
python setup.py sdist
# uploading package to pypi server
python -m twine upload dist/* --verbose
```

install package
``` shell
# install latest version
pip install muuusiiik --upgrade
# specific version with no cache
pip install muuusiiik==0.0.11  --no-cache-dir
```