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/*
Metadata
Release files for solun 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| solun-0.0.5.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| solun-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / solun-0.0.5.tar.gz
| Download URL | solun-0.0.5.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4afc762566864882eebb85e1631eda2faa6f44d88eb48a43ae6d7f2f7cbfe1e
|
|
BLAKE2b-256 checksum How to use checksums |
3f5abc9cfc93167c470713e9f13fa15b9fbbe43ac2eec21d97b5a972ef166290
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Release files / solun-0.0.5-py3-none-any.whl
| Download URL | solun-0.0.5-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01361c5ab3e0acbf6ea76686804d5e4f4467c0d9118b9691a2d3e32f403b1b25
|
|
BLAKE2b-256 checksum How to use checksums |
e5d314c8a4c95d168a623c9e500deef7a5dac8d7625697f946bf978ead973527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|