Skip to main content

The official Cybersharing CLI

Project description

Cybersharing CLI

This is the official Cybersharing CLI. It is a command line interface that allows you to interact with the Cybersharing API. You can use it to upload and download files via the terminal.

Installation

Installing the Cybersharing CLI is easy. You can install it via pip:

pip install cybersharing

Usage

Login

Although not required, it is recommended that you login into your Cybersharing account before using the CLI. You can do this by running the following command:

cybersharing login <token>

Where <token> is your CLI Token. You can find it in your account settings.

You can logout at any time by running:

cybersharing logout

Upload

To upload one or more files, you can run the following command:

cybersharing upload <file1> <file2> ...

Where <file1>, <file2>, etc. are the files you want to upload.

Any option supported by the web interface is also supported by the CLI. For example, you can specify that the file should never expire by running:

cybersharing upload --permanent <file>

For the full list of options, run:

cybersharing upload --help

Download

To download files from a Cybersharing url, you can run the following command:

cybersharing download <url>

A valid URL starts with https://cybersharing.net/s/.

Like with the upload command, you can specify options when downloading files. For example, you can download a password-protected file by running:

cybersharing download --password <password> <url>

Once again, for the full list of options, run:

cybersharing download --help

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

cybersharing-1.0.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

cybersharing-1.0.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file cybersharing-1.0.0.tar.gz.

File metadata

  • Download URL: cybersharing-1.0.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for cybersharing-1.0.0.tar.gz
Algorithm Hash digest
SHA256 33553840d9f5bddbc511cf58ec631639dbaed7b0d059698beeebc4799bf890ac
MD5 98e05e042deb75da98d6e8b86eaf06e8
BLAKE2b-256 9290a11ebaae1a64729b8f78b5049b32c5ea36ca4a7428882d447135b0bd6f8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cybersharing-1.0.0.tar.gz:

Publisher: python-publish.yml on Et3rnos/cybersharing-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cybersharing-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cybersharing-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for cybersharing-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 857cabba0a07b167abe52868613418be9724d05e7a1933d7dceebf7fa978f4a6
MD5 b8bfbd8eb4c55e0e5e1ef7043b5b80de
BLAKE2b-256 0d52edea37c9c4ec735523b2bf1b5ab5b19e2e0f746241d07aed1a1713d5ebbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for cybersharing-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on Et3rnos/cybersharing-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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