anonupload


Nameanonupload JSON
Version 1.3.0 PyPI version JSON
download
home_pagehttps://github.com/jakbin/anonupload
Summaryupload and download to anonfiles server
upload_time2024-06-15 15:14:07
maintainerNone
docs_urlNone
authorJak Bin
requires_python>=3
licenseNone
keywords anonfile anonfile-api anonfile-cli anonymous upload
VCS
bugtrack_url
requirements tqdm requests requests-toolbelt
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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": null,
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": null,
    "keywords": "anonfile, anonfile-api, anonfile-cli, anonymous, upload",
    "author": "Jak Bin",
    "author_email": "jakbin4747@gmail.com",
    "download_url": null,
    "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": null,
    "summary": "upload and download to anonfiles server",
    "version": "1.3.0",
    "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": "4e9ec5922422f97f579826f21406d37d5137b4e8fc1584c51f39b5a415aa7b9d",
                "md5": "94ad669131428851d20b6f9b4707ded2",
                "sha256": "0636b4c0acd1333f1a6b94afb1846b76163d061bdbb9e8a247b9823f1ef61e6a"
            },
            "downloads": -1,
            "filename": "anonupload-1.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "94ad669131428851d20b6f9b4707ded2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 6235,
            "upload_time": "2024-06-15T15:14:07",
            "upload_time_iso_8601": "2024-06-15T15:14:07.851046Z",
            "url": "https://files.pythonhosted.org/packages/4e/9e/c5922422f97f579826f21406d37d5137b4e8fc1584c51f39b5a415aa7b9d/anonupload-1.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-15 15:14:07",
    "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"
}
        
Elapsed time: 0.58233s