semvec/pypi-packages huggingface dataset:
scylla-http 1.0.0
The parallel downloader.
License: MIT
Requires Python: >=3.9

# Scylla

Scyla downloads files in parallel.  
It is aimed at speeding up concurrent downloads, not at being as fast as possible per download.  
There are probably a bunch of tools out there that are faster, as that is not scylas goal.  
The reason scylla exists is because I had to repeatedly download a bunch of files and it took a while with `wget`.  

It can be used from the command line or as importable module.  
From the commandline it is quite easy to use:  

```bash
kazaamjt@workstation:~$ scylla -f url_list -o artifacts/
```

Alternativly you can import the module from in a script.  

## CLI Options

As mentioned, the CLI is quite simple, it does not have many options:  

```bash
kazaamjt@workstation:~$ scylla --help
Usage: scylla [OPTIONS]

Options:
  -f, --file TEXT               Path to a file containing urls.
  -o, --output-dir TEXT         Directory to store the retrieved files.
  -s, --max-concurrent INTEGER  Maximum number of simultanious files to
                                download. Setting this to 0 will make scylla
                                try to download all the files at once.
  --help                        Show this message and exit.
```

## Using as a module

Using as a module is also not very difficult.  
Do note that the module uses `async`, so it does have some gotchas.  
Also note that the module is fully typed, hopefully making its usage easier.  

To use it simply import the module and instantiate the `Downloader` class:  

```Python
import asyncio
from pathlib import Path

import scylla

urls = [
    "https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.10.17.tar.xz",
    "https://example.com/",
]

async def main() -> None:
    downloader = Downloader(urls, Path("."))
    await downloader.start()

if __name__ == "__main__":
    asyncio.run(main())
```

The most important gotcha here is making sure the `downloader` class is instantiated in
the same event-loop as `Downloader.start` is called from.  
We do this here by wrapping them in a single `async` function.  

And that's it really.  

The class has a couple more init parameters that are more for advanced usage:

    - max_concurrent: int = 5  
      Same as the CLI, this changes the maximum number of downloads that run simultaniously.  
    - chunk_report_cb: Optional[ChunkReportCallback] = None  
      The function passed to this parameter will be called everytime a chunk was succesfully downloaded and saved.  
      Usefull for tracking download progress.  
    - report_done_cb: Optional[Callable[[str], None]] = None  
      The function passed to this parameter will be called everytime a download is completed.  
      The parameter being passed back is the name of the file.
py4devs-api 0.3.0
API4DEVS is a free library that makes it possible to generate Brazilian Documents to test verification functions in the most diverse applications.
License: MIT

<h1 align="center">PY4DEVS API</h1>
<h4 align="center"> A free library for those who need to generate **Brazilian Documents** for testing. </h4>

## About

**API4DEVS** is a *free library* that makes it possible to generate **Brazilian Documents** to test verification functions in the most diverse applications.

---
interview-star-questions 1.6.0
Command Line Program that allows you to add, edit, and delete interview questions and add related answers, notes and tips.
License: MIT
Requires Python: >=3.8.2

<h1 align="center">
  Interview Questions Practice
  <br>
</h1>

<h4 align="center">This program stores and displays interview questions and corresponding answers, notes, and tips.<br />
</h4>

<p align="center">
	<a href="#description">Description</a> •
	<a href="#features">Features</a> •
	<a href="#future-features">Future Features</a> •
	<a href="#file-descriptions">File Descriptions</a> •
	<a href="#how-to-use">How To Use</a> •
	<a href="#requirements">Requirements</a> •
	<a href="#credits">Credits</a> •
	<a href="#license">License</a>
<br />
<br />
<img src='images/flashcards.png' height=400>
</p>


## Description

This is a flash card interface, used for interview questions currently.


## Features

* Command line interface to display random practice questions
* Optionally add answers, notes, and tips
* Keeps track of what questions you have answered


## Future Features

* Move program to webpage using flask for better interface
* Add function to include job descriptions


## How To Use


```bash
pip install interview-star-questions

interview
```

## Requirements

*No special requirements!*


## Credits

[navdeep-G setup.py](https://github.com/navdeep-G/setup.py)

## License

[MIT](https://tldrlegal.com/license/mit-license)