Skip to main content

Solun-CLI is a command line interface tool for uploading files to Solun.

Project description

Solun-CLI

Solun-CLI is a command line interface tool for uploading files to Solun.

Installation

Clone the repository and navigate to the project directory:

cd cli
pip install .

Usage

The solun command can be used to upload files with optional settings for brute force protection, password, end-to-end encryption, and auto deletion.

Basic Upload

Upload a file:

solun file -p /path/to/your/file

Advanced Upload

Upload a file with brute force protection, a password, end-to-end encryption, and set an auto deletion parameter:

solun file -p /path/to/your/file -b -pw "YourPassword" -e2e -ad 1d

Arguments

  • -p, --path: Path to the file to be uploaded.
  • -b, --bruteforceSafe: Enable brute force protection (default: disabled).
  • -pw, --password: Set a password for the file (default: None).
  • -e2e, --endToEndEncryption: Enable end-to-end encryption (default: disabled).
  • -ad, --autoDeletion: Set auto deletion parameter. Options: download, 1d, 1w, 1m, 3m, 6m, 1y, never (default: download).

Build and Publish

To build the package, first install the build tool with:

pip install build

Then run the following command in the root directory of the project:

python3 -m build

This will generate distribution files in the dist directory that you can publish to PyPI. Before publishing the package, ensure any previous build artifacts are cleared to avoid errors:

rm -rf solun.egg-info

To publish the package to PyPI, use the following twine command (make sure twine is installed using pip install twine):

twine upload dist/*

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

solun-0.0.4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

solun-0.0.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file solun-0.0.4.tar.gz.

File metadata

  • Download URL: solun-0.0.4.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for solun-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ce0aee26ed45f9a23da86bb2d34b763744d946c47a2fb4768d87c22d0f214aef
MD5 05a839f581b29a9b801810fc8e49c001
BLAKE2b-256 e5a0a92e5a4ca9ad92877c9d20b6c666b74c930bd74b66b2b49d38917c293b83

See more details on using hashes here.

File details

Details for the file solun-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: solun-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for solun-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3c6b04f87ec1c3c796c9ba97ac6c430d5da3f5129ea2d1d14bf31223fe3e8f0a
MD5 0432d786e7cbbfe3da0d5e46cb14944a
BLAKE2b-256 836e4be475a020e5141d216ec4be3cc11a570972494004f1edb31e0fe3eeca45

See more details on using hashes here.

Supported by

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