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.1.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.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cybersharing-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 08efb99cbb6519885d4a632722e482d3dc7ce5462b435cf6b8509edfa5b2ba5d
MD5 a03c35764c96bd37b61e102308e57524
BLAKE2b-256 aba2f21c8a0143a3e2b89efa82a8b3a1fcfb8b64419bf4a5eeb7e92efbaadbf6

See more details on using hashes here.

Provenance

The following attestation bundles were made for cybersharing-1.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: cybersharing-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f28e1adcbca3a6c9d07e4f116d5ee347df814350d47c862adb63c4898e324dab
MD5 7541fe0e2860db78c067fe7c95035fa0
BLAKE2b-256 5639aacc96494814f888bdec02c2fe8963f590374c809f3627f5b67bb6c73e3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cybersharing-1.0.1-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