file-io-cli-tddschn


Namefile-io-cli-tddschn JSON
Version 1.1.5 PyPI version JSON
download
home_pagehttps://github.com/tddschn/file.io-cli-tddschn
SummaryCommand-line tool to upload files to https://file.io
upload_time2023-05-30 03:26:57
maintainer
docs_urlNone
authorTeddy Xinyuan Chen
requires_python>=3.11,<4.0
licenseMIT
keywords file.io utility uploader cli
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # file.io-cli-tddschn

Fork of `file.io-cli` with maintenance and enhancements.

    $ pip install file.io-cli-tddschn

Command-line tool to upload files to https://file.io

  [file.io]: https://www.file.io

- [file.io-cli-tddschn](#fileio-cli-tddschn)
    - [Synopsis](#synopsis)
    - [Examples](#examples)
  - [Installation](#installation)
    - [pipx](#pipx)
    - [pip](#pip)
  - [Develop](#develop)
    - [Changelog](#changelog)
      - [1.0.5](#105)
      - [v1.0.4](#v104)
      - [v1.0.3](#v103)
      - [v1.0.2](#v102)
      - [v1.0.1](#v101)
      - [v1.0.0](#v100)


### Synopsis



```
$ file.io-cli --help

usage: file.io-cli [-h] [--version] [-e E] [-n NAME] [-q] [-c] [-t PATH] [-z]
                   [-v] [-N UPLOAD_TIMES]
                   [file]

Upload a file to file.io and print the download link. Supports stdin.

positional arguments:
  file                  the file to upload

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -e E, --expires E     set the expiration time for the uploaded file
  -n NAME, --name NAME  specify or override the filename
  -q, --quiet           hide the progress bar
  -c, --clip            copy the URL to your clipboard
  -t PATH, --tar PATH   create a TAR archive from the specified file or
                        directory
  -z, --gzip            filter the TAR archive through gzip (only with -t,
                        --tar)
  -v, --verbose         print the server response
  -N UPLOAD_TIMES, --upload-times UPLOAD_TIMES
                        upload the file N times

```

### Examples

Upload a file and copy the link:

```
$ file.io hello.txt -c
[============================================================] 100% (15 bytes / 15 bytes)
https://file.io/pgiPc2 (copied to clipboard)
$ cat https://file.io/pgiPc2
Hello, File.io!
```

Upload a compressed archiveCompress a file/directory and upload it (streaming):

```
$ file.io -zt AllMyFiles/
/ (55MB)
https://file.io/sf2La
```

Upload from stdin:

```
$ find .. -iname \*.py | file.io -n file-list.txt
/ (312KB)
https://file.io/uRglUT
```

Upload a file 3 times concurrently:

```
$ file.io -N 3 file_io_cli_tddschn/cli.py

https://file.io/Vv7QtVfMVBr2
https://file.io/10Y2DgoXDJwQ
https://file.io/rCoWI2PN58cg
```

## Installation

### pipx

This is the recommended installation method.

```
$ pipx install file.io-cli-tddschn
```

### [pip](https://pypi.org/project/file.io-cli-tddschn/)

```
$ pip install file.io-cli-tddschn
```

## Develop

```
$ git clone https://github.com/tddschn/file.io-cli-tddschn.git
$ cd file.io-cli-tddschn
$ poetry install
```

### Changelog

#### 1.1.2

* Add -N, --num-threads option to upload files multiple times concurrently
* Fix the uploaded file name when using relative path like `.`

#### 1.0.5

* Add -v, --verbose option to print server response in JSON
* Use poetry for developing and packaging

#### v1.0.4

* Fix missing entrypoint in new setup script

#### v1.0.3

* Fix declared dependencies in setup script

#### v1.0.2

* Replaced `time.clock` (removed in python 3.8) with `time.perf_counter`
* Minimum Python version is 3.3

#### v1.0.1

* Add `-t, --tar` and `-z, --gzip` options
* Fix NameError when using `-c, --clip`
* Fix progress bar left incomplete

#### v1.0.0

* Initial version
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tddschn/file.io-cli-tddschn",
    "name": "file-io-cli-tddschn",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "",
    "keywords": "file.io,utility,uploader,CLI",
    "author": "Teddy Xinyuan Chen",
    "author_email": "45612704+tddschn@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/94/da/6ca436dbb04fb07a94208c29b5de68f71bf65c05ebc4bd2459283990637c/file_io_cli_tddschn-1.1.5.tar.gz",
    "platform": null,
    "description": "# file.io-cli-tddschn\n\nFork of `file.io-cli` with maintenance and enhancements.\n\n    $ pip install file.io-cli-tddschn\n\nCommand-line tool to upload files to https://file.io\n\n  [file.io]: https://www.file.io\n\n- [file.io-cli-tddschn](#fileio-cli-tddschn)\n    - [Synopsis](#synopsis)\n    - [Examples](#examples)\n  - [Installation](#installation)\n    - [pipx](#pipx)\n    - [pip](#pip)\n  - [Develop](#develop)\n    - [Changelog](#changelog)\n      - [1.0.5](#105)\n      - [v1.0.4](#v104)\n      - [v1.0.3](#v103)\n      - [v1.0.2](#v102)\n      - [v1.0.1](#v101)\n      - [v1.0.0](#v100)\n\n\n### Synopsis\n\n\n\n```\n$ file.io-cli --help\n\nusage: file.io-cli [-h] [--version] [-e E] [-n NAME] [-q] [-c] [-t PATH] [-z]\n                   [-v] [-N UPLOAD_TIMES]\n                   [file]\n\nUpload a file to file.io and print the download link. Supports stdin.\n\npositional arguments:\n  file                  the file to upload\n\noptions:\n  -h, --help            show this help message and exit\n  --version             show program's version number and exit\n  -e E, --expires E     set the expiration time for the uploaded file\n  -n NAME, --name NAME  specify or override the filename\n  -q, --quiet           hide the progress bar\n  -c, --clip            copy the URL to your clipboard\n  -t PATH, --tar PATH   create a TAR archive from the specified file or\n                        directory\n  -z, --gzip            filter the TAR archive through gzip (only with -t,\n                        --tar)\n  -v, --verbose         print the server response\n  -N UPLOAD_TIMES, --upload-times UPLOAD_TIMES\n                        upload the file N times\n\n```\n\n### Examples\n\nUpload a file and copy the link:\n\n```\n$ file.io hello.txt -c\n[============================================================] 100% (15 bytes / 15 bytes)\nhttps://file.io/pgiPc2 (copied to clipboard)\n$ cat https://file.io/pgiPc2\nHello, File.io!\n```\n\nUpload a compressed archiveCompress a file/directory and upload it (streaming):\n\n```\n$ file.io -zt AllMyFiles/\n/ (55MB)\nhttps://file.io/sf2La\n```\n\nUpload from stdin:\n\n```\n$ find .. -iname \\*.py | file.io -n file-list.txt\n/ (312KB)\nhttps://file.io/uRglUT\n```\n\nUpload a file 3 times concurrently:\n\n```\n$ file.io -N 3 file_io_cli_tddschn/cli.py\n\nhttps://file.io/Vv7QtVfMVBr2\nhttps://file.io/10Y2DgoXDJwQ\nhttps://file.io/rCoWI2PN58cg\n```\n\n## Installation\n\n### pipx\n\nThis is the recommended installation method.\n\n```\n$ pipx install file.io-cli-tddschn\n```\n\n### [pip](https://pypi.org/project/file.io-cli-tddschn/)\n\n```\n$ pip install file.io-cli-tddschn\n```\n\n## Develop\n\n```\n$ git clone https://github.com/tddschn/file.io-cli-tddschn.git\n$ cd file.io-cli-tddschn\n$ poetry install\n```\n\n### Changelog\n\n#### 1.1.2\n\n* Add -N, --num-threads option to upload files multiple times concurrently\n* Fix the uploaded file name when using relative path like `.`\n\n#### 1.0.5\n\n* Add -v, --verbose option to print server response in JSON\n* Use poetry for developing and packaging\n\n#### v1.0.4\n\n* Fix missing entrypoint in new setup script\n\n#### v1.0.3\n\n* Fix declared dependencies in setup script\n\n#### v1.0.2\n\n* Replaced `time.clock` (removed in python 3.8) with `time.perf_counter`\n* Minimum Python version is 3.3\n\n#### v1.0.1\n\n* Add `-t, --tar` and `-z, --gzip` options\n* Fix NameError when using `-c, --clip`\n* Fix progress bar left incomplete\n\n#### v1.0.0\n\n* Initial version",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Command-line tool to upload files to https://file.io",
    "version": "1.1.5",
    "project_urls": {
        "Bug Tracker": "https://github.com/tddschn/file.io-cli-tddschn/issues",
        "Homepage": "https://github.com/tddschn/file.io-cli-tddschn",
        "Repository": "https://github.com/tddschn/file.io-cli-tddschn"
    },
    "split_keywords": [
        "file.io",
        "utility",
        "uploader",
        "cli"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a096707d0f73c14fa430321eb59155690844fdffd6178122a24c51e20c589f4",
                "md5": "d205b41d71c5c99640ddde0aace94b72",
                "sha256": "bd52cc1102ffbd9e64678a2c2ea9b7ef7b036efd58aab834ec945ac09be56d5e"
            },
            "downloads": -1,
            "filename": "file_io_cli_tddschn-1.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d205b41d71c5c99640ddde0aace94b72",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 9614,
            "upload_time": "2023-05-30T03:26:55",
            "upload_time_iso_8601": "2023-05-30T03:26:55.944824Z",
            "url": "https://files.pythonhosted.org/packages/5a/09/6707d0f73c14fa430321eb59155690844fdffd6178122a24c51e20c589f4/file_io_cli_tddschn-1.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "94da6ca436dbb04fb07a94208c29b5de68f71bf65c05ebc4bd2459283990637c",
                "md5": "e0ebcbcb70c9db3744fdff54a9dfe132",
                "sha256": "4477d14e4ab25cf2310c99ce98e416b838d3d1d75474e76497b1cd4319148efe"
            },
            "downloads": -1,
            "filename": "file_io_cli_tddschn-1.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "e0ebcbcb70c9db3744fdff54a9dfe132",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 6935,
            "upload_time": "2023-05-30T03:26:57",
            "upload_time_iso_8601": "2023-05-30T03:26:57.782089Z",
            "url": "https://files.pythonhosted.org/packages/94/da/6ca436dbb04fb07a94208c29b5de68f71bf65c05ebc4bd2459283990637c/file_io_cli_tddschn-1.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-30 03:26:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tddschn",
    "github_project": "file.io-cli-tddschn",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "file-io-cli-tddschn"
}
        
Elapsed time: 0.10480s