Metadata-Version: 2.1
Name: anonupload
Version: 1.0.7
Summary: upload and download to anonfiles server
Home-page: https://github.com/redevil1/anonfiles
Author: Jak Bin
Author-email: jakbin4747@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/redevil1/anonfiles/issues
Keywords: anonfile,anonfile-api,anonfile-cli,anonymous,upload
Platform: UNKNOWN
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 anonfile.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/redevil1/anonfiles)
 ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/redevil1/anonfiles)
 ![GitHub last commit](https://img.shields.io/github/last-commit/redevil1/anonfiles)
 ![Python 3.6](https://img.shields.io/badge/python-3.6-yellow.svg)


## 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} ...              # download file 
```

## install old version 1.0.1
```sh
pip3 install anonupload==1.0.1
```

## Usage for version 1.0.1 

```sh
anon {path-to-file 1} {path-to-file 2}...
```
## You can change file name before upload on anonfile server

# 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([file1, file2])
```

