semvec/pypi-packages huggingface dataset:
mediafiredl 0.0.2
MediafireDL is an automation tool to download files from mediafire without having to do any extra steps.
Requires Python: >=3.8

# MediafireDL

MediafireDL is an automation tool to download files from mediafire without having to do any extra steps, which allows you to retrieve data from any mediafire link.

I designed this to make it work on a python console application, multi threading is not supported for now, but my goal is to make it easy to download and show progress trough GUI frameworks like kivy or pyqt5.

You can use the following file as a test, however it will be removed soon. <br>
[Go to test file.](https://www.mediafire.com/file/ipnyzofjcwri357/test-10mb.bin/file)

## What can it do?
MediafireDL allows you to: <br>
* Get file size. <br>
* Get file name. <br>
* Get true file link. <br>
* Download a file. <br>
* Bulk download files. <br>

directly from a single URL.

## Requirements
This module uses `beautifulsoup4` and `requests`, if you do not have these modules installed, they will install automatically.

## Installation
```bash
pip install mediafiredl
```

## Importing
```python
from mediafiredl import MediafireDL
```

## Available functions
```python
from mediafiredl import MediafireDL as MF

url = "https://www.mediafire.com/file/ipnyzofjcwri357/test-10mb.bin/file"

# Returns a string with the file name, including its extension.
file_name = MF.GetName(url)

# Returns true file link
file_link = MF.GetFileLink(url)

# Returns file size in bytes
file_size = MF.GetFileSize(url)

# Returns the conversion from bytes to megabytes
file_size_mb = MF.AsMegabytes(file_size)

# Downloads a file to local directory and returns its download path. A second argument can be used to assign the output directory, it must not end with a "\".
file_result = MF.Download(url)
# Custom output example:
file_result = MF.Download(url, "C:\\Users\\User\\Desktop")
#or
file_result = MF.Download(url, output="C:\\Users\\User\\Desktop")


# Bulk file downloads
bulk_urls = [
    "url1",
    "url2",
    "url3",
    "url4"
]

# Displays how many files you will be downloading and the total size.
# After displaying this information, it will start downloading the files one by one.
MF.BulkDownload(bulk_urls)


```
python-linq 2.0.4
Brings LINQ to Python
Requires Python: >=3.7

# LINQ
[![Build Status](http://drone.jakke.se/api/badges/jakkes/python-linq/status.svg)](http://drone.jakke.se/jakkes/python-linq)

Provides simple to use LINQ features to Python 3.x.

## Documentation
See this link: https://jakkes.github.io/python-linq/

## Installing
### From pip
```bash
pip install python-linq
```
### From source
```bash
git clone https://github.com/jakkes/python-linq.git
cd python-linq
pip install -r requirements.txt
```

## Usage
1. Import the `Query` class
2. Write beautiful queries!
```python
>>> from linq import Query
>>> x = Query([1, 2, 3]).select(lambda x: x * x + 3).to_list()
>>> assert x == [4, 7, 12]
```

Distribute heavy queries across multiple processes using `DistributedQuery`.
```python
>>> import time
>>> from linq import DistributedQuery
>>> 
>>> def heavy_transformation(x: int):
>>>     time.sleep(10)
>>>     return x**2
>>> 
>>> def less_than_5(x: int):
>>>     return x < 5
>>> 
>>> x = (
>>>     DistributedQuery(range(100), processes=8)
>>>     .where(less_than_5)
>>>     .select(heavy_transformation)
>>>     .to_list()
>>> )
>>> print(x)
[0, 1, 4, 9, 16]    # Not necessarily in this order.
```
framework-detector 0.2.1
Detects which framework is in use in a project
Requires Python: >=3.9,<4.0

# Framework detector

Detects which framework is in use for a project and suggests a dockerfile.

Strongly influenced by https://github.com/netlify/framework-info

## Installation

```sh
pip install framework-detector
```

## Usage

```python
from framework_detector import detect, get_dockerfile
from pathlib import Path

framework = detect(Path.cwd())

dockerfile = get_dockerfile(framework["dockerfile"])
```

## Supported frameworks

- Flask
- Spring Boot
- Django
hexviewer 0.1.4
hexviewer
Requires Python: >=3.6

# hexviewer
This utility prints a pretty `numpy.ndarray`.

Useful for work with HEX (image processing, embedded programming, etc.).

![image](https://raw.githubusercontent.com/dankernel/hexviewer/canary/res/uint8_15_15.png)

# Install

```
# install via pypi
$ pip3 install hexviewer

# install via pypi (-m pip)
$ python3 -m pip install hexviewer

# manual installation
$ git clone https://github.com/dankernel/hexviewer
$ python3 setup.py install

```

# How to use
```
$ hexviewer data/data.npy
```

The output is as follows:

![image](https://github.com/dankernel/hexviewer/raw/canary/res/uint16_300_30.png)

# Supported file formats

| format | support |
|--------|---------|
| INT8   | ✔️       |
| UINT8  | ✔️       |
| UINT16 | ✔️       |
| INT16  | ✔️       |
| UINT32 | ✖️       |
| INT32  | ✖️       |