Metadata-Version: 2.1
Name: anonupload
Version: 1.1.0
Summary: upload and download to anonfiles server
Home-page: https://github.com/redevil1/anonfiles
Author: Jak Bin
Author-email: jakbin4747@gmail.com
Project-URL: Bug Tracker, https://github.com/redevil1/anonfiles/issues
Keywords: anonfile,anonfile-api,anonfile-cli,anonymous,upload
Classifier: Programming Language :: Python :: 3.6
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Requires-Python: >=3
Description-Content-Type: text/markdown
License-File: LICENSE

# anonfiles-script
An upload script for anonfiles.com made in python. Supports multiple files.

 [![PyPI version](https://badge.fury.io/py/anonupload.svg)](https://pypi.org/project/anonupload/)
 [![Downloads](https://pepy.tech/badge/anonupload/month)](https://pepy.tech/project/anonupload)
 [![Downloads](https://static.pepy.tech/personalized-badge/anonupload?period=total&units=international_system&left_color=green&right_color=blue&left_text=Total%20Downloads)](https://pepy.tech/project/anonupload)
 ![GitHub Contributors](https://img.shields.io/github/contributors/jakbin/anonupload)
 ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/jakbin/anonupload)
 ![GitHub last commit](https://img.shields.io/github/last-commit/jakbin/anonupload)
 ![Python 3.6](https://img.shields.io/badge/python-3.6-yellow.svg)


## Features
- Progress bar
- upload urls will save in a file.
- You can change file name before upload on anonfile server


## Installation

```sh
pip3 install anonupload
```

## Usage 
```sh
anon up {path-to-file_1} {path-to-file _2} ...  # upload file to anonfile server
anon d {url1} {url2} ...              # and upload directly to anonfiles 
```

# API

The anonfile-upload client is also usable through an API (for test integration, automation, etc)

### anonupload.upload([file1, file2])

```py
from anonupload import upload

upload([file1, file2])
```

### anonupload.download([file1, file2])

```py
from anonupload import download

download([url1, url2])
```
