# anonfiles-script
An upload script for anonfiles.com made in python. Supports multiple files.
[![Publish package](https://github.com/jakbin/anonupload/actions/workflows/publish.yml/badge.svg)](https://github.com/jakbin/anonupload/actions/workflows/publish.yml)
[![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(filename)
```py
from anonupload import upload
upload(filename)
```
```py
from anonupload import changefile_and_upload
changefile_and_upload([file1, file2])
```
### anonupload.download(url)
```py
from anonupload import download
download(url)
```
### anonupload.downloads([url1, url2])
```py
from anonupload import downloads
downloads([url1, url2])
```
Raw data
{
"_id": null,
"home_page": "https://github.com/jakbin/anonupload",
"name": "anonupload",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "anonfile,anonfile-api,anonfile-cli,anonymous,upload",
"author": "Jak Bin",
"author_email": "jakbin4747@gmail.com",
"download_url": "",
"platform": null,
"description": "# anonfiles-script\nAn upload script for anonfiles.com made in python. Supports multiple files.\n\n [![Publish package](https://github.com/jakbin/anonupload/actions/workflows/publish.yml/badge.svg)](https://github.com/jakbin/anonupload/actions/workflows/publish.yml)\n [![PyPI version](https://badge.fury.io/py/anonupload.svg)](https://pypi.org/project/anonupload/)\n [![Downloads](https://pepy.tech/badge/anonupload/month)](https://pepy.tech/project/anonupload)\n [![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)\n ![GitHub Contributors](https://img.shields.io/github/contributors/jakbin/anonupload)\n ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/jakbin/anonupload)\n ![GitHub last commit](https://img.shields.io/github/last-commit/jakbin/anonupload)\n ![Python 3.6](https://img.shields.io/badge/python-3.6-yellow.svg)\n\n\n## Features\n- Progress bar\n- upload urls will save in a file.\n- You can change file name before upload on anonfile server\n\n\n## Installation\n\n```sh\npip3 install anonupload\n```\n\n## Usage \n```sh\nanon up {path-to-file_1} {path-to-file _2} ... # upload file to anonfile server\nanon d {url1} {url2} ... # and upload directly to anonfiles \n```\n\n# API\n\nThe anonfile-upload client is also usable through an API (for test integration, automation, etc)\n\n### anonupload.upload(filename)\n\n```py\nfrom anonupload import upload\n\nupload(filename)\n```\n\n```py\nfrom anonupload import changefile_and_upload\nchangefile_and_upload([file1, file2])\n```\n\n### anonupload.download(url)\n\n```py\nfrom anonupload import download\n\ndownload(url)\n```\n\n### anonupload.downloads([url1, url2])\n\n```py\nfrom anonupload import downloads\n\ndownloads([url1, url2])\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "upload and download to anonfiles server",
"version": "1.2.1",
"project_urls": {
"Bug Tracker": "https://github.com/jakbin/anonupload/issues",
"Homepage": "https://github.com/jakbin/anonupload"
},
"split_keywords": [
"anonfile",
"anonfile-api",
"anonfile-cli",
"anonymous",
"upload"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "284aad2c23d569628889927b871adf7712333063d80a20ae3d2faf7791b5edc9",
"md5": "1046e33e2a5a04193f7f2da4cca8407d",
"sha256": "b88c3981fd153d6281aa0fad28225dcaaeb4f6f1565eede9aa935fa8e1b30238"
},
"downloads": -1,
"filename": "anonupload-1.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1046e33e2a5a04193f7f2da4cca8407d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 6113,
"upload_time": "2024-01-15T14:39:34",
"upload_time_iso_8601": "2024-01-15T14:39:34.355602Z",
"url": "https://files.pythonhosted.org/packages/28/4a/ad2c23d569628889927b871adf7712333063d80a20ae3d2faf7791b5edc9/anonupload-1.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-15 14:39:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jakbin",
"github_project": "anonupload",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "tqdm",
"specs": []
},
{
"name": "requests",
"specs": []
},
{
"name": "requests-toolbelt",
"specs": []
}
],
"lcname": "anonupload"
}