Skip to main content

CLI client for YAbin

Project description

YABin CLI Client

Installation

pip install yabin

Usage

You can specify the BASE_URL environment variable to change the default API URL, or use the -b/--base-url option.

Create a paste

usage: yabin create [-h] [--encrypted] [--password PASSWORD] [--language LANGUAGE] [--expires-after SECONDS] [--burn-after-read] FILE|stdin

positional arguments:
  FILE|stdin            Content of the paste. If it is stdin, it will be read from stdin

options:
  -h, --help            show this help message and exit
  --encrypted, -e       Encrypt the paste on client-side. Default: False
  --password PASSWORD, -p PASSWORD
                        Password to encrypt the paste with.
  --language LANGUAGE, -l LANGUAGE
                        (Programming) language of the paste. Default: plaintext
  --expires-after SECONDS, -x SECONDS
                        Number of seconds after which the paste will expire.
  --burn-after-read, -b
                        Delete the paste after it has been read once.

Read a paste

usage: yabin read [-h] [--password PASSWORD] URL

positional arguments:
  URL                   Complete URL of the paste to read.

options:
  -h, --help            show this help message and exit
  --password PASSWORD, -p PASSWORD
                        Password to decrypt the paste with. Only needed if password-protected.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yabin-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yabin-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file yabin-0.1.1.tar.gz.

File metadata

  • Download URL: yabin-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Darwin/22.4.0

File hashes

Hashes for yabin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b8d1e16c3193f5b618c530765e6cb8ebbe096d939e57ad2e2f6592b6420b9400
MD5 bd0f3f4572df9488c5975cb8142445af
BLAKE2b-256 bee0c69ca25a46b37ba92ab5ec7879f2b3b64749f778c8d4cc8e6e5427055499

See more details on using hashes here.

File details

Details for the file yabin-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: yabin-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Darwin/22.4.0

File hashes

Hashes for yabin-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7134009eb740a281c6dcecdeaaa84b3177583fe783df0da69da327efc5687c7
MD5 6b986c764f42b85528d8e473709eee75
BLAKE2b-256 0d2bb73fd0fc43419660ddc7a036c7904e80de88b2c24e698abc64591def969d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page